[jboss-user] [JBossWS] - Re: Newbie: How do you modify the java package/namespace map

summer.hill do-not-reply at jboss.com
Mon Sep 4 23:56:15 EDT 2006


Thanks for the tip Thomas.

I've already done this for my @WebService annotations. The real problem I am having is with passing java objects as parameter or return values from the @WebMethods.

The WSDL generated places the java objects in their own WSDL namespace named after the java package in which they reside. BUT, there is a DUPLICATE definition of each java object in the WSDL namespace as well where the @WebService (targetNamespace) is defined. This seems a little strange.

What I really want to do, is have all java objects in a shared 'types' namespace and have every other namespace reference them (like a header file).

Surely this can be achieved?

I am using jboss-ws 1.0.2.

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

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



More information about the jboss-user mailing list