0 Replies Latest reply on Feb 22, 2008 10:24 AM by sa we

    webservice return type package

    sa we Newbie

      (jboss4.2.1.GA, jbossws-native-2.0.3.GA, JBossTools 2.0.0.GA, eclipseEE3311)

      I've deployed a @Stateless @WebService bean with a method like:

      package x.y.Z;

      public a.b.C doMagic();

      In the WSDL at the deployement URL, the returntype C is changed to x.y.C
      (i expected a.b.C, webservice newbie here :-)

      My question: can i, with annotations, force the wsdl (and subsequent client stubs) to be generated with package structures that resemble the java webservice?
      A @WebResult(targetNamespace = "http://b.a") doesn't seem to have the desired effect.

      thanks much.