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