Duplicate XML tags

Help
moldan
2011-03-07
2013-09-27
  • moldan

    moldan - 2011-03-07

    How can I duplicate XML tags when I'm trying to create the soap request?

    I'm trying to do something like this:

    $dataSoap = array("data1" => 'xxx',
    "data2" => 'xxxx',
    "data3"=> array("info" =>array(
    'data_info' =>array(
       "info_data1"=>'xxxx',
       "info_data2"=>'xxx'),
       
                                                             'data_info'=>array(
                                                                                             "info_data1"=>'xxxx',
                                                                                            "info_data2"=>'xxx')   ))
      );

    In order to obtain this request:


    <data 3>
      <info>
        <data_info>
          <info_data1>…</info_data1>
          <info_data2>…</info_data2>
        </data_info>
        <data_info>
          <info_data1>…</info_data1>
          <info_data2>…</info_data2>
        </data_info>
      </info>

    But unfortunately Nusoap doesn't repeat the 'data_info' tag

    How can I do that?

    Thanks in advance

     
  • kermit

    kermit - 2011-05-25

    Hi,
    have you fond a solution?

    I got the same problem.

    bye

     
    • Alex

      Alex - 2013-09-27

      Me too! Anyone?

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks