HI, Is there any way to expose a Endpoint binding with HTTPS only using AXIS2 ..? something like
https://host:port/web/services/PayfoneService.PayfoneServiceHttpsEndpoint Thanks , On Mon, Nov 3, 2008 at 5:53 PM, Sagara Gunathunga < [EMAIL PROTECTED]> wrote: > > Hi, > We use Axis2-1.4 within a Spring application , and we have a requirement to > expose web service only for HTTPS transport. So I did the following > procedure . > > 1.) Enable the <transportReceiver name="https" .....> in axis2.xml file . > (Initially I got an error but once I add HttpCore and HttpCore -nio as > Maven dependencies it solved.) > > 2.) Then add <transports> <transport>https</transport> </transports> in to > service.xml file . > > We have configured a JBOSS server for SSL certificates and it works fine > for web application , but when it deploy web service I got following error > message . > > org.apache.axis2.deployment.DeploymentException: Service [ PayfoneService] > is trying to expose in a transport : <transports> > <transport>https</transport> > </transports> and which is not available in Axis2 > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:179) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81) > > > > In our development environment we use Jetty embedded server with M2 and we > got same exception with Jetty too, > Is there any way to solve this with Axis 2 without using security module > (Rampart)..? > > > Thanks , > > > Sagara Gunathunga > > Blog - ssagara.blogspot.com > Web - http://sagaras.awardspace.com/ > -- Sagara Gunathunga Blog - ssagara.blogspot.com Web - http://sagaras.awardspace.com/