I am trying to use a WCF SOAP service. I am able to successfully call functions 
and receive data back, but am unable to pass values in. We're using SOAP 1.1.

This…

$client = new SoapClient('http://example.local/path/to/service.svc?wsdl');
var_dump($client->__getFunctions());


…successfully gives me all the available functions.

This…

$client = new SoapClient('http://example.local/path/to/service.svc?wsdl');
$results = $client->HelloWorld();


…successfully returns "hello world."

But this…

$client = new SoapClient('http://example.local/path/to/service.svc?wsdl');
$args = array("ted");
$results = $client->HelloWorldWithInput($params);


…returns an error because the function sees the value I passed as null or 
empty. It should have turned "hello world ted."


Any ideas why the service isn't receiving my value?

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to