Java SOAP - Best Practice
Given a WSDL, and wanting to develop a Java Client. Does anyone know what is the best technique. I've tried usine jax-ws but that does not give access to the header - only the business methods.
I've take a look at using Jaxb, but that only converts to and from java beans, xsds and xml. It dosn't give any accesss to transport mechanisms etc. Also it results in really horrible code (bit like trying to create an HTML page by using HtmlUnit!).
Is SOAP the worst technology ever invented for getting computers to talk to each other in a distributed heterogeneous, when the've been doing this for years using text over HTTP - (oops! did I mension REST).
Anyway, any help on the soap question would be great before I throw my computer out the window!