LOL :-)

On 11/11/11 18:23, Daniel Kulp wrote:
On Friday, November 11, 2011 5:18:35 PM Sergey Beryozkin wrote:
You should probably use JAXWS Dispatch<Source>  client assuming the
target endpoint is a soap endpoint, you should find some hints here:

Wow...   I honestly didn't expect *you* to suggest this.   ;-)

Seriously, from the description, this sounds more like a REST like service,
not SOAP.    You basically have an XML Schema representing the data you want
to post to the given URL and possibly get a response back via XML.   No SOAP,
or did I miss something?

To me, this sounds like you should run xjc (jaxb compiler, part of Java6) on
the schema to generate some objects and then use the CXF JAX-RS WebClient to
post the objects to the server and get the response objects back.


So, we have the REST guy suggesting SOAP and a SOAP guy suggesting REST.
Confused yet?    ;-)


It is me being over-cautious with not alienating SOAP users :-), so I guess this is where a ref to JAXWS Dispatch<Source> came from which can do a bit of REST too :-)

Cheers, Sergey



Dan


Reply via email to