What is the least painful way to use SOAP web services in Java

In most projects, we seem to be making some kind of consumption of SOAP web services. And each time it seems that he repeatedly hits the head with a brick. For example, we get:

  • Dozens of classes that our developers barely understand.
  • Awkward API (especially when using .NET web services).
  • It’s hacking into what we usually generate from a local WSDL file (a remote service rarely exists at the start of development).

In Python, I used Suds (https://fedorahosted.org/suds), which provides a truly natural (but obviously less secure type) API. I know this is a comparison of apples and oranges, but there is a less painful way to call a remote web service than to generate so much code.

Most likely, we will use this in the Play structure, although, if possible, I will like something in common. We also use Spring a lot, although I am currently looking at Guice for a simpler alternative.

Martin

+6
java soap web-services
source share
2 answers

I had a good experience using assembler axes2. Any point against these?

(forgot the link: http://axis.apache.org/axis2/java/core/ )

+1
source share

Check out Apache CXF (http://www.coderanch.com/t/224490/Web-Services/java/Axis-Vs-CXF). It is very easy to use.

+1
source share

All Articles