php soap - send request for multidimensional array -


first up, i'm trying send soap request using php soap , xml service accepts shown below.

<u_memberreservedtransaction xmlns="http://tempuri.org/">   <userid>string</userid>   <password>string</password>   <memberreservedtransactionrequest>     <memberreservedtransactions>       <reservedtype>string</reservedtype>       <firstname>string</firstname>       <surname>string</surname>       <icnew>string</icnew>     </memberreservedtransactions>     <memberreservedtransactions>       <reservedtype>string</reservedtype>       <firstname>string</firstname>       <surname>string</surname>       <icnew>string</icnew>     </memberreservedtransactions>   </memberreservedtransactionrequest> </u_memberreservedtransaction> 

just summarize service expecting, service receive array of memberreservedtransactions. soap request call looks below currently.

$client->callservice('u_memberreservedtransaction', array(     'userid'=>'test1',     'password'=>'password',     'memberreservedtransactionrequest' => array(      'memberreservedtransaction' => array (      array(          'reservedtype'=>'renew',          'firstname'=>'',                  'surname'=>'',         'icnew'=>''             )          )      ) 

));

as i'm expecting in return multidimensional array concern getting request accepted.

note : i'm getting 500 internal server error

please :<


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -