faultCode argument for createFault was passed NULL -with Metro 2.3
posted 1 year ago
I am using Metro 2.3 and invoking webservice request using JAX-WS. As part of the one of the flow, we are getting faultResponse, but while handling that I am getting the below exception
From tcpdump, this is the response we are getting back,
I went through the forums and suspect this could be some namesapce issue. So. I just simulated the response from SOAP UI for different combinations and the below response works fine. The system is able to parse it properly and displayed the error response.
Basically I removed, "SOAP-ENV" from "faultcode" and "faultstring" xml tags. I am new to this XML part and finding it difficult what is really the problem here. I have even went through this link reg. faultResponse spec. http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510. But still I am not very clear as I am new to this. This reponse comes to me from a 3rd party system. Is it that the reponse is not complaint to the standards ? Could you please help me to find the reason for this behavior ?