以下是我的客户端代码
public static void main(String[] args) {
try{
RPCServiceClient rpcServiceClient = new RPCServiceClient();
Options  options = rpcServiceClient.getOptions();
EndpointReference refrence = new EndpointReference   ("http://116.228.55.13:8089/bdp_wsin/bdp_wsin?wsdl"); //服务器端地址
options.setTo(refrence);
QName opFindEntry = new QName("http://service.wsin.ideal.com", "CustomerInfo");//指定域名,掉用方法

//设置代理
/*ProxyProperties proxyProperty = new ProxyProperties();
proxyProperty.setProxyName("134.64.102.206");
proxyProperty.setProxyPort(808);
proxyProperty.setUserName("lxgs");
proxyProperty.setPassWord("lxgs");
proxyProperty.setDomain("134.64.102.206");
options.setProperty(HTTPConstants.PROXY, proxyProperty);
        options.setProperty(HTTPConstants.HTTP_PROTOCOL_VERSION, HTTPConstants.HEADER_PROTOCOL_10);
*/

Object[] opFindEntryArgs = new Object[] { "0100004887"};//传输的参数
        Class[] returnTypes = new Class[] { String.class };
        Object[] response = rpcServiceClient.invokeBlocking(opFindEntry,opFindEntryArgs, returnTypes);//调用
        String result = (String) response[0];//返回值

        System.out.println(result);
}catch(Exception ep){
ep.printStackTrace();
}
}运行之后报错:
org.apache.axis2.AxisFault: First Element must contain the local name, Envelope , but found definitions
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:90)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:353)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:548)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
at client.HelloClient.main(HelloClient.java:37)
Caused by: org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found definitions
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:251)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:209)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElement(StAXSOAPModelBuilder.java:191)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:172)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:156)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:105)
at org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:53)
at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:164)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:112)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:88)
... 8 more