KSOAP 一問

本帖最後由 luckiejacky 於 2015-3-7 16:23 編輯

想問問如果我的WCF Service放在
http://192.168.x.x/RCS_Approvals/Service1.svc
內有
namespace: _1_00
class: IGetApprovals
method: GetApprovals
這麼我的Ksoap url, namespace 等
是否
URL:  http://192.168.x.x/RCS_Approvals/Service1.svc
Namespace: ?
Method: GetApprovals
Action: http://192.168.x.x/RCS_Approvals/Service1.svc/GetApprovals

這樣Map OKAY 嗎... 唔係幾明佢點map...
  1. /*private final String NAMESPACE = "http://192.168.x.x/RCS_Approvals";
  2.         private final String URL = "http://192.168.x.x/RCS_Approvals/Service1.svc";
  3.         private final String SOAP_ACTION = "http://192.168.x.x/RCS_Approvals/Service1.svc/GetApprovals";
  4.     private final String METHOD_NAME = "GetApprovals"; */         

  5.         private final String NAMESPACE = "http://www.w3schools.com/webservices/";
  6.         private final String URL = "http://www.w3schools.com/webservices/tempconvert.asmx";
  7.         private final String SOAP_ACTION = "http://www.w3schools.com/webservices/CelsiusToFahrenheit";
  8.         private final String METHOD_NAME = "CelsiusToFahrenheit";
複製代碼