jboss-web.xml
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
| <jboss-web>
| <webservice-description>
| <webservice-description-name>ws_producer</webservice-description-name>
| <config-name>Standard WSSecurity Endpoint</config-name>
| </webservice-description>
| </jboss-web>
jboss-wsse-server.xml
<?xml version="1.0" encoding="UTF-8"?>
| <jboss-ws-security
|
xmlns="http://www.jboss.com/ws-security/config"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
| <key-store-file>WEB-INF/wsse.keystore</key-store-file>
| <key-store-password>jbossws</key-store-password>
| <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
| <trust-store-password>jbossws</trust-store-password>
| <config>
| <sign type="x509v3" alias="wsse" />
| <encrypt type="x509v3" alias="wsse" />
| <requires>
| <signature />
| <encryption />
| </requires>
| </config>
| </jboss-ws-security>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
| <web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
| <description>JBoss Integration Test - WS-Security Test - WS
Producer</description>
| <display-name>JBoss Integration Test - WS-Security Test - WS
Producer</display-name>
|
| <servlet>
| <description>WS Producer Servlet</description>
| <display-name>WS Producer Servlet</display-name>
| <servlet-name>WsProducerServlet</servlet-name>
|
<servlet-class>it.auriga.jbossintegrationtest.wssecurity.producer.ServiceImpl</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>WsProducerServlet</servlet-name>
| <url-pattern>/service</url-pattern>
| </servlet-mapping>
| </web-app>
application.xml
<?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application
1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
| <application>
| <display-name>JBoss Integration Test - WS-Security Test - WS
Producer</display-name>
| <module>
| <web>
| <web-uri>ws_producer.war</web-uri>
| <context-root>/ws_producer</context-root>
| </web>
| </module>
| </application>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077364#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...