On Sat, May 31, 2008 at 7:57 AM, Eran Chinthaka <[EMAIL PROTECTED]>
wrote:

> Keith,
>
> I think enabling https, will allow the "client" to access the service over
> https. But the question seems to be how to tell axis2 about the new https
> transport receiver. I also like to know the answer to this. (this is a
> question I got from my friend Ruwan also).
>
> basically once you configure Tomcat to use https, how can you tell Axis2
> about this so that it will https as a transport binding in the WSDL?


Well, if you haven't added any transport entries in the services.xml file of
your service, it will be exposed via all transports by default. So like
Keith explained (sample:
https://wso2.org/repos/wso2/trunk/wsas/java/modules/core/conf/axis2.xml), if
you simply define an HTTPS transport listener in the axis2.xml, the
transport binding will appear in the WSDL. If you only need to expose your
transport via HTTPS, you need to add the
<transports>
   <transport>https</transport>
</transports>

entry to the services.xml file (sample:
https://wso2.org/repos/wso2/trunk/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/META-INF/services.xml
).


Azeez


>
>
> On Tue, May 27, 2008 at 7:35 AM, keith chapman <[EMAIL PROTECTED]>
> wrote:
>
>> Hi Sandeep,
>>
>> All you need to do is enable https transport in Axis2 via the axis2.xml.
>> It may be enabled already (check your axis2.xml).  Now you should be able to
>> access  your service over https.
>>
>> Thanks,
>> Keith.
>>
>>
>> On Tue, May 27, 2008 at 7:26 PM, sandeep_khurana <
>> [EMAIL PROTECTED]> wrote:
>>
>>>
>>> I have made a simple webservice to work on HTTP. Now I want to make it
>>> run on
>>> HTTPS, I have configured my Tomcat for HTTPS.
>>>
>>> Can anybody give me steps of hosting my webservice on HTTPS (so that my
>>> wsdl
>>> is available on HTTPS)?
>>>
>>> Are there any configurational changes that I need to make?
>>>
>>> Thanks in advance.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Webservice-on-SSL-%28HTTPS%29-tp17491012p17491012.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]
>>>
>>>
>>
>>
>> --
>> Keith Chapman
>> Senior Software Engineer
>> WSO2 Inc.
>> Oxygenating the Web Service Platform.
>> http://wso2.org/
>>
>> blog: http://www.keith-chapman.org
>
>
>
>
> --
> With Mettha,
> Eran Chinthaka
>
> --------------------------------------------------------------------
> Health is the greatest gift; contentment is the greatest wealth; trusting
> is the best relationship; nirvana is the highest joy. - Dhammapada




-- 
Thanks
Afkham Azeez

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

Reply via email to