What is the best way to send XML data in webservices jaxws

What is the best way to send XML data to jax-ws web services?

One of the ways I could figure it out was to convert the xml to String from the client side and send it as a String to the WebService.

I don't think this is the best way / best practice.

+3
source share
5 answers

I use serialized Java objects directly.

+1
source

The best way is to use a framework that supports web service standards. For Java, try Apache CXF or Apache Axis 2 .

0
source

XML .

, Google, .proto , xsd, , webservice - google .

0

Escape/Wrap CDATA → → webservice/remote, wsdl.

0

, XML-. ... /, .

1 good article I found on this http://java.dzone.com/articles/implementing-jax-ws-web

Hope this helps

Samant

0
source

Source: https://habr.com/ru/post/1771888/


All Articles