Android WSDL/SOAP service client

后端 未结 7 2155
北恋
北恋 2020-11-30 22:53

I have some web services that uses WSDL/SOAP for communication. Specifically, I am using PHP and Nusoap to make them. How can I use these web services on Android? I am going

相关标签:
7条回答
  • 2020-11-30 23:25

    i founded this tool to auto generate wsdl to android code,

    http://www.wsdl2code.com/Example.aspx

    public void callWebService(){
        SampleService srv1 = new SampleService();
        Request req = new Request();
        req.companyId = "1";
        req.userName = "userName";
        req.password = "pas";
        Response response =  srv1.ServiceSample(req);
    }
    
    0 讨论(0)
提交回复
热议问题