4.1.2 SOAP Request with SOAPAction Header
This example shows a request that specifies the SOAPAction header.
-
POST /SqlBatch HTTP/1.1 Host: testServer Content-Type:application/xml SOAPAction: "http://schemas.microsoft.com/sqlserver/2004/SOAPsqlbatch" <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sql="http://schemas.microsoft.com/sqlserver/2004/SOAP"> <SOAP-ENV:Body> <sql:sqlbatch> <sql:BatchCommands> SELECT @@version </sql:BatchCommands> </sql:sqlbatch> </SOAP-ENV:Body> </SOAP-ENV:Envelope>