6 Replies Latest reply on May 16, 2007 7:14 AM by Heiko Braun

    creating new targetnamespace for complex types

    khelenek Newbie

      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?