作者iwhiori (玉米)
看板PHP
标题Re: [请益] nusoap 发送 ComplexType 给 soapserver
时间Thu Jan 5 19:08:33 2012
我找到答案了
25 $param1 = new stdClass();
26 $param1->User_Name = 'SSD_WS_01';
27 $param1->Password = 'SSD_WS_01';
28
29 $result = $client->call('QueryTestCategory', array('LGI' => $param1,
'searchTag' => '' ), '', '', false, true);
http://goo.gl/h7FIy
※ 引述《iwhiori (玉米)》之铭言:
: http://stackoverflow.com/questions/8737234/how-php-nusoap-client-transfer-complextype-to-net-soap-server
: 缩:http://goo.gl/h7FIy
: 我想要使用 nusoap 向 soap server 呼叫 QueryTestCategory
: 里面有 User_Name, Password 参数 string 型态
: 还有 LGI 参数,看起来是 soap server 自订的型态 LoginInfo
: 然後 struct LoginInfo { string User_Name; string Password; }
: 那这样我该如何设定送给 QueryTestCategory 的参数?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.87.64.222