axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-614) Multiple namescape mappings and exclusions for code generation
Date Thu, 12 Oct 2006 13:50:35 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-614?page=all ]

Davanum Srinivas resolved AXIS2-614.
------------------------------------

    Resolution: Fixed

Multiple namescape mappings is fixed. Let's wait to see if anyone else asks for exclusion...

> Multiple namescape mappings and exclusions for code generation
> --------------------------------------------------------------
>
>                 Key: AXIS2-614
>                 URL: http://issues.apache.org/jira/browse/AXIS2-614
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.95
>            Reporter: Ralf Taugerbeck
>         Assigned To: Ajith Harshana Ranabahu
>            Priority: Minor
>
> The "axis-wsdl2java" ANT task in Axis 1.x allows to generate Java code for complex WSDL
files that reference more than one XML schemas. Using nested <mapping> tags each namespace
can be mapped to a different package. Morerover it is possible to exclude namespaces using
nested <nsexclude> tags. This is useful to exlude externally provided packages like
ws-addressing. See the following example:
> 		<axis-wsdl2java
> 			output="src/gen"
> 			factory="org.apache.axis.message.addressing.tools.wsdl.JavaAddressingGeneratorFactory"
> 			url="${wsdl}" >
> 			
> 			<nsexclude namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
> 			<mapping namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" package="org.apache.axis.message.addressing"
/>
> 			<mapping namespace="http://docs.oasis-open.org/asap/1.0/asap.xsd" package="mytest.ws.asap"
/>
> 			<mapping namespace="http://www.wfmc.org/wfxml/2.0/" package="mytest.ws.wfxml" />
> 			...
> 		</axis-wsdl2java>
> I have not discovered similiar functionality in the code generation tool provided with
Axis2, yet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message