changed On 6/27/07, Glen Daniels <[EMAIL PROTECTED]> wrote:
Can we please s/isUseSeperateListener/useSeparateListener/? You don't need the "is" unless it's a JavaBean accessor, and separate is spelled incorrectly. Thanks, --G [EMAIL PROTECTED] wrote: > Author: amilas > Date: Tue Jun 19 21:29:05 2007 > New Revision: 548930 > > URL: http://svn.apache.org/viewvc?view=rev&rev=548930 > Log: > added new constructor to set isUseSeperateListner > > 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=548930&r1=548929&r2=548930 > ============================================================================== > --- 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 Tue Jun 19 21:29:05 2007 > @@ -122,11 +122,22 @@ > > } > > + /** > + *Constructor that takes in a configContext > + */ > + > + public <xsl:value-of select="@name"/>( org.apache.axis2.context.ConfigurationContext configurationContext, > + java.lang.String targetEndpoint) > + throws org.apache.axis2.AxisFault { > + this(configurationContext,targetEndpoint,false); > + } > + > + > /** > - Constructor that takes in a configContext > - */ > + * Constructor that takes in a configContext and useseperate listner > + */ > public <xsl:value-of select="@name"/>( org.apache.axis2.context.ConfigurationContext configurationContext, > - java.lang.String targetEndpoint) > + java.lang.String targetEndpoint, boolean isUseSeperateListner) > throws org.apache.axis2.AxisFault { > //To populate AxisService > populateAxisService(); > @@ -141,6 +152,7 @@ > > _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( > targetEndpoint)); > + _serviceClient.getOptions().setUseSeparateListener(isUseSeperateListner); > <xsl:if test="starts-with($soapVersion,' http://www.w3.org/2003/05/soap-envelope')"> > //Set the soap version > _serviceClient.getOptions().setSoapVersionURI( org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Amila Suriarachchi, WSO2 Inc.