I'm trying to implement a callback handler in JAAS which uses SOAP to get the user details from a site written in Perl. The SOAP client is comfortably reading the message coming back from the server but I've run aground slightly on try to bind the xml back to a Java opject (in this case username) so that JAAS can take the name and do the processing.
To start with am I better off using JAXB (presumably unmarshall to go from XML to Java) or am I currently barking up the wrong tree? If so, I'd be grateful for some pointers in the right direction
If you just want one or two items out of the entire envelope then using JAXB may be taking a howitzer on a sparrow hunt. You may be better off by using XPath to extract the pieces of information that you need from the response.