On 5/29/07, Afkham Azeez <[EMAIL PROTECTED]> wrote:

You need to do two things:

1. Enable HTTPS transport in axis2

   Add the following segment:

    <transportSender name="https"
                     class="
org.apache.axis2.transport.http.CommonsHTTPTransportSender ">
        <parameter name="PROTOCOL">HTTP/1.1</parameter>
        <parameter name="Transfer-Encoding">chunked</parameter>
    </transportSender>


The above segment has to be added to you axis2.xml file.

2. If necessary, enable HTTPS transport in the services.xml of your service
archive (.aar file)
        This is necessary only if you have explicitly declared that your
service has to be exposed via certain transports. In such a case, you'd need
to add;
       <transports>
           <transport>http</transport>
            <transport>https</transport>
        </transports>
to the services.xml.
If the transports element is not present, the service will be exposed on
all available transports.

HTH
Azeez

On 5/29/07, Wang, Hailong (NIH/CIT) [C] <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>
>
> I need to provide two transport support, one is HTTP, and another is
> HTTPS. For the HTTP, I will use Rampart to secure the SOAP message. But for
> HTTPS, I will count on HTTPS to secure the communication. Is that possible
> in axis2? Thanks very much in advance.
>
>
>
>
>
> *Hailong Wang*
>
> National Database for Autism Research(NDAR)
>
> NIH/CIT/DECA (MOM CONTRACTOR)
>
> 9000 Rockville Pike, Bld 12A/Room 2027
>
> Bethesda, MD 20892
>
> Phone:  301-402-3045
>
> Fax:       301-480-0028
>
> Email:   [EMAIL PROTECTED]
>
> URL:   http://ndar.nih.gov
>
>
>



--
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760




--
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Reply via email to