[jboss-user] [JBossWS] - creating new targetnamespace for complex types

khelenek do-not-reply at jboss.com
Mon May 14 13:20:39 EDT 2007


Hi, 
I just upgraded to using jax-ws with my ejb 3.0 beans, and its working fine. The classes used by my web service are being mapped to a shema with a targetNamespace reflected by their package name.  Because I'm trying to recreate an exact copy of my old web services I would like to define the target namespace for these classes myself. 

So i tried using the XmlSchema and XmlType annotations from jaxb on the package-info and class files respectively but it didn't seem to do anything.  Is this the correct technique, and does jboss support these? Is there another way to specify the target namespace for these complex types?  

Thanks, 
kris

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045562#4045562

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045562



More information about the jboss-user mailing list