Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with wwconnect
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00907684
Message ID:
00907746
Views:
19
This message has been marked as the solution to the initial question of the thread.
>Hi all,

Just a shot:

Dont you have to set the port BEFORE calling the connect method?


>
>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.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform