Atrributes and NuSOAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx</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@xxxxxxxxx',
    '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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux