>2. The UPS documentation says the UPS system wants to receive two concatenated XML documents. The first is an access request with the access code-user-pass info. The second is the actual rate request document. If I build the XML documents myself, is there any way I can initialize the service and send the file with the documents? The UPS documentation suggested this Visual Studio (Visual Basic) formulation:
>
>
>' create the object that manages the communication
>Dim oXMLHttp As XMLHTTP
>Set oXMLHttp = New XMLHTTP
>' prepare the HTTP POST request
>oXMLHttp.open "POST", "https://www.server.com/path", False
>oXMLHttp.setRequestHeader "Content-Type", _
>"application/x-www-form-urlencoded"
>' send the request
>oXMLHttp.send requestString
>' server's response will be available in oXMLHttp.responseXML
>
>
>Anything analogous in VFP? Thanks for your trouble.
You've to change a line that creates XMLHTTP object. The rest of code requires only minimal adjustment
oXMLHttp = CREATEOBJECT("Microsoft.xmlhttp")
...
--sb--