I am working on this JIRA
http://jira.jboss.org/jira/browse/JBWS-1217 where customer
submitted the fix.
While committing the fix I found that due to the fix changes the package mapping has to be
mandatorily defined for the type's namespace. For e.g., earlier this test case had a
wstools config like below:
| <configuration>
| <wsdl-java location="resources/tools/jbws1079/Anonymous.wsdl"
parameter-style="bare">
| <mapping file="anonymous-mapping.xml"/>
| </wsdl-java>
| </configuration>
|
This would generate all the code in the same package org.jboss.test.ws.jbws1079
But now due to the change for JBWS-1217 this tools config has to be re-written like this:
| <configuration>
| <global>
| <package-namespace package="org.jboss.test.ws.jbws1079"
namespace="http://test.jboss.org/ws/jbws1079/types"/>
| </global>
| <wsdl-java location="resources/tools/jbws1079/Anonymous.wsdl"
parameter-style="bare">
| <mapping file="anonymous-mapping.xml"/>
| </wsdl-java>
| </configuration>
|
else the types will be generated into the package org.jboss.test.ws.jbws1079.types and the
SEI in org.jboss.test.ws.jbws1079
I forsee no issues with this. Just that in future all types has to be namespace qualified
explicitly into the appropriate package for them to be generated in the same package. Is
this ok for the design. Just wanted an opinion.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113451#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...