[jboss-user] [JBoss Web Services] - Re: Maven wsconsume fails

Alessio Soldano do-not-reply at jboss.com
Fri Dec 3 05:04:44 EST 2010


Alessio Soldano [http://community.jboss.org/people/alessio.soldano%40jboss.com] created the discussion

"Re: Maven wsconsume fails"

To view the discussion, visit: http://community.jboss.org/message/574223#574223

--------------------------------------------------------------
I just tried simply creating a folder with your wsdl and pom.xml (of course created src/main/resources and src/main/java dirs), updated the pom.xml to use java 1.6 (basically specified maven-compiler-plugin with source and target 1.6) and ran 'mvn clean package'.
The wsconsume plugin successfully generated the sources.

Try googling on the sax parse exception you get, I this for instance:  http://www.mail-archive.com/users@cxf.apache.org/msg02985.html http://www.mail-archive.com/users@cxf.apache.org/msg02985.html mailto://www.mail-archive.com/users@cxf.apache.org //www.mail-archive.com/users at cxf.apache.org/msg02985.html
In any case this is strange, generally speaking, the wsconsume tooling is a facade over the Sun/Oracle wsimport tooling, so unless you get issues reated to classloading, the same behaviour should be expected...
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/574223#574223]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101203/d6ca27ff/attachment.html 


More information about the jboss-user mailing list