• Post Reply Bookmark Topic Watch Topic
  • New Topic

Wsimport in build scripts is giving error when trying to create web service client from WSDL.  RSS feed

 
symphony java
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I am trying to create web service client .When i run the built then it gives the following error:

[wsimport] parsing WSDL...

BUILD FAILED
java.lang.AbstractMethodError: org.apache.crimson.tree.XmlDocument.setDocumentURI(Ljava/lang/String;)V.

I do not think there is any issue with the WSDL as i am using an existing wsdl.I am also using JDK1.5.0_06.Do i have to use jdk 1.6 for this??

Thanks in advance


 
Devaka Cooray
Marshal
Posts: 5516
687
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"symphony java", please check your private messages regarding an important administrative matter.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
As far as I remember, JDK 1.5 does not contain the wsimport command, so the command you have used must be from somewhere else.
I would suggest you to at least give the wsimport command in JDK 6 a try.
Make sure that you are including the appropriate flags etc when invoking wsimport, for instance:

Best wishes!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!