You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2006/05/02 13:17:51 UTC
[jira] Commented: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
[ http://issues.apache.org/jira/browse/AXIS2-614?page=comments#action_12377378 ]
Ajith Harshana Ranabahu commented on AXIS2-614:
-----------------------------------------------
The documents are updated in the xdocs. Look for the reference in CodegenToolReference.html (http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/xdocs/latest/tools/CodegenToolReference.html?rev=398845&view=markup)
> 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)
> Type: Improvement
> Components: Tools
> Versions: 0.95
> Reporter: Ralf Taugerbeck
> Assignee: 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