Transport listener and sender configurations are in the axis2.xml file.
<transportSender name="http"
class="
org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
</transportSender>
For example here is how Apache Synapse has used the non-blocking HTTP NIO
sender.
<transportSender name="http" class="
org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
<parameter name="non-blocking" locked="false">true</parameter>
</transportSender>
You have to replace the class name for the http sender with optional
parameters specific to the sender.
Upul
On Fri, Mar 14, 2008 at 3:45 PM, westpine <[EMAIL PROTECTED]> wrote:
>
> Hi want to use OaklandHTTPTransportSender2 which has to substitute
> CommonsHTTPTransportSender. To use the Oakland Software HTTP Client with
> Axis2, set the HTTP transport class to:
> com.oaklandsw.http.axis2.OaklandHTTPTransportSender2. But how to do it?
> --
> View this message in context:
> http://www.nabble.com/Custom-HTTP-transport-setting-tp16047723p16047723.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>