File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis2 1.4 client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 1.4 client" Watch "Axis2 1.4 client" New topic
Author

Axis2 1.4 client

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
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.



Any clues about it ?

Thanks,
Rahul


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
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

Joined: Aug 03, 2002
Posts: 425
William,

Thanks for the reply, but i am using Java 5 with AXIS2 1.4.
Any clues ?

Thanks,
Rahul
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
Any clues? The exception is your clue.

Axis is trying to create an instance of a class that only exists in Java 1.6.



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

Joined: Aug 03, 2002
Posts: 425
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2 1.4 client