org.apache.axis axis 1.4 javax.xml.rpc javax.xml.rpc-api 1.1.2 commons-discovery commons-discovery 0.2
import javax.xml.namespace.QName;
import javax.xml.rpc.ServiceException;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
@Test
public void a13a() throws MalformedURLException, ServiceException, RemoteException {
Call call=(Call)(new Service()).createCall();
call.setTargetEndpointAddress(new URL("http://218.26.234.115:12666/services/interface?"));
call.setOperationName(new QName("namespace","getSydwJson"));
call.setTimeout(30000);
String re=(String)call.invoke(new String[]{"drorg032"});
System.out.println(re);
}
java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
webService 报aultString: org.xml.sax.SAXException: Bad envelope tag: definitions



