Pls Help Me..
| From: | Pothapragada Siddartha | Date: | Mon, 31 May 2004 20:20:12 +0000 |
| Subject: | Pls Help Me.. | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1549@lists.php.net to get a copy of this message | ||
Hello all,
I am newbie..and if i sound stupid, excuse me
I have downloaded PEAR SOAP and started going through the
tutorials available on net.Then i started to see various examples
provided in SOAP/example.
We have a requirement to pass a very Complex structure.
Then I tried to implement your wsdl_client.php, but the STRUCTURE
VARIABLES are not being printed on the browser.Could you please help me
in this regard.I have also seen example_server.php and server.php.
In short, i am talking about echoStruct().
The O/P of the example is as follows:-
this is a test string
this is a test string
Quotient is 3.1428571428571
Error: You cannot divide by zero
soapstruct Object([varString] => [varInt] => 0 [varFloat] => 0)
varString: ????
varInt: 0 ????
varFloat: 0 ????
Also one more query.I need to pass say ,structure B in another structure
A and then pass structure A in my function call...how would this affect
the entire scenario??(i mean, the way client should send this Struct A,
and the way typedef and dispatch_map changes in server)
I need like this,
<MyExample> (stuct A)
<MyName>XYZ</MyName> {
<MyAddr> (struct B)
<HNO>###</HNO> {
<CITY>ABC</CITY> }
</MyAddr>
</MyExample> }
I will be really obliged if you can help me out ,
Thanks a Lot ,
Siddarth.