>Ok, but if there are different methods on their server, submitRealtimeRequest being one of them, your code doesn't reference that. How does it know where to get processed?
>
Some SOAP servers require it in the URL (see in the code where I have "MethodName", it could be "submitRealtimeRequest").
The SOAP message itself also has information about the message, it's routing, etc.
The way I've previously done this is, assuming the vendor has sample code in some other language, is to use the sample code to connect to their server while running something like Fiddler (an IE plug-in, just Google Fiddler). It will show exactly what was sent to the server. Then I've just written the code to make my messages look exactly the same. I know in theory all of this stuff is supposed to "just work", but in reality that hasn't been my experience (at least with Java-based servers).
If you have a WSDL link you could always take a chance that it will "just work" and fire up the Task Pane in VFP and go to the XML Web Service page and register your web service - it will generate sample code that might actually work.