POST /smsapi/services/SMSAPI/r06_03/DirectoryNumberService HTTP/1.0
User-Agent: PEAR-SOAP 0.11.0-beta
Host: example.com
Content-Type: text/xml; charset=UTF-8
Content-Length: 1281
SOAPAction: ""
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<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:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="http:///www.example.com/sms/smsapi/r06_03/model"
xmlns:ns5="http://www.example.com/sms/smsapi/r06_03/DirectoryNumberService"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<USER xsi:type="xsd:string" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0">myusername</USER>
<PASSWORD xsi:type="xsd:string" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0">mypassword</PASSWORD>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns5:getDirectoryNumber>
<in0 xsi:type="ns4:DirectoryNumberKey">
<countryCode xsi:type="xsd:string">1</countryCode>
<number xsi:type="xsd:string">123456789</number>
<ns4:businessGroup type="ns4:BusinessGroupKey">
<internalId xsi:type="xsd:string">12345</internalId></ns4:businessGroup></in0></ns5:getDirectoryNumber>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>