I am trying to connect to a REST service using Restlet.
The service uses
SOAP messages defined by a WSDL as the requests and responses.
I have used JAXB to create classes based on the WSDL.
What I cannot work out how get at the SOAP XML
string.
My sample code is below, I can connect to the service as I successfully receive a challenge (which I need to write a custom authentication helper for...)
Maybe JAXB is not the right thing to be using?
Would something other than Restlet be better? I was using it as it seemed to allow me to define my own code to handle the authentication challenge.