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 "Ralf Taugerbeck (JIRA)" <ji...@apache.org> on 2006/04/25 12:12:10 UTC
[jira] Created: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
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
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
[jira] Commented: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-614?page=all ]
Ajith Harshana Ranabahu updated AXIS2-614:
------------------------------------------
Priority: Minor (was: Major)
The namespace mapping feature is added to the codegenerator. Although not with the same syntax the namespace to package name mapping is available now (atleast for ADB and XMLbeans)
Hence I am downgrading the criticality of this issue
> 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
> 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
[jira] Resolved: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
Posted by "Thilo Frotscher (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-614?page=comments#action_12376868 ]
Thilo Frotscher commented on AXIS2-614:
---------------------------------------
Can you please provide a link where to find documentation for the mapping feature or post a short explanation here? Thanks!
> 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
> 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
[jira] Assigned: (AXIS2-614) Multiple namescape mappings and
exclusions for code generation
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-614?page=all ]
Deepal Jayasinghe reassigned AXIS2-614:
---------------------------------------
Assign To: Ajith Harshana Ranabahu
> 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