I have been trying to fix this error, but I have run out of ideas. I am calling a SOAP webservice with my own WCF service, but I get the following CommunicationException:
Server returned an invalid SOAP Fault. Please see InnerException for more details.
And inner (XmlException):
Unbound prefix used in qualified name 'soapenv:Server'.
So to understand it better I used SOAP UI to see the response I get which is the following:
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pbs="REDACTED" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>REDACTED</faultstring>
<detail>
REDACTED
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
As far as I can tell, it has something to do with the faultcode, but I am not entirely sure what it is. I do know I expected a FaultException and not a Communication Exception. There are some information in the detail of the error I would like to react on, but this Exception hides the information from me.
Edit:
This is the request they are receiving on the host (sent from my webservice):
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<setREDACTED xmlns="REDACTED" >
<infotag>info</infotag>
</setREDACTED>
</s:Body>
</s:Envelope>
This it the one i send from SOAPUI:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pbs="REDACTED" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<pbs:setREDACTED>
<infotag>info<infotag>
</pbs:setREDACTED>
</soapenv:Body>
</soapenv:Envelope>