Community

JBossWS Native + WS-Security - missing WS-SecurityPolicy info in WSDL

reply from Matthias Kahlau in JBoss Web Services - View the full discussion

Thanks for your response. Which security related annotations do you refer to? I only know the @EndpointConfig on the SEI. I use this annotation like this:

@EndpointConfig(configName = "Standard WSSecurity Endpoint")

 

The "Standard WSSecurity Endpoint" is defined in:

[JBOSS_HOME]\server\default\deployers\jbossws.deployer\META-INF\standard-jaxws-endpoint-config.xml

 

I did not change this configuration in any way:

 

<endpoint-config>
    <config-name>Standard WSSecurity Endpoint</config-name>
    <post-handler-chains>
      <javaee:handler-chain>
        <javaee:protocol-bindings>##SOAP11_HTTP ##SOAP11_HTTP_MTOM</javaee:protocol-bindings>
        <javaee:handler>
          <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
          <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer</javaee:handler-class>
        </javaee:handler>
        <javaee:handler>
          <javaee:handler-name>Recording Handler</javaee:handler-name>
          <javaee:handler-class>org.jboss.wsf.framework.invocation.RecordingServerHandler</javaee:handler-class>
        </javaee:handler>
      </javaee:handler-chain>
    </post-handler-chains>
  </endpoint-config>

 

So I don't know what is missing to get the encryption started.

 

Does it only work in combination with a JAAS configuration?

 

Does JBoss 5.1.0.GA including JBossWS Native 3.1.2.GA or 3.2.2.GA (JDK 6) support rendering WS-SecurityPolicy in the WSDL at all, when WS-Security is configured on the server side? (I do only want to figure out this issue at the moment. Did not try a client side security configuration (jboss-wsse-client.xml etc.) yet!)


If this should work, could you please post me the relevant snippets or point to wrong or missing aspects of my setup described so far in this thread?

 

Any help highly appreciated.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community