MultiSubmitXml

MultiSubmitXml provides the same functionality as SubmitXml, except that it takes multiple XML requests. MultiSubmitXml takes a Host Access Profile (HAP), multiple XML requests, and a filter. In MultiSubmitXml, the filter parameters are stated within the XML request. Refer to the sample of MultiSubmitXml for an example of a request.

MultiSubmitXml allows users to send multiple, sessionless structured data transactions within a single web service call. The following restrictions apply:

If you are submitting multiple XML requests, use MultiSubmitXml rather than multiple SubmitXml requests. MultiSubmitXml returns the same response, but uses the server resources more efficiently and has better performance. Also, Galileo Web Services servers can handle a limited number of HTTP requests; therefore, using MultiSubmitXml rather than multiple SubmitXml requests increases the effective capacity of these servers.

Note: To indicate special characters in a request or response, refer to the Special Characters Table.

SOAP Sample

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

Request

POST /XMLSelect/XMLSelect.asmx HTTP/1.1

Host: testws.galileo.com

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://webservices.galileo.com/MultiSubmitXml"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <MultiSubmitXml xmlns="http://webservices.galileo.com">

      <Profile>string</Profile>

      <Requests>xml</Requests>

    </MultiSubmitXml>

  </soap:Body>

</soap:Envelope>

Response

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: length

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <MultiSubmitXmlResponse xmlns="http://webservices.galileo.com">

      <Responses>xml</Responses>

    </MultiSubmitXmlResponse>

  </soap:Body>

</soap:Envelope>