Author: jonathan
Date: Mon Dec 3 10:19:52 2007
New Revision: 10453
Log:
Fixed MASHUP-418, now handles #out parameters as well as #returns.
Modified:
trunk/commons/dynamic-codegen/src/wsdl2sig.xslt
Modified: trunk/commons/dynamic-codegen/src/wsdl2sig.xslt
==============================================================================
--- trunk/commons/dynamic-codegen/src/wsdl2sig.xslt (original)
+++ trunk/commons/dynamic-codegen/src/wsdl2sig.xslt Mon Dec 3 10:19:52 2007
@@ -401,7 +401,7 @@
<!-- This list is processed twice, filtered by $direction. If
we're looking for an in and this sig pair
is an input, we'll process it. Or if we're looking for
returns and this sig pair represents a
return, we'll process it. -->
- <xsl:if test="($token != '#return' and $direction='#in') or
($token = '#return' and $direction='#return')">
+ <xsl:if test="($direction='#in' and ($token='#in' or
$token='#inout')) or ($direction='#return' and ($token='#return' or
$token='#out' or $token='#inout'))">
<xsl:call-template name="complex-param">
<xsl:with-param name="direction" select="$direction"/>
<xsl:with-param name="this-element"
select="$this-element"/>
_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev