Re: [請益] nusoap 發送 ComplexType 給 soapserver
我找到答案了
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
討論串 (同標題文章)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章