[jboss-user] [JBossWS] - Re: problem with calling ssl web service

rouvas do-not-reply at jboss.com
Wed Apr 16 06:51:17 EDT 2008


You posted that your interfaces are accessible through 

  | https://myserver.com:8443/interfaces/InterfaceBean
  | 
but in the url-pattern you stated

  | /interfaces/InterfaceBean1
  | 
see the "1" at the end?

I've managed to get it working using the following settings:

file ${JBOSS_HOME}/server/default/deploy/jboss-web.deployer/server.xml


  | <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
  |                maxThreads="150" scheme="https" secure="true"
  |                clientAuth="false" sslProtocol="TLS"
  |                keystoreFile="${jboss.server.home.dir}/server.keystore"
  |                keystorePass="welcome"
  |                />
  | 

and in my web.xml


  | <?xml version="1.0" encoding="UTF-8"?>
  | <web-app>
  | 
  |   <servlet>
  |     <servlet-name>adder</servlet-name>
  |     <servlet-class>gr.rouvas.adder</servlet-class>
  |   </servlet>
  |   <servlet-mapping>
  |     <servlet-name>adder</servlet-name>
  |     <url-pattern>/adder</url-pattern>
  |   </servlet-mapping>
  | 
  | <security-constraint>
  |   <web-resource-collection>
  |     <web-resource-name>All resources</web-resource-name>
  |     <url-pattern>/adder</url-pattern>
  |   </web-resource-collection>
  |   <user-data-constraint>
  |     <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  |   </user-data-constraint>
  | </security-constraint>
  | 
  | </web-app>
  | 

in my case, it is a POJO web service.

-Stathis

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144437#4144437

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144437



More information about the jboss-user mailing list