Sign in to follow this  
Followers 0
IBACK

PHP SOAP : error with __soapCall

1 post in this topic

Hello, my config is : windows server 2008 R2, WAMPP, PHP 5.3.0 with SOAP extension enabled. when i use __soapCall, i obtain this error on screen : Wrong Version this is the code (i use local copy of WSDL - service.xml) :

$header = new SoapHeader("...."); $file = 'http://www.mysite/service.xml';try {$soapclient = new SoapClient(null, array( 'location' => $file, 'uri' => "http://www.mysite/", 'trace' => 1));$soapclient->__setSOAPHeaders(array($header));} catch (SoapFault $e) { // error }...$parameters = array(...); $params=array(null,			new SoapParam($parameters, 'parameters'));$services = $soapclient->__soapCall("myWebService", $params);

if you have a idea ? the call of __soapCall is it correct ? problem with SOAP and windows server 2008 ? problem with version of DLL ? .... Thanks you in advance, FM

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0