RE: [Axis2] Web Services Rest using https support‏? ??

Marcos Morales <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Thanks for the reply! this includes rest web services?

________________________________
De: Deepal jayasinghe
Enviado: 14/06/2014 16:33
Para: [email protected]
Asunto: Re: [Axis2] Web Services Rest using https support‏‏

Axis2 support HTTPS, you need to expose the service via https.  For that
you need to add the following to services.xml (or axis2.xml).

<transports>
  <transport>https</transport>
</transports>

This might help -
http://blogs.deepal.org/2007/07/all-about-axis2-servicesxml.html

Deepal
> Hi! I was trying to develop a web service rest using https (the same
> web service works using http) but i'm having the following error:
>
> GRAVE: El Servlet.service() para el servlet [AxisServlet] en el
> contexto con ruta [/axis2] lanzó la excepción [https is forbidden] con
> causa raíz
> javax.servlet.ServletException: https is forbidden
> at
> org.apache.axis2.transport.http.AxisServlet.preprocessRequest(AxisServlet.java:637)
> at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:247)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> My question is: Axis2 support web services rest using https protocol?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.