• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 1.4 client

 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic