Please Help me on Nested Complex structures
| From: | Pothapragada Siddartha | Date: | Tue, 01 Jun 2004 13:10:22 +0000 |
| Subject: | Please Help me on Nested Complex structures | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1550@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.I have also seen
example_server.php and server.php.
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 am getting stuck at various points
i) How would a client send a complex structure while making a call to
the service(as shown below..Nested Structures)
ii)Then how would the typedef & typedef change , since i need a
structure within a structure
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 anyone can help me out ,
Thanks a Lot ,
Siddarth.