[jboss-user] [JBossWS] - Re: Web services using common complex types
rcarmichael
do-not-reply at jboss.com
Fri Apr 11 11:09:05 EDT 2008
Just to update, I figured out that if I specify @XmlType(namespace="...") on my @Entitys that the web services are using, wsimport (if you don't use the -p option) would do what I want for me without having to specify JAXB customization files.
I still think that it would be neat if I could somehow annotate that I want specific classes to be packaged into an XSD and then referenced from the WSDL. Then multiple WSDLs share a common XSD. I'm sure this is possible if you're starting from WSDLs and generating java classes, but in my case I'm starting with POJO @Entities and @Webservices, JBoss is generating the WSDL, then I'm using wsimport to generate client stubs.
Anyway, what I mentioned is probably not a JBoss feature request, more of a JAXWS request. Thanks again for the replies. If anyone knows how to do this "common XSD" thing from simple annotations already, I'd love to know.
-Ryan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143463#4143463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143463
More information about the jboss-user
mailing list