RE: [PEAR] Requesting a webservice...
| From: | Dennis T. | Date: | Wed, 10 Dec 2003 21:29:20 +0000 |
| Subject: | RE: [PEAR] Requesting a webservice... | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9463@lists.php.net to get a copy of this message | ||
Mike Carter wrote:
> My suggestion would be something along the lines of an object containing
> the details of a single location (stretname, town, county etc.). Then add
> this single location object ($locationObj) to the master $address array
> using:
>
> $address[] = new SOAP_Value("{<enteryourWSnamespacehere>}Location", false,
> $locationObj);
I have tried almost every combination objects, arrays and creative thinking,
but it just doesn't seem to be posible to produce the correct xml. Are
there any examples out there on how to construct some xml via the
PEAR::SOAP, where there are repeating elements in the client call?
Something like this...
<element1>
<element2>
<element3>data1</elemenent3>
</element2>
<element2>
<element3>data2</elemenent3>
</element2>
</element1>
All I have found on google just shows some very simple request to google or
amazon etc... :-(
Also - is there a way to output the constructed xml which are sent to the
server (i do not have access to the server)?