Using jboss5.1.0-GA and jbossws3.1.2.GA
I have a soap hander that I have created that I need to get values from the Soap message and validate against. However when I call the
getTextContent() method on any element of the soap I getthe exception
I have worked around and seen other posts with the error with no response, I assume that a later release the functionality was implemented but I cannot change the version
of the stack. Is there a way from the SOAPMessage that I can get the text elements without this method? If not what version was the functionality implemeneted.
This allows me the string to the entire soap message, which I can do. But what I need is some way to gain access to the individual tags within the SOAPBody element and validate
based upon certain criteria( to be exact xml tags to avoid xml injection... yes its crazy). Is there a version that allows this function, or is there a way to gain access to the elements within the document?
|Retrieving data ...|