Hi
 
My customer is getting errors with some code that I have delivered, but I do 
not see these errors myself, and cannot reproduce. The latest error is from a 
client call to a deployed Service:
 
Exception in thread "main" java.lang.NoSuchFieldError: WRAPPED

This is generated from the setStyle method in the following line of client stub 
code:
 
- - - - - - - - 
        oper.setReturnType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        oper.setReturnClass(java.lang.String.class);
        oper.setReturnQName(new 
javax.xml.namespace.QName("urn:ProvidentProvisioningTNS", 
"ProvisioningTaskReturn"));
        oper.setStyle(org.apache.axis.enum.Style.WRAPPED);
        oper.setUse(org.apache.axis.enum.Use.LITERAL);
        _operations[0] = oper;
- - - - - - - - 
 
First I thought the axis.jar library (which contains org.apache.axis.enum 
package) might be missing, but it is not.
 
Then I thought that maybe the CLASSPATH was lacking axis.jar - but it is not.
 
This seems like a simple Java issue, not an AXIS issue, yet I am flummoxed.
 
Any thoughts gratefully received.
 
Pat
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Reply via email to