[jboss-user] [JBossWS] - JBossWS 1.0.1GA JSR181 and WS-Security

yi_zhang do-not-reply at jboss.com
Tue Jul 11 03:01:53 EDT 2006


We have a web service implemented as EJB3 Stateless Session endpoint using JSR181.  I followed instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurityConfig to turn on message signing but nothing happens:

Our application works exactly the same with or without the jboss-wsse-server.xml file.   We are using JBossWS 1.0.1GA on JBoss 4.0.4GA

Our application is pakcaged and deployed as an EAR with the following structure:

app.ear
--META-INF
------application.xml
------jboss-app.xml
--webservice.jar
------class files
------META-INF
----------jboss-wsse-server.xml
----------wsse.keystore
----------wsse.truststroe

Here is the boss-wsse-server.xml:

  <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>META-INF/oipm.keystore</key-store-file>
  | 	<key-store-password>oipmessaging</key-store-password>
  | 	<key-store-type>JKS</key-store-type>
  | 	<trust-store-file>META-INF/oipm.keystore</trust-store-file>
  | 	<trust-store-password>oipmessaging</trust-store-password>
  | 	<config>
  | 		<sign type="x509v3" alias="oipm" includeTimestamp="false" />
  | 		<requires>
  | 			<signature />
  | 		</requires>
  | 	</config>
  |   </jboss-ws-security>
  | 
Any help is greatly appreciated!

Yi

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

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



More information about the jboss-user mailing list