Re: [請益] nusoap 發送 ComplexType 給 soapserver

看板PHP作者 (玉米)時間14年前 (2012/01/05 19:08), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
我找到答案了 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
文章代碼(AID): #1F1OIqf1 (PHP)
文章代碼(AID): #1F1OIqf1 (PHP)