Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLHTTP
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00433454
Message ID:
00433861
Views:
25
>>What are you doing with the data that comes back?

If my memory servers me correctly, in the browser example I was experiementing with I was returning an XML string from the COM server via the responseText property, then loading it into the XMLDOM on the client where I bound it to the XMLDSO. It worked real well. That was a long time ago and unfortuneately I have lost the sample code.

Today I was experiementing with something similiar except with a VFP client. The only real difference is this time, I was manually creating a SOAP envelope instead of an XML string with the method name and parms as elements. Problem is, nothing happens when I run the program. I tried using the script debugger, but I don't think the script is being run.

*- Fox Client
oXMLHTTP = CREATEOBJECT('Microsoft.XMLHTTP')
oXMLHTTP.OPEN('Post', 'http://fineblumcb/web/listener.asp', .F.)
oXMLHTTP.SetRequestHeader('SOAPAction', 'VFPserver.oRequest')
oXMLHTTP.SetRequestHeader('Content-Type', 'text/xml')
oXMLHTTP.SEND(BuildSOAPEnvelope())

*- ASP
*- Just enough to see if COM server instanitates
cSOAPAction = Request.ServerVariables("HTTP_SOAPAction")
Set oVFP = Server.CreateObject(cSOAPAction)

Thanx,
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform