Re: Disable wsdl url
Thanks amila, I'll try it and see. On Thu, Oct 8, 2009 at 11:53 AM, Amila Suriarachchi < amilasuriarach...@gmail.com> wrote: > hi, > > if you have deployed axis2 as a web app, try to put a servlet filter or > define some url pattern in the web.xml > > thanks, > Amila > > > > On Wed, Oct 7, 2009 at 3:50 PM, Darshana ® wrote: > >> Hello, >> >> I want to disable people accessing the wsdl. Currently any one can access >> wsdl of the my axis2 project through >> ":9002/web/services/Axis2WS?wsdl". >> >> I just want to restrict people accessing the wsdl, simply I want to >> disable the wsdl url. >> >> But I couldnt find a way to do this, it'll be a great help if any body can >> give me a solution for this. >> >> Thanks >> >> >> > > > -- > Amila Suriarachchi > WSO2 Inc. > blog: http://amilachinthaka.blogspot.com/ >
Disable wsdl url
Hello, I want to disable people accessing the wsdl. Currently any one can access wsdl of the my axis2 project through ":9002/web/services/Axis2WS?wsdl". I just want to restrict people accessing the wsdl, simply I want to disable the wsdl url. But I couldnt find a way to do this, it'll be a great help if any body can give me a solution for this. Thanks
Re: Axis2 Jboss and SSL issue
Hi Sudhir, Thanks a lot for your quick reply, but I have already enabled ssl for jboss sucessfully. What Im currently trying to do is enabling the ssl for axis2. Thats where I have stuck now. Any idea?? Thanks.. On Thu, Apr 16, 2009 at 3:52 PM, Sudhir Mongia wrote: > You can see the tutorials here to enable SSL on JBoss. > http://www.theserverside.com/discussions/thread.tss?thread_id=22243 > http://roneiv.wordpress.com/2008/01/03/jboss-tutorial-how-to-enable-ssl-https-on-jboss-as-well-as-other-nice-to-know-configurations/ > > Thanks, > Sudhir > On Thu, Apr 16, 2009 at 3:47 PM, Darshana ® wrote: >> >> Hi, >> >> I'm trying to configure SSL for axis2 on jboss. Problem is I dont know >> where to put the .jks file. I tried putting the jks file to following >> locations. >> >> WEB-INF directory of the web archive. >> META-INF directory of the web archive >> jboss home directory >> {jboss home}/server/default directory >> {jboss home}/server/default/deploy directory >> {jboss home}/bin directory >> >> Also I tried with the absolute path of the .jks (localhost.jks in my case) >> file. >> >> Following are my Keystore and Truststore parameters in >> transportReceiver and transportSender beans included in the axis2.xml >> >> >> >> localhost.jks >> JKS >> 123456 >> 123456 >> >> >> >> >> localhost.jks >> JKS >> 123456 >> >> >> >> When I'm starting the jboss server, everytime it gives an error like this. >> >> java.lang.NullPointerException >> at >> org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener.getSSLContext(HttpCoreNIOSSLListener.java:96) >> at >> org.apache.axis2.transport.nhttp.HttpCoreNIOListener.init(HttpCoreNIOListener.java:151) >> at >> org.apache.axis2.engine.ListenerManager.start(ListenerManager.java:125) >> at >> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:442) >> at >> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) >> at >> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) >> at >> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4069) >> at >> org.apache.catalina.core.StandardContext.start(StandardContext.java:4373) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) >> at >> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) >> at >> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) >> at >> org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >> But when I commented out above mentioned parameters from axis2.xml >> file, server starts sucessfully without any errors. >> >> Please give me idea, where should I put the localhost.jks file > >
Axis2 Jboss and SSL issue
Hi, I'm trying to configure SSL for axis2 on jboss. Problem is I dont know where to put the .jks file. I tried putting the jks file to following locations. WEB-INF directory of the web archive. META-INF directory of the web archive jboss home directory {jboss home}/server/default directory {jboss home}/server/default/deploy directory {jboss home}/bin directory Also I tried with the absolute path of the .jks (localhost.jks in my case) file. Following are my Keystore and Truststore parameters in transportReceiver and transportSender beans included in the axis2.xml localhost.jks JKS 123456 123456 localhost.jks JKS 123456 When I'm starting the jboss server, everytime it gives an error like this. java.lang.NullPointerException at org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener.getSSLContext(HttpCoreNIOSSLListener.java:96) at org.apache.axis2.transport.nhttp.HttpCoreNIOListener.init(HttpCoreNIOListener.java:151) at org.apache.axis2.engine.ListenerManager.start(ListenerManager.java:125) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:442) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4069) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4373) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) But when I commented out above mentioned parameters from axis2.xml file, server starts sucessfully without any errors. Please give me idea, where should I put the localhost.jks file