Axis WSDD Reference: transport

Can be used in

deployment, undeployment

Description

The transport on the client side is responsible for sending the message to the ultimate receiver or an intermediary. The following deployment descriptor replaces the default HTTPSender with a sender using GZIP for compression of SOAP messages. The transport is configured with a parameter concerning a Accept-Encoding HTTP header.
<deployment xmlns="http://xml.apache.org/axis/wsdd/">
    <transport name="http" pivot="com.osmoticweb.axis.GZIPHTTPSender">
        <parameter name="Accept-Encoding" value="deflate, gzip" />
    </transport>
</deployment>
Handlers can be plugged into the request flow and the response flow of a transport. In the example, a security handler is placed in the request and response flow.
<deployment xmlns="http://xml.apache.org/axis/wsdd/" 
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <transport name="http" pivot="org.apache.axis.transport.http.HTTPSender">
        <requestFlow>
            <handler name="SecurityHandler"
                     type="java:com.osmoticweb.axis.SecurityHandler"/>
        </requestFlow>
	<responseFlow>
            <handler name="SecurityHandler"
                     type="java:com.osmoticweb.axis.SecurityHandler"/>
        </responseFlow>
    </transport>
</deployment>
Incoming requests at the server side are received by a transport. A transport has a request and response chain.

Attributes

NameMandatoryDefaultDescriptionExamples
nameyes-Name of the transporthttp, local, java
pivotno-Transport handler for an Axis clientcom.osmoticweb.soap.MySenderHandler

Childs

NameCardinalityDescription
parameter0...nName/value pair to configure the transport handler
requestFlow0...1A chain of handlers
responseFlow0...1A chain of handlers

Index

Provided by Orientation in Objects