XML SOAP - WEBSERVICE REST

0

I wonder if it is possible to send an xml in the SOAP standard to an "endpoint" in REST? Or if the best way would be to create Webservice in SOAP to not mix the protocols?

I ask this, because we have been redoing the entire backend (JEE7) for REST, but there is a "piece" of the application, in which we receive the xml (accountability) in the SOAP standard. The company that ships the xml to consume in our application will not change the shipping pattern any time soon.

    
asked by anonymous 15.09.2017 / 00:24

1 answer

0

Yes it is possible, but you will have to adapt the return of all endpoints that respond to a request via SOAP.

There is a project that I took as a basis to guide me when I needed to do the same thing in an application. The project can be found here .

    
15.09.2017 / 04:32