I
I
Igor Cherny2018-11-29 20:03:51
Java
Igor Cherny, 2018-11-29 20:03:51

Can a microservice based on REST API call another microservice based on SOAP API?

1. This is only possible if each party has a client capable of interacting with each other.
2. SOAP API is about Web Services, not about Microservices.
3. This is only possible if the Decoding-Encoding on both sides is the same
4. This is only possible if the same Decoding-Encoding library is used on both sides (for example, the JAX API has for SOAP: JAXB, and for REST: JAX-RS). But if you use different Decoding-Encoding libraries, it won't work

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
stratosmi, 2018-11-29
@stratosmi

Maybe this is not a problem at all (except for performance).
All troubles - sucked from the finger.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question