- Contents
SOAP Notifier COM API Developer's Guide
HTTP Transport
Request (Transport Info)
The following schema describes the transport information for the HTTP transport. The HTTP element is the child element of the TransportInfo element generated by the ISAPI Listener.
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="HTTP" type="HTTP"/>
<xsd:complexType name="HTTP">
<xsd:sequence>
<xsd:element name="Headers" type="Headers" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="method" type="xsd:string" use="required"/>
<xsd:attribute name="url" type="xsd:string" use="required"/>
<xsd:attribute name="pathInfo" type="xsd:string" use="required"/>
<xsd:attribute name="queryString" type="xsd:string" use="required"/>
<xsd:attribute name="remoteAddr" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="Headers">
<xsd:element name="Header" type="Header" minOccurs="0" maxOccurs="unbounded"/>
</xsd:complexType>
<xsd:complexType name="Header">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
HTTP Element Attributes
The attributes of the HTTP entry have the following meaning:
method
The HTTP method with which the request was made. In our case usually POST. This is equivalent to the value of the CGI variable REQUEST_METHOD.
url
Designates the base portion of the URL. Parameter values are not included (see pathInfo and queryString).
pathInfo
Contains the additional path information given by the client. This consists of the trailing part of the URL after the ISAPI DLL name, but before the query string, if any. Corresponds to the CGI variable PATH_INFO.
queryString
Contains the information that follows the first question mark in the URL Corresponds to the CGI variable QUERY_STRING.
remoteAddr
Contains the IP address of the client or agent of the client (for example gateway, proxy, or firewall) that sent the request. Corresponds to the CGI variable REMOTE_ADDR.
Request Transport Example
The following is a sample Transport Info structure adhering to the above schemas:
<TransportInfo name="HTTP">
<HTTP method="POST" url="/soapendpoint/I3SOAPISAPIAD.DLL" pathInfo=""
queryString="" remoteAddr="127.0.0.1">
<Headers>
<Header name="Host">localhost</Header>
<Header name="Content-Type">text/xml</Header>
<Header name="Content-Length">1234</Header>
<Header name="SOAPAction">"uri:my-soap-request#MyMethod"</Header>
</Headers>
</HTTP>
</TransportInfo>