<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

  <servlet>
    <servlet-name>ConfidentialEndpoint</servlet-name>
    <servlet-class>org.jboss.test.ws.jaxws.jbws1190.ConfidentialEndpoint</servlet-class>
  </servlet>
    
  <servlet>
    <servlet-name>Endpoint</servlet-name>
    <servlet-class>org.jboss.test.ws.jaxws.jbws1190.EndpointImpl</servlet-class>
  </servlet>
 
  <servlet-mapping>
    <servlet-name>ConfidentialEndpoint</servlet-name>
    <url-pattern>/ConfidentialEndpoint</url-pattern>
  </servlet-mapping>
   
  <servlet-mapping>
    <servlet-name>Endpoint</servlet-name>
    <url-pattern>/Endpoint</url-pattern>
  </servlet-mapping>
  
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>ConfidentialEndpoint</web-resource-name>
      <url-pattern>/ConfidentialEndpoint</url-pattern>
    </web-resource-collection>    
    <user-data-constraint>
      <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
  </security-constraint>  
</web-app>