How to use xfire client to pass more than one parameter?Now I can only pass one parameter.My code is here,and it runs well.But if I want to pass two parameter named "paraone" and "paratwo" String which value is "p1" and "p2" in the other service,How to change my code? Client c=new Client(new URL("http://www.webxml.com.cn/WebServices/TraditionalSimplifiedWebService.asmx?wsdl")); Object[] o=c.invoke("toTraditionalChinese", new String[]{ "冯小刚" }); System.out.print(o.length+o[0].toString());
I try to change it,but it seems wrong. Client c=new Client(new URL("http://www.webxml.com.cn/WebServices/otherService.asmx?wsdl")); Object[] o=c.invoke("mutiparaMethod", new String[]{ "paraone":"p1", "paratwo":"p2"}); System.out.print(o.toString());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)