
June 2nd, 2003, 06:33 PM
|
|
Junior Member
|
|
Join Date: Jun 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
PHP webservices client, XML parser, attribute values
Hi:
I am trying to use nusoap to develop client for the webservice. I am able run the client and access all tag values in xml response using array key of the result. But, I am not able to access attribute values in xml response. I can get attribute values in nusoap but I am not able to access in client.
This is where I can see all attribute values being assigned to the response array in nusoap.php
$this->message[$pos]['attrs'] = $attrs;
How I can access these values directly in client (using $result)
$result = $soapclient->call('MethodName',$param,$namespace,$soapAction);
What is the syntax to access attribute values? I tried different ways, but no results.
Any help will be really appreciated.
Thank you.
|