Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not Creating Object Correctly
Message
From
10/02/2005 08:02:52
 
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00985142
Message ID:
00985502
Views:
25
Got a bit more information but still not got it working yet.

It appears the web service has registered okay because when I go into the task pane and view the web service, all the expected services are there, I'm assuming this means that it has got the wsdl and interpretted it okay. (By the way, another issue is that we are still working in VFP7 here and it won't register at all in that but will register okay in VFP8)

I get an error message when I execute
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")

The error message displayed is
Error 1429 - OLE IDispacth exception code 0 from connector:Connnector:Connection time out. HRESULT=0x800A1527 - client:An unanticipatederror occurred during the processing of this request. HRESULT=0x800A1527 - Client:Sending the Soap message failed or no recognizable reponse was received. HRESULT=0x800A1527 - Client:Unspecified client error.

I think the 'SetupClient' is failing and loRegisterCustomer is returning a default object to store the error which explains why it hasn't got the expected methods. When I investigated the contents of this object I found
.Detail contained the above error message
.FaultCode contained 'Client'
.FaultString contained Connector:Connection time out

Seem to be getting more information about the problem so hoping it might lead to solving it.

Let me know if you have any ideas.

Thanks again

Sue
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform