Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Creating Object Correctly
Message
De
18/02/2005 05:08:27
 
 
À
17/02/2005 07:38:16
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00985142
Message ID:
00988246
Vues:
73
Hi,

Sorry for the delay.

>>Any suggestions ?

I looked back thru the thread. In Message ID:985287 you said:

>>
I am using this code to link through to a remote web server and it appears to work fine with no errors.

loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")
loRegisterCustomer = loWSHandler.SetupClient("http://172.26.248.101:8081/3connect/services/RegisterCustomerV1?wsdl", "RegistrationCustomerService", "RegisterCustomer")

but when I look at loRegisterCustomer it does not have the expected methods, it has some but I don't know where they have come from (ClientProperty, ConnectorProperty, Detail, FaultActor, FaultCode, FaultCodeNameSequence, FaultString, HeaderHandler, MSSoapInit, MSSoapInit2)
>>

I finally did what I should have done before - stepped the code in _w3client.
If an error occurs in loWsHandler.SetupClient() then it returns an empty string (odd choice - the older _webservices6 returned .NULL. but still..) - so if, as you stated, loWsHandler is an object then that implies there was no actual problem in the first place. Also the loRegisterCustomer object won't have more properties than you saw. What subsequent code didn't behave as expected ..

Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform