I create a java file and run Java2WSDL to create a WSDL file. I then
run WSDL2Java to create the Java files. Using the new java files I then
connect the webservice using the WSDD and then try to connect to it. I
can see the webservice via
http://localhost:8080/axis/services/webservice?wsdl.
When I connect to the webservice and make a request I get the following
error:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.InstantiationException:
webservice.HelloWorld</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">*name
of the host*</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
How do I avoid this error and run the functionality provided by the new
webservice?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]