Wednesday, December 7, 2011

Using Vordel SOAPbox to send a SAMLResponse structure for SAML-based SSO

The SAMLResponse structure is often used for SAML-based single sign-on to Web apps. For example, it is used by SalesForce. In order to test an API or API Gateway which expects a SAMLResponse, SOAPbox can be used. In the example below, I have taken a SAMLResponse which was generated and URL-encoded by the Vordel Gateway. I have placed it into the "Request" field of SOAPbox:

When I send the SAMLResponse to the Web App, it must be sent with a content type of "application/x-www-form-urlencoded". Here, under the "Headers" sub-tab, is how I set this:

When, when I press the triangular green "Play" button, the SAMLResponse is sent. In this way, you can tee up example SAMLResponse structures for testing purposes. Happy testing!