[jboss-user] [JBossWS] - WS config
nickarls
do-not-reply at jboss.com
Thu Oct 4 03:19:18 EDT 2007
I'm trying to secure my existing web service, I added
| @EndpointConfig(configName = "Standard WSSecurity Endpoint")
|
and it is picked up (garbling => error)
and put an
| <?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>META-INF/wsse.keystore</key-store-file>
| <key-store-password>jbossws</key-store-password>
| <trust-store-file>META-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>
|
and it is picked up (garbling => error)
since it is an EAR with the WS class in an JAR, I put all the ws-related files in the META-INF directory of the jar (following the wiki).
But still my wsdl shows no sign of encryption tags. Suggestions?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091363#4091363
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091363
More information about the jboss-user
mailing list