Author: amilas Date: Fri Jun 15 16:14:36 2007 New Revision: 547823 URL: http://svn.apache.org/viewvc?view=rev&rev=547823 Log: fixed the issue Axis2-2562
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=547823&r1=547822&r2=547823 ============================================================================== --- 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 Fri Jun 15 16:14:36 2007 @@ -151,6 +151,22 @@ /** * Default Constructor */ + public <xsl:value-of select="@name"/>(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { + <xsl:for-each select="endpoint"> + <xsl:choose> + <xsl:when test="position()=1"> + this(configurationContext,"<xsl:value-of select="."/>" ); + </xsl:when> + <xsl:otherwise> + //this(configurationContext,"<xsl:value-of select="."/>" ); + </xsl:otherwise> + </xsl:choose> + </xsl:for-each> + } + + /** + * Default Constructor + */ public <xsl:value-of select="@name"/>() throws org.apache.axis2.AxisFault { <xsl:for-each select="endpoint"> <xsl:choose> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]