[jboss-user] [Beginners Corner] - webservice return type package

sawe do-not-reply at jboss.com
Fri Feb 22 10:24:23 EST 2008

(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.

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

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

More information about the jboss-user mailing list