This is my first SOAP service/client.

I am running under Tomcat with Axis 1.1 I have the SOAPMonitor running (not
that I am sure how to operate it) and it shows no traffic.

I wrote a service and deployed it.  At least it shows up under:

http://localhost:8080/axis/servlet/AxisServlet

and the WSDL info shows up under:

http://localhost:8080/axis/services/MFnetSoap?wsdl

That is the good news.

---  The problem:

The bad news is that my client application fails with a AxisFault (below).
The statement that causes the failure is  (I am starting small with a ping()
that returns void and has no arguments):

call.invoke((Object[])null);

Can someone tell me what side this fault is coming from?  Is the client even
able to talk to the service?  I guess I don't even know where to start
looking despite trying to figure this out for 2 days.

>From the Tomcat log I see that my service jar file is being deployed when
Tomcat starts.

If I place the "endpointURL" in a browser I get the "Hi there, this is an
AXIS service!" message.

Thanks!
Jim


AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.InstantiationException:
com.metafile.mfnet.soap.MFnetSoap
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.InstantiationException:
com.metafile.mfnet.soap.MFnetSoap
 faultActor:
 faultNode:
 faultDetail:

java.lang.InstantiationException: com.metafile.mfnet.soap.MFnetSoap
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2
60)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:16
9)


Reply via email to