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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]