我使用xfire定义了webservice 发布正常,使用SOAPUI进行调用均正常能返回值.
使用.NET进行调用时报错:Could not find an appropriate Transport Binding to invoke.
Interface代码
@WebService
@SOAPBinding(style=Style.RPC,use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED )
@BindingType(value="")
public interface IQueryWebServiceServer {
@WebMethod
@WebResult(partName="queryResult", name="msg",targetNamespace = "http://www.crifst.ac.cn/2013/OTSAPI")
@ResponseWrapper(localName="queryResult" ,targetNamespace = "http://www.crifst.ac.cn/2013/OTSAPI")
public String query(@WebParam(name="msg") String msg);
如能解答,100元现金.qq:1596683376