Re: Atrributes and NuSOAP
| From: | Richard Lynch | Date: | Fri, 24 Mar 2006 00:50:09 +0000 |
| Subject: | Re: Atrributes and NuSOAP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232488@lists.php.net to get a copy of this message | ||
Save yourself a ton of grief and upgrade to PHP5 + SOAP... :-^
On Thu, March 23, 2006 1:23 am, Peter Lauri wrote:
> Hi,
>
> I have been trying to find a simple example of how to add attributes
> to the
> requests, but after two days search I can not find an example. The
> $param is
> easy to create if it does not contain any attributes. This is what I
> want to
> create, but the internalId is giving me troubles:
>
> -------------------
> <soap:Body>
> <platformMsgs:login>
> <platformMsgs:passport>
> <platformCore:email>eblack@yahoo.com</platformCore:email>
> <platformCore:password>Cracker1</platformCore:password>
> <platformCore:account>111111</platformCore:account>
> <platformCore:role internalId="3"/>
> </platformMsgs:passport>
> </platformMsgs:login>
> </soap:Body>
> -------------------
>
> So I started:
> $param = array(
> 'passport'=>array(
> 'email'=>'eblack@yahoo.com',
> 'password'=>'Cracker1',
> 'account'=>'1111111',
> //But here I have no clue what to write
> )
> );
>
> Maybe the reason is that you can not do that with NuSOAP, but I am a
> newbie
> so I have no clue.
>
> Best regards,
> Peter Lauri
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Like Music?
http://l-i-e.com/artists.htm