Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not Creating Object Correctly
Message
From
18/02/2005 05:08:27
 
 
To
17/02/2005 07:38:16
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00985142
Message ID:
00988246
Views:
62
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform