0 Replies Latest reply on Jan 20, 2014 8:57 AM by sebastian.choina

    Webservices with SSO - WS-Trust + PicketLink STS - troubles with example from docs

    sebastian.choina

      Hello

      I want to follow guide from jboss documentation WS-Trust and STS - JBoss Web Services - Project Documentation Editor to create webservice with auth token on Jboss AS 7.1.1 Final, however I am stuck due to lack of code/informations in guide.

      1. What kind of dependency is used to get SecurityConstants in client code? Imports are trimmed down. I guess it comes from JBoss modules, but whitch ones?

      2. How can I generate proper SOAP message to test WS not from code, but from external SOAP client? SoapUI generates only some kind of message stub from provided WSLD like this:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:picketlink:identity-federation:sts" xmlns:ns="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
         <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"/>
         <soapenv:Body>
            <urn:MessageBody>
               <!--You may enter ANY elements at this point-->
            </urn:MessageBody>
         </soapenv:Body>
      </soapenv:Envelope>
      

      is this WSDL out of date? (broken links etc)

       

      3.Does anyone know any other working and clear example of WS-Trust and STS intergration? Sources + deployable war would be the best option.

      Thank you.