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>[EMAIL PROTECTED]</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'=>'[EMAIL PROTECTED]',
    '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

Reply via email to