axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <>
Subject Re: How to enable CommonsHTTPTransportSender for client?
Date Fri, 07 Mar 2008 15:42:59 GMT
You can use the following constructor to create your service client..
configContext,AxisService axisService)

ConfigurationContext can be created as follows by pointing to your
axis2.xml and the axis2 repository..

If you are using a generated stub, then it has a constructor which
takes in the axis2.xml location and the axis2 repo location.


On Fri, Mar 7, 2008 at 10:01 AM, westpine <> wrote:
>  Hello. I need to enable CommonsHTTPTransportSender for my web services client
>  that built with axis2 libs. In documentation there is following info:
>  <transportSender name="http"
>  class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
>      <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
>      <parameter name="Transfer-Encoding">chunked</parameter>
>  </transportSender> has to be added to axis2.xml
>  So, I have 2 questions. Where to look or where to create this axis2.xml? And
>  may be it  could be done right in code?  How to do it? Thanks!
>  --
>  View this message in context:
>  Sent from the Axis - User mailing list archive at
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
>  For additional commands, e-mail:

Thilina Gunarathne  -

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message