[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2018) JavatoWSDL Package to Namespace mapping does not support multiple packages

Magesh Kumar B (JIRA) jira-events at lists.jboss.org
Mon Mar 10 07:51:57 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBWS-2018?page=comments#action_12401918 ] 
            
Magesh Kumar B commented on JBWS-2018:
--------------------------------------

Fixed and available in trunk for release 2.0.4. Will add a test case soon and resolve the issue. 

> 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, 4 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

        



More information about the jbossws-issues mailing list