Hello,
i´m trying to consume a .net webservice from php as fallow:
$client = new SoapClient('http://localhost:1105/Web Service
.Net/Service.asmx?WSDL');
print_r($client->HelloWorld());
and the result is:
stdClass Object
(
[HelloWorldResult] => Hello World
)
The call works as expected, the problem is the result, the
$client->HelloWorld() returns a string in .net but in php is a stdClass with
a HelloWorldResult attribute.
I'm not sure of what to ask but something does not looks right here, i think
i should get a string back from .net and not a class except for complex
types.
Do i have to write something like this
$client->HelloWorld()->HelloWorldResult for every method for the web service
to get the actual result?
Uacaman