PHP SoapClient parameter issues

Source: Internet
Author: User
Use SOAPUI software tests to transfer success. Using the PHP soapclient parameter can not pass, help to see how to call the Transdiyorderinfotogvs function how to pass the argument
Wsdl
Array (1) {  [0]=>  string (transdiyorderinfotogvsresponse) "Transdiyorderinfotogvs ( Transdiyorderinfotogvs $parameters) "}nullarray (    [0] = struct Transdiyorderinfotogvs {Zpp_gxh_diytogvs in;}    [1] = = struct Transdiyorderinfotogvsresponse {outtype out;}    [2] = struct Zpp_gxh_diytogvs {string snnum; string wdnum; string Fmatnr; string rmatnr; decimal number_sl; string NA ME; String ADRESS; String PHONE; String cpdl;}    [3] = struct Outtype {string FLAG; string MESSAGE;})


Reply to discussion (solution)

$ parameter = Array (  ' in ' = = Array (;    ') Snnum ' + ', ' wdnum ' + ', ' fmatnr ' + ', ' rmatnr ' + ', '    number_sl ' = '    ,    ' NAME ' = = ' ', ' ADRESS ' = ', ' + ', ' PHONE ' = ' ', '    cpdl ' = ', ', ')  ;
When called
$ client Instance->transdiyorderinfotogvs ($ parameter);
Or
$ client Instance->__call (' Transdiyorderinfotogvs ', array ($ parameter));
Or
$ client Instance->__soapcall (' Transdiyorderinfotogvs ', array ($ parameter));

$ parameter = Array (  ' in ' = = Array (;    ') Snnum ' + ', ' wdnum ' + ', ' fmatnr ' + ', ' rmatnr ' + ', '    number_sl ' = '    ,    ' NAME ' = = ' ', ' ADRESS ' = ', ' + ', ' PHONE ' = ' ', '    cpdl ' = ', ', ')  ;
When called
$ client Instance->transdiyorderinfotogvs ($ parameter);
Or
$ client Instance->__call (' Transdiyorderinfotogvs ', array ($ parameter));
Or
$ client Instance->__soapcall (' Transdiyorderinfotogvs ', array ($ parameter));



Thanks, you can.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.