• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reg: NoSuchFieldError : WRAPPED

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic