axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r202506 - /webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl
Date Thu, 30 Jun 2005 08:12:24 GMT
Author: chathura
Date: Thu Jun 30 01:12:21 2005
New Revision: 202506

URL: http://svn.apache.org/viewcvs?rev=202506&view=rev
Log:
 The Message receiver corrected to set the body element properly.

Modified:
    webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl

Modified: webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl?rev=202506&r1=202505&r2=202506&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl
(original)
+++ webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl
Thu Jun 30 01:12:21 2005
@@ -112,7 +112,7 @@
 					envelope = getSOAPFactory().getDefaultEnvelope();
 					//Create a Omelement of the result if a result exist
 					
-					<xsl:if test="$returntype!=''">envelope.setFirstChild(<xsl:value-of select="$dbsupportpackage"/>.<xsl:value-of
select="$dbsupportname"/>.toOM(<xsl:value-of select="$returnvariable"/>));		
+					<xsl:if test="$returntype!=''">envelope.getBody().setFirstChild(<xsl:value-of
select="$dbsupportpackage"/>.<xsl:value-of select="$dbsupportname"/>.toOM(<xsl:value-of
select="$returnvariable"/>));		
 					</xsl:if>											
 				</xsl:when>
 							



Mime
View raw message