Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with wwconnect
Message
From
27/05/2004 09:20:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
Problem with wwconnect
Miscellaneous
Thread ID:
00907684
Message ID:
00907684
Views:
60
Hi all,

I have a wwconnect 4.50 test executable running on our my local IIS server. The exe has a process method called: GetBills. Everything works fine. I can get results by either calling the url directly from the IE address bar or from VFP using wwHTTP.GetEx() method.

I changed the IIS web server port from the default 80 to 5050. I can still call the process directly from IE with the port redirection:
http://192.168.0.22:5050/EOSXMLServer/bin/wc.dll?XMLProcess~GetBills~&Bill=00001281 or
http://localhost:5050/EOSXMLServer/bin/wc.dll?XMLProcess~GetBills~&Bill=00001281
In the VFP program however, I cannot get it to work using the nHTTPPort redirection. Am I missing something here?
oHTTP.HTTPConnect("192.168.0.22")
oHTTP.nHTTPPort = 5050

*** Initialize the variables that will be filled by HTTPGetEx
lcHTML=""     && Data buffer 
lnText=0      && Size of the output to return - 0 means autosize

*** Send the POST data and retrieve HTTP result
lnResult =oHTTP.HTTPGetEx("/EOSXMLServer/bin/wc.dll?XMLProcess~GetBills~&FromDate=11/05/2003",@lcHTML,@lnText)
Any help is appreciated.
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform