axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru Suriarachchi <isur...@gmail.com>
Subject Can we have multiple ports in a JAX-WS service?
Date Fri, 04 Feb 2011 07:28:53 GMT
Hi all,

AFAIK, we can't have multiple ports in a JAX-WS service. We can set the
portName property in the @WebService annotation and that is the only port
which will be there in the WSDL.

But, in normal Axis2 services, we can have multiple ports in the WSDL
according the different transports available. So how can we expose a JAX-WS
service on all existing transports? For example if we deploy Axis2 on Tomcat
and enable HTTPS transport, we should be able to invoke a JAX-WS servie on
HTTPS. But in the WSDL, there's only one port which is for HTTP.

Is there any solution for this problem?

Thanks,
~Isuru

-- 
Technical Lead,
WSO2 Inc. http://wso2.org/
Blog : http://isurues.wordpress.com/

Mime
View raw message