-
1. Re: Namespace for complex types
jason.greene Mar 6, 2007 1:55 PM (in response to pyuill)This is a limitation of the original JSR-181 specification that is implemented by jbossws 1.0.x. In jbossws 1.2.0JAX-WS support is provided which handles this use case by using JAXB for complex type binding. Therefore since 1.2.0 you can customize the namespace for any type you want using JAXB annotations.
-
2. Re: Namespace for complex types
centecbertl Mar 14, 2007 6:04 AM (in response to pyuill)You could find an example at
JBossWS-Forum http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103352
JIRA http://jira.jboss.com/jira/secure/ManageAttachments.jspa?id=12335583
The problem is that I got problems with the JBossWS namespace mapping when using inherited/aggregated types, though. It works for "simple" complex types, but generates semantically incomplete wsdl when using real world classes with aggregation/inheriatnce from more >1 java packages.
In that case Webservice Client Generation from WSDL is complaining about the incorrect wsdl or even worse failing because of dis ambiguities (tried with .net 2.0; axis 1.4; Oracle)