Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Web Services
Search Coderanch
Advance search
Google search
Register / Login
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
Ron McLeod
Paul Clapham
Tim Cooke
Jeanne Boyarsky
Sheriffs:
Rob Spoor
Devaka Cooray
Liutauras Vilda
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Piet Souris
Forum:
Web Services
Axis2 1.4 client
Rahul Juneja
Ranch Hand
Posts: 425
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am trying to create a Webservice client in eclipse and i am using AXIS2(1.4) environment but when i try wsdl to
java
, i get the following exception.
Exception occurred while code generation for WSDL : java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Any clues about it ?
Thanks,
Rahul
Rahul Juneja
ThoughtClicks -
http://techlabs.thoughtclicks.com
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I see from the JavaDocs that XMLStreamException is new with java 1.6
Which version of Java are you working with?
Bill
Rahul Juneja
Ranch Hand
Posts: 425
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
William,
Thanks for the reply, but i am using Java 5 with AXIS2 1.4.
Any clues ?
Thanks,
Rahul
Rahul Juneja
ThoughtClicks -
http://techlabs.thoughtclicks.com
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Any clues? The exception is your clue.
Axis is trying to create an instance of a class that only exists in Java 1.6.
java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
If you want to use that version of Axis2, you
MUST INSTALL
java 1.6 or find some other way to get that library. There is just no way around it.
Bill
Rahul Juneja
Ranch Hand
Posts: 425
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
William,
Thanks a lot . Yes when i configured Axis2 1.4 with Java 6 it did solve that problem but i am getting another problem. Can you please have alook and give me some pointers for that.
Axis2 1.4 with Java6 Encoding Problem
Thanks again for your help.
Thanks,
Rahul
Rahul Juneja
ThoughtClicks -
http://techlabs.thoughtclicks.com
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
java.lang.reflect.InvocationTargetException while using Axis2 eclipse Code generator wizard
How to generate Java 1.4 specific code from Axis2
ADBException
Adding WS Security Info to Soap Header
Trying to create a java web service client using axis2
More...