Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Creating Object Correctly
Message
De
12/02/2005 09:11:04
 
 
À
11/02/2005 10:25:50
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:
00986270
Vues:
34
Hi,
>>
THIS.wsObject = CREATEOBJECT(SOAPCLIENT_CLASS)
THIS.SetClientProperties()
THIS.wsObject.SOAPCLIENT_INIT(THIS.WSDL, THIS.Service, THIS.Port, THIS.WSML)
THIS.SetConnectorProperties()
This.wsObject is created as an object but it doesn’t have a method of SOAPCLIENT so the 3rd line obviously is not working but it doesn’t create an error.
>>

Unless you've added code to .SetClientProperties() and .SetConnectorProperties() these methods do nothing.
SOAPCLIENT_INIT is defined in _ws3.h as MSSoapInit - which is a valid method.

So the error occurs in the execution of:
THIS.wsObject.SOAPCLIENT_INIT(THIS.WSDL, THIS.Service, THIS.Port, THIS.WSML)
and is either because one of the parameters passed in .SetUpClient() is incorrect or MSSOAP simply can't handle the return.

Are you SURE that the service and port parameters are correct ?
Can you post the WSDL content? Have you tried PocketSoap instead?

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

Click here to load this message in the networking platform