Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This example shows a sample SOAP fault response.
-
HTTP/1.1 500 Internal Server Error Transfer-Encoding: chunked Content-Type: text/xml; charset=utf-8 <SOAP-ENV:Envelope xml:space="preserve" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sql="http://schemas.microsoft.com/sqlserver/2004/SOAP" xmlns:sqlsoaptypes="http://schemas.microsoft.com/sqlserver/ 2004/SOAP/types" xmlns:sqlrowcount="http://schemas.microsoft.com/sqlserver/ 2004/SOAP/types/SqlRowCount" xmlns:sqlmessage="http://schemas.microsoft.com/sqlserver/ 2004/SOAP/types/SqlMessage" xmlns:sqlresultstream="http://schemas.microsoft.com/sqlserver/ 2004/SOAP/types/SqlResultStream" xmlns:sqltransaction="http://schemas.microsoft.com/sqlserver/ 2004/SOAP/types/SqlTransaction" xmlns:sqltypes="http://schemas.microsoft.com/ sqlserver/2004/sqltypes" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <SOAP-ENV:Body> <SOAP-ENV:Fault xmlns:sqlsoapfaultcode="http://schemas.microsoft.com/ sqlserver/2004/SOAP/SqlSoapFaultCode"> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>There was an error in the incoming SOAP request packet: Client, SoapHeader, SessionIdIsInvalid</faultstring> <faultactor>http://schemas.microsoft.com/sqlserver/ 2004/SOAP</faultactor> <detail xmlns:SOAP-1_2-ENV="http://www.w3.org/ 2003/05/soap-envelope"> <SOAP-1_2-ENV:Code> <SOAP-1_2-ENV:Value>SOAP-1_2-ENV:Sender </SOAP-1_2-ENV:Value> <SOAP-1_2-ENV:Subcode> <SOAP-1_2- ENV:Value>sqlsoapfaultcode:SoapHeader</SOAP-1_2-ENV:Value> <SOAP-1_2-ENV:Subcode> <SOAP-1_2- ENV:Value>sqlsoapfaultcode:SessionIdIsInvalid</SOAP-1_2-ENV:Value> </SOAP-1_2-ENV:Subcode> </SOAP-1_2-ENV:Subcode> </SOAP-1_2-ENV:Code> <SOAP-1_2-ENV:Reason> <SOAP-1_2-ENV:Text xml:lang="en-US">There was an error in the incoming SOAP request packet: Sender, SoapHeader, SessionIdIsInvalid</SOAP-1_2-ENV:Text> </SOAP-1_2-ENV:Reason> <SOAP-1_2-ENV:Node>http://server/endpointuri/ </SOAP-1_2-ENV:Node> <SOAP-1_2- ENV:Role>http://schemas.microsoft.com/sqlserver/2004/SOAP</SOAP- 1_2-ENV:Role> <SOAP-1_2-ENV:Detail> </SOAP-1_2-ENV:Detail> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>