Re: how to correctly invoke webservice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christian Wenz wrote:


Juan Nin wrote:

$reply = $client->myFunction(string1 ,string2);


you certainly mean $string1 and $string2, do you?

sorry, that was a typo on my e-mail, it should be $string1 and $string2

so this is the code which doesn't work:


<?

require_once 'SOAP/Client.php';

$wsdl    = new
SOAP_WSDL('http://www.mydomain.com/mywebservice.asmx?WSDL');

$client = $wsdl->getProxy();

$string1 = 'someString';
$string2 = 'someOtherString';

$reply = $client->myFunction($string1, $string2);

?>

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux