|
Re: Need to send multiple parameters with the same name: msg#00097php.nusoap.general
I think this is a programming/PHP issue not a nusoap issue, you will have to send an array of groups and not multiple keynames 'Group' as PHP does not allow keys to be the same, all keynames must be unique. Or simply send the array of names into a function that understands it is receiving an array of group names, these should work depending on what you are trying to achieve. $requestparams = array ('Groups' => array(array ('Name' => 'Medium'), array ('Name' => 'Request'))); $requestparams = array ('Groups' => array('Medium', 'Request')); $requestparams = array ('Medium','Request'); Hope this helps Mark ----- Original Message ----- From: "Paul Millar" <dazzle@xxxxxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, May 20, 2004 9:30 AM Subject: [Nusoap-general] Need to send multiple parameters with the same name > I'm trying to send multiple parameters with the same name but NuSoap only > sends the last one mentioned. > > --code-- > > $requestparams = array ('Group' => array ('Name' => 'Medium'), 'Group' => > array ('Name' => 'Request')); > > $result = $client->call('DoSomething', $requestparams, 'xmlns'); > > How can I set the parameters so it sends both lots of 'Group' and not just > the last one? > > thanks for any help, > > Paul > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Nusoap-general mailing list > Nusoap-general@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Need to send multiple parameters with the same name: 00097, Scott Nichol |
|---|---|
| Next by Date: | Re: Need to send multiple parameters with the same name: 00097, Scott Nichol |
| Previous by Thread: | Re: Need to send multiple parameters with the same namei: 00097, Scott Nichol |
| Next by Thread: | Re: Need to send multiple parameters with the same name: 00097, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |