Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reg: NoSuchFieldError : WRAPPED  RSS feed

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> (
at com.M2.WE.www.WEBServiceLocator.setWEBPort( at com.M2.WE.www.WEBServiceLocator.setWEBPort( at com.M2.WE.www.WEBServiceTestCase.test1WEBPortWEBOperation( at TestWebService.main(

i think,
WRAPPED is a constant field coming in 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
Boost this thread!