>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=""
>lnText=0
>
>*** 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