my dog learned polymorphism
The moose likes Web Services and the fly likes Wsimport in build scripts is giving error when trying to create web service client from WSDL. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Wsimport in build scripts is giving error when trying to create web service client from WSDL." Watch "Wsimport in build scripts is giving error when trying to create web service client from WSDL." New topic
Author

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

symphony java
Greenhorn

Joined: May 17, 2010
Posts: 1
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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2699
    
    3

"symphony java", please check your private messages regarding an important administrative matter.


Author of ExamLab (Download) - the free mock exam kit for SCJP / OCPJP
Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wsimport in build scripts is giving error when trying to create web service client from WSDL.
 
Similar Threads
create web service client url https
Java EE 5 Tutorial - Problem with Web Services
NetBeans Web Service client attempt
SSL Web Service Client
JNDI and JAX-WS