I am creating a .net wcf client for java ws. But when I make a request, and the response contains an error, it also contains a multiRef section . So I get this exception:
Server returned an invalid SOAP Fault.
End element 'Body' from namespace 'http://schemas.xmlsoap.org/soap/envelope expected. Found element 'multiRef' from namespace ''
This is what the response from the server looks like (taken directly from the network).
<soapenv:Envelope>
<soapenv:Header/>
<soapenv:Body>
<soapenv:Fault>...</soapenv:Fault>
<multiRef>...</multiRef>
</soapenv:Body>
</soapenv:Envelope>
Is there a way to configure my wcf client to deserialize this message? Or the ability to get a raw xml response?
source
share