Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a Web Service from behind a firewall
Message
De
14/11/2001 13:43:28
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00579797
Message ID:
00581675
Vues:
59
I tried the below 2 settings. I now get the "Unknown com status code" error immediately. Before it took about 30 seconds to get this error.

Any other ideas?

Here's my code:
loFoxCentral=Createobject("mssoap.soapclient")
loFoxCentral.mssoapinit("http://www.foxcentral.net/foxcentral.wsdl")
loFoxCentral.ConnectorProperty("ProxyServer") = 'myproxy.mycompany.com'
loFoxCentral.ConnectorProperty("ProxyPort") = 80
= MESSAGEBOX(loFoxCentral.Getproviders())

Thanks for your help,

Jerryt


>The Connector Properties are based on the specific SoapConnector implementation. See the SOAP Toolkit docs for more details. If you are getting an error with the above Connector property, you might try following instead:
>
>lo = CREATEOBJECT('mssoap.soapclient')
>lo.mssoapinit('your wsdl location')
>lo.ConnectorProperty("ProxyServer") = 'MyProxy'
>lo.ConnectorProperty("ProxyPort") = 80
>
>You would set the last 2 properties to your specific proxy server settings.
>
>Randy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform