You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by James Richardson <ja...@db.com> on 2005/01/12 19:05:07 UTC
Maven Axis Plugin Bug (with fix) v0.5
Hi,
There appears to be a bug with the maven axis plugin, version 0.5, when
processing name space mappings in wsdl files.
This is due to a typo in the jelly script, where the closing tag of the
<axis-wsdl2java> for wsdl files is _before_
The tokenise mappings script, thus the mappings get printed, not used.
Moving the closing tag after the mappings will successfully map the types.
I'm having a bit of trouble with some wsdl that's specifiying a
DataHandler, if anybody has any ideas.....
Best Regards,
James
<!-- wsdl2java -->
<axis-wsdl2java
all="${maven.axis.all}"
output="${axis.generated.dir}"
testcase="${maven.axis.testcase}"
verbose="${maven.axis.verbose}"
deployscope="${maven.axis.deployscope}"
skeletondeploy="${maven.axis.skeletondeploy}"
noimports="${maven.axis.noimports}"
typemappingVersion="${maven.axis.typemappingversion}"
serverside="${maven.axis.serverside}"
url="${wsdlFile}">
<!-- Used to close tag here -->
<!-- mapping of namespaces to package names -->
<u:tokenize var="urnMappings"
delim=",">${maven.wsdl2java.namespaceMappings}</u:tokenize>
<j:forEach var="urnMapping" items="${urnMappings}">
<u:tokenize var="keyValue"
delim="=">${urnMapping}</u:tokenize>
<mapping namespace="${keyValue[0]}"
package="${keyValue[1]}"/>
</j:forEach>
</axis-wsdl2java> <!-- now its here -->
</j:forEach>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven Axis Plugin Bug (with fix) v0.5
Posted by Dominik Dahlem <Do...@cs.tcd.ie>.
This has been fixed on CVS HEAD. It is not yet released as a
distributable though.
Dominik
On Wed, 2005-01-12 at 18:05 +0000, James Richardson wrote:
> Hi,
>
> There appears to be a bug with the maven axis plugin, version 0.5, when
> processing name space mappings in wsdl files.
>
> This is due to a typo in the jelly script, where the closing tag of the
> <axis-wsdl2java> for wsdl files is _before_
> The tokenise mappings script, thus the mappings get printed, not used.
> Moving the closing tag after the mappings will successfully map the types.
>
> I'm having a bit of trouble with some wsdl that's specifiying a
> DataHandler, if anybody has any ideas.....
>
>
> Best Regards,
>
> James
>
>
> <!-- wsdl2java -->
> <axis-wsdl2java
> all="${maven.axis.all}"
> output="${axis.generated.dir}"
> testcase="${maven.axis.testcase}"
> verbose="${maven.axis.verbose}"
> deployscope="${maven.axis.deployscope}"
> skeletondeploy="${maven.axis.skeletondeploy}"
> noimports="${maven.axis.noimports}"
> typemappingVersion="${maven.axis.typemappingversion}"
> serverside="${maven.axis.serverside}"
> url="${wsdlFile}">
>
> <!-- Used to close tag here -->
>
> <!-- mapping of namespaces to package names -->
> <u:tokenize var="urnMappings"
> delim=",">${maven.wsdl2java.namespaceMappings}</u:tokenize>
> <j:forEach var="urnMapping" items="${urnMappings}">
> <u:tokenize var="keyValue"
> delim="=">${urnMapping}</u:tokenize>
> <mapping namespace="${keyValue[0]}"
> package="${keyValue[1]}"/>
> </j:forEach>
> </axis-wsdl2java> <!-- now its here -->
> </j:forEach>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
Dominik Dahlem <Do...@cs.tcd.ie>
-------------------------------------------------------
Trinity College Dublin
Department of Computer Science,
Dublin 2, Ireland
tel: (+353) 1-608 1539
fax: (+353) 1-677 2204
www: http://www.cs.tcd.ie/Dominik.Dahlem/
-------------------------------------------------------