Forums Register Login

Reg: NoSuchFieldError : WRAPPED

+Pie Number of slices to send: Send
I wrote a client java program to invoke a webservice. the steps i followed were :
1. generated stubs and testcase class out of the wsdl using WSDL2java.
2. edited the testcase class to pass the parameters and to display the output in java console.
3. build these classes to a jar file using ant build and set it in the class path.
4. wrote a main class to invoke the testcase object.
5. compiled the main class successfully.. but when i tried to run that it shows an error : Exception in thread "main" java.lang.NosuchFieldError: WRAPPED at com.M2.WE.www.WEBHTTPSoapbindingStub.<clinit> (WEBHTTPSoapbindingStub.java:43)
at com.M2.WE.www.WEBServiceLocator.setWEBPort(WEBServiceLocator.java:43) at com.M2.WE.www.WEBServiceLocator.setWEBPort(WEBServiceLocator.java:38) at com.M2.WE.www.WEBServiceTestCase.test1WEBPortWEBOperation(WEBServiceTestCase.java:17) at TestWebService.main(TestWebService.java:9)

i think,
WRAPPED is a constant field coming in Style.java under the package org.apache.axis.enum

Could Anyone find a solution for me??
Thanks in advance.
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2369 times.
Similar Threads
Generics - need help
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/jersey/api/cl ient/config/ClientC
loading jpegs fast
HttpUnit Exception stack trace
JBuilder Personal and JUnit Integration
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:07:58.