James, there is not enough information. You will need to provide your soap
stub code and an example source file that reproduces the issue.
I understand, but unfortunately I am unable to do that.
So I'm not sure where to go from here... :-/
James
*From:* james a. cubeta [mailto:[EMAIL PROTECTED]
*Sent:* Friday, September 19, 2008 9:17 AM
*To:* axis-user@ws.apache.org
*Subject:* InstantiationException with Axis 1.4...
I am using Axis 1.4, and I am trying to write a simple test application of
a web service.
I saved the WSDL locally, used WSDL2Java to build stub code, created a JAR,
and wrote a test case that basically does this:
URL url = new URL(
https://192.168.1.150:8443/simple-ws/service/SimpleExample;);
SimpleExampleServiceLocator locator = new SimpleExampleServiceLocator();
SimpleExampleSoapBindingStub client = (SimpleExampleSoapBindingStub)
locator.getSimpleExample(url);
client.setUsername(username);
client.setPassword(password);
String response = client.sayHello(James);
When I attempt to run this code, I get the following exception:
AxisFault
faultCode: {
http://schemas.xmlsoap.org/soap/envelope/}Server.userExcpetionhttp://schemas.xmlsoap.org/soap/envelope/%7dServer.userExcpetion
faultSubcode:
faultString: java.lang.InstantiationException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.InstantiationExceptionhttp://xml.apache.org/axis/%7dstackTrace:java.lang.InstantiationException
at
org.apache.axis.encoding.ConstructorTarget.set(ConstructorTarget.java:97)
snip
at org.apache.axis.Call.invoke(Call.java:1812)
Sorry if this is not enough information, but the exception stack seems to
be pretty useless overall... :-/
Ideas/Thoughts appreciated,
James
--
james a. cubeta
--
james a. cubeta