Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSTrust.wsdl invalid action #162

Open
matejsp opened this issue Apr 12, 2013 · 1 comment
Open

WSTrust.wsdl invalid action #162

matejsp opened this issue Apr 12, 2013 · 1 comment

Comments

@matejsp
Copy link

matejsp commented Apr 12, 2013

According to spec if WS-Trust is returnig collection of tokens (seems to be default in picketlink).

<wsdl:portType name="SecureTokenService">
   <wsdl:operation name="IssueToken">
  <wsdl:input wsap10:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" message="tns:RequestSecurityToken"/>
  <wsdl:output wsap10:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue" message="tns:RequestSecurityTokenResponse"/>
</wsdl:operation>
</wsdl:portType>

But should be:

 <wsdl:output wsap10:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal" message="tns:RequestSecurityTokenResponse"/>

SOAP Action should be collection (RSTRC), because Issue call is returning

  <wst:RequestSecurityTokenResponseCollection xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
     <wst:RequestSecurityTokenResponse>
        <wst:TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0</wst:TokenType>
        <wst:Lifetime>
@anilsaldhana
Copy link
Contributor

Please free to send pull requests for code changes. We deeply appreciate any open source contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants