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 am...@apache.org on 2007/05/28 06:50:12 UTC
svn commit: r542110 -
/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
Author: amilas
Date: Sun May 27 21:50:11 2007
New Revision: 542110
URL: http://svn.apache.org/viewvc?view=rev&rev=542110
Log:
fixed an issue with callback response unwrapping
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl?view=diff&rev=542110&r1=542109&r2=542110
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl Sun May 27 21:50:11 2007
@@ -540,7 +540,6 @@
addPropertyToOperationClient(_operationClient,<xsl:value-of select="@name"/>,<xsl:value-of select="@value"/>);
</xsl:for-each>
- <!--todo if the stub was generated with unwrapping, wrap all parameters into a single element-->
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env=null;
@@ -661,7 +660,8 @@
);
</xsl:when>
<xsl:when test="$outputparamcount=1">
- (<xsl:value-of select="output/param[@location='body']/param/@type"/>)object);
+ get<xsl:value-of select="$outputparamshorttype"/><xsl:value-of
+ select="$outputparampartname"/>((<xsl:value-of select="$outputtype"/>)object));
</xsl:when>
<xsl:when test="string-length(normalize-space($outputcomplextype)) > 0">
(<xsl:value-of select="$outputcomplextype"/>)object);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org