[jboss-user] [JBoss Web Services] - Exception_Exception generated class with wsconsume

Gabriel Ozeas do-not-reply at jboss.com
Wed Jun 26 06:08:03 EDT 2013


Gabriel Ozeas [https://community.jboss.org/people/gabriel.ozeas] created the discussion

"Exception_Exception generated class with wsconsume"

To view the discussion, visit: https://community.jboss.org/message/824961#824961

--------------------------------------------------------------
Hi  folks,


I`m generating the stubs with wsconsume plugin for maven to use in JBoss 7 ( https://community.jboss.org/docs/DOC-13542 tutorial and  https://docs.jboss.org/author/display/JBWS/wsconsume doc), but when all classes are created, the exception classes don`t extend Exception (for example, MyException.java) and another file with the name Exception_Exception that extends java.lang.Exception and has Faul annotation are created (MyException_Exception.java) and wraps the first class generated.

I think this is a name conflict, and the schema type are been generated in the same package. Am i right? So if yes, how can separate the packages. I didnt found any paramater options in plugin or someone with the same problem.

I dont know if this is a really problem, but i need that the name of the exception that extends java.lang.Exception be corrected and dont add _Exception.

Can someone help me?
--------------------------------------------------------------

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

Start a new discussion in JBoss Web Services at Community
[https://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/20130626/0175a8be/attachment.html 


More information about the jboss-user mailing list