Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Instantiating object method
Message
 
À
02/04/2002 05:17:57
Steven Edge
Soft Solutions Limited
Lagos, Nigéria
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00639832
Message ID:
00639902
Vues:
22
Are you behind a firewall? If so, that could be the problem. A couple of months ago there was a thread in here indicating some of the properties that you need to set to call web services when you are behind a firewall. I believe the properties were proxy and proxyport but I am not completely sure.


>Hi.
>
>I just started with webservices. Following the examples in "What's new in Visual FoxPro 7" everything works well until I call a method.
>
>E.g.:
>LOCAL oTest AS Test Web Service 2
>LOCAL loWS
>loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
>loWS.cWSName = "Test Web Service 2"
>oTest = loWS.SetupClient("http://gmtikys01/test2.wsdl", "Test2", "TestSoapPort")
>?oTest.wstest("Hello")
>
>On the last line when I try to call a method, I get:
>
>"OLE Idispatch exeption code 0 from ENV Server: WSDL Operation: Instantiating the dispatch object method wsTest failed."
>
>If I call it as a COM object, I have no problem at all.
>
>I tried with the premade samples and samples I created myself. I tried on different machines. I am always getting the same result. Anyone has an idea what I am doing wrong?
>
>I'd appreciate some help.
>
>Steven
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform