Glossary Item Box

Government Gateway 2.2.0 (MR-01) ISV Developer Help (Doc Version 06/03/08) | Send comments on this topic.

# InvalidRequest

An InvalidRequest fault occurs as the result of an STS request that is not supported, for example:

- A request to STS for a GatewayToken where the request contains a GatewayToken
- A request to STS for a Non-Repudiation GatewayToken where the request contains a TicketBook
- A request to STS for a SAMLAssertion where the request contains a SAMLAssertion

    <soap:Envelope
      xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
      xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
      xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
      xmlns:soap=
      "http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Header>
        <wsa:Action>http://schemas.xmlsoap.org/ws/2004/03/addressing/fault</wsa:Action>
        <wsa:MessageID>uuid:1100961d-6ce3-42e7-b14e-0b68cca79f06</wsa:MessageID>
        <wsa:RelatesTo>uuid:a6ddde8f-28c9-459b-9fb4-85f2c90b6206</wsa:RelatesTo>
        <wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
        <wsse:Security> <wsu:Timestamp
          wsu:Id="imestamp-f60aa4f2-2cf5-4510-8221-79178623d81d">
          <wsu:Created>2005-08-23T08:21:27Z</wsu:Created>
        <wsu:Expires>2005-08-23T08:26:27Z</wsu:Expires>
        </wsu:Timestamp>
      </wsse:Security>
      </soap:Header>
      <soap:Body>
        <soap:Fault>
          <faultcode xmlns:code="http://schemas.xmlsoap.org/ws/2004/04/trust">code:InvalidRequest</faultcode>
          <faultstring>The request is invalid or malformed</faultstring>
          <faultactor>urn:GSO-System-Services:external:1.65:GatewaySecurityTokenService</faultactor>
        </soap:Fault>
      </soap:Body>
    </soap:Envelope>

© Crown Copyright 2008. All rights reserved