I have a web-service deployed on Tomee plus 1.7.1 which works normally when
third-party client SOAP request payload is a well-formed xml. However
sometimes client does requests containing malformed xml, to be more
specifically I guess some html tags sometimes are missing.
I tried to implement @WebServiceProvider to get control over the raw request
data but the problem persisted, which means that I saw an exception in
catalina.log when I tried to send malformed xml payload myself:

org.apache.cxf.binding.soap.SoapFault: Problems creating SAAJ object model
...some line pointers go here...
Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag
</soap:Value>; expected </sdw>.
 at javax.xml.stream.SerializableLocation@f6f0b90f
As I understand this occurs before @WebServiceProvider gets involved.
Therefore I need to parse the incoming request.

Is it possible to get control over raw SOAP request before it is serialized
to XML by Tomee automatically?



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Parse-SOAP-request-manually-tp4675503.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to