on-internet
← Community

javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: unexpected element (uri:"", local:"fault") after migrating from AXIS to CXF

Stack Overflow ·

The Problem I am trying to migrate my web service client from Apache AXIS-1 to Apache CXF. The web service itself runs om AXIS-1 and is out of my control. I generated all the CXF artifacts and the client has been working well until any fault is thrown by the service. The faulty XML looks like: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Remote error processing component card request</faultstring> <detail> <fault> <faultcode>:-303</faultcode>

Comments

Sign in or sign up to comment and upvote.

No comments yet.