Blocage sipmle requête SOAP vba
Bonsoir,
Je cerche à construire une requete SOAP via VBA en utilisant la librairie SOAP Toolkit (3.0).
Je n'arrive pas à renvoyer l'information via le code ci-dessous
Code:
1 2 3 4 5 6 7 8 9 10 11
|
WebServerLocation = "http://www.mobilefish.com/services/web_service/countries.php"
Set SoapClient = CreateObject("MSSOAP.SoapClient30")
SoapClient.ClientProperty("ConnectorProgID") = "MSSOAP.WinInetConnector30"
SoapClient.mssoapinit WebServerLocation & "?wsdl"
SoapClient.ClientProperty("ServerHTTPRequest") = True
SoapClient.ConnectorProperty("ConnectTimeout") = 30000
SoapClient.ConnectorProperty("EndPointURL") = WebServerLocation
couco = SoapClient.countryInfoByIana("FR") |
Erreur VBA 450 : Nombres d'arguments incorrects ou affectation de propriété incorrecte.
La fonction sur le WSDL s'appelle countryInfoByIana (vérifiée via soapui).
Auriez vous une idée ?
Je vous remercie d'avance.
Arnaud