You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by am...@apache.org on 2007/06/20 06:29:06 UTC
svn commit: r548930 -
/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
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: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org
Re: [axis2] Re: svn commit: r548930 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
Posted by Amila Suriarachchi <am...@gmail.com>.
changed
On 6/27/07, Glen Daniels <gl...@thoughtcraft.com> 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
>
> amilas@apache.org 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: axis-cvs-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-cvs-help@ws.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
--
Amila Suriarachchi,
WSO2 Inc.
[axis2] Re: svn commit: r548930 -
/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl
Posted by Glen Daniels <gl...@thoughtcraft.com>.
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
amilas@apache.org 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: axis-cvs-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-cvs-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org