axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r202351 - /webservices/axis/trunk/java/modules/wsdl/src/org/apache/axis/wsdl/template/java/MessageReceiverTemplate.xsl
Date Wed, 29 Jun 2005 11:47:26 GMT
Author: chathura
Date: Wed Jun 29 04:47:26 2005
New Revision: 202351

URL: http://svn.apache.org/viewcvs?rev=202351&view=rev
Log:
Databinding Supporter taken from the xml.

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=202351&r1=202350&r2=202351&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
Wed Jun 29 04:47:26 2005
@@ -37,6 +37,7 @@
             if(op.getName() != null & (methodName = op.getName().getLocalPart())
!= null){
             
 				<xsl:for-each select="method">
+				
 			<xsl:variable name="returntype">
 				<xsl:value-of select="output/param/@type"/>
 			</xsl:variable>
@@ -85,7 +86,7 @@
 								org.apache.axis.om.OMElement responseMethodName = getSOAPFactory().createOMElement(methodName
+ "Response", ns);		
 								//Create a Omelement of the result if a result exist
 								<xsl:if test="$returntype!=''">
-									responseMethodName.setFirstChild(<xsl:value-of select="$dbsupportpackage"/>.<xsl:value-of
select="$name"/>DatabindingSupporter().toOM(<xsl:value-of select="$returnvariable"/>));
	
+									responseMethodName.setFirstChild(<xsl:value-of select="$dbsupportpackage"/>.echoStringDatabindingSupporter.toOM(<xsl:value-of
select="$returnvariable"/>));		
 								</xsl:if>
 											
 								envelope.getBody().setFirstChild(responseMethodName);
@@ -103,7 +104,7 @@
 					//Create a default envelop
 					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="$name"/>DatabindingSupporter().toOM(<xsl:value-of select="$returnvariable"/>));
	
+					<xsl:if test="$returntype!=''">envelope.setFirstChild(<xsl:value-of select="$dbsupportpackage"/>.echoStringDatabindingSupporter.toOM(<xsl:value-of
select="$returnvariable"/>));		
 					</xsl:if>											
 				</xsl:when>
 							



Mime
View raw message