• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg: NoSuchFieldError : WRAPPED

Neeraj GS
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic