Listing 1 The SOAP call and response in the SQL Anywhere HTTP log file. The response has been reformatted for readability.

[connid = 1, 02/11 13:13:57.822]
[connid = 1, 02/11 13:13:57.822, REQUEST]
POST /shipping/ups.asmx HTTP/1.0
Date: Mon, 11 Feb 2008 18:13:57 GMT
SOAPAction: "http://service.ecocoma.com/shipping/ups/GetUPSRate"
Host: service.ecocoma.com
Accept-Charset: windows-1252, UTF-8, *
User-Agent: SQLAnywhere/10.0.1.3619
Content-Type: text/xml; charset=windows-1252
Content-Length: 648
Connection: close

<?xml version="1.0"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:m="http://service.ecocoma.com/shipping/ups">
  <SOAP-ENV:Body>
    <m:GetUPSRate>
      <m:KeyID>SHP-M89872906F</m:KeyID>
      <m:DomainID></m:DomainID>
      <m:origPostal>60506</m:origPostal>
      <m:origCountry>US</m:origCountry>
      <m:destPostal>01776</m:destPostal>
      <m:destCountry>US</m:destCountry>
      <m:Weight>10.5</m:Weight>
      <m:Value>0</m:Value>
    </m:GetUPSRate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[connid = 1, 02/11 13:13:58.802, RESPONSE]
HTTP/1.1 200 OK
Connection: close
Date: Mon, 11 Feb 2008 18:13:56 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/xml; charset=utf-8
Content-Length: 1002

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetUPSRateResponse xmlns="http://service.ecocoma.com/shipping/ups">
<GetUPSRateResult>
<Package>
<Postage>
<Code>GND</Code>
<MailService>UPS Ground</MailService>
<Rate>9.63</Rate>
</Postage>
<Postage>
<Code>3DS</Code>
<MailService>UPS 3 Day Select</MailService>
<Rate>22.22</Rate>
</Postage>
<Postage>
<Code>2DA</Code>
<MailService>UPS 2nd Day Air</MailService>
<Rate>32.88</Rate>
</Postage>
<Postage>
<Code>1DP</Code>
<MailService>UPS Next Day Air Saver</MailService>
<Rate>71.34</Rate>
</Postage>
<Postage>
<Code>1DA</Code>
<MailService>UPS Next Day Air (by 10:30AM)</MailService>
<Rate>78.51</Rate>
</Postage>
<Postage>
<Code>1DM</Code>
<MailService>UPS Next Day Air Early A.M. (by 8:00AM)</MailService>
<Rate>112.28</Rate>
</Postage>
</Package>
</GetUPSRateResult>
</GetUPSRateResponse>
</soap:Body>
</soap:Envelope>
[connid = 1, socket closed by peer]
[connid = 1, socket closed]