[
http://jira.jboss.com/jira/browse/JBWS-2018?page=comments#action_12401932 ]
Magesh Kumar B commented on JBWS-2018:
--------------------------------------
[junit] Running org.jboss.test.ws.tools.jbws2018.JBWS2018TestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.828 sec
JavatoWSDL Package to Namespace mapping does not support multiple
packages
--------------------------------------------------------------------------
Key: JBWS-2018
URL:
http://jira.jboss.com/jira/browse/JBWS-2018
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: tools-jaxrpc
Reporter: Magesh Kumar B
Assigned To: Magesh Kumar B
Priority: Minor
Fix For: jbossws-native-2.0.4
Time Spent: 3 days, 5 hours
Remaining Estimate: 0 minutes
Consider the following SEI:
package org.jboss.test.ws.jbws1217;
public interface MySEI extends java.rmi.Remote
{
public void testException() throws com.other.exception.TestException,
java.rmi.RemoteException;
}
And the additional classes:
package com.other.exception;
public class TestException
extends com.other.base.BaseException{
public TestException(){
}
}
package com.other.base;
public class BaseException
extends Exception{
public BaseException(){
}
}
Using the following wstools config:
<configuration
xmlns="http://www.jboss.org/jbossws-tools">
<global>
<package-namespace package="com.other.base"
namespace="http://com.other.base"/>
<package-namespace package="com.other.exception"
namespace="http://com.other.exception"/>
</global>
<java-wsdl>
<service name="MySEI" style="rpc"
endpoint="org.jboss.test.ws.jbws1217.MySEI"/>
<namespaces target-namespace="http://org.jboss.test.ws.jbws1217"
type-namespace="http://org.jboss.test.ws.jbws1217"/>
<mapping file="jaxrpc-mapping.xml" />
<webservices ejb-link="MyEJB"/>
</java-wsdl>
</configuration>
The WSDL generated ignores the global mappings and the namespace is derived from the
class packages.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira