Use the get-default-idp operation to retrieve the default IdP URL.
A request XML packet retrieving the default IdP URL includes the get-default-idp operation node:
<packet version="1.5.2.0">
<sso>
<get-default-idp/>
</sso>
</packet>
The get-default-idp node is required. Data type: none.
The get-default-idp node of the output XML packet is presented by type SSOGetDefaultRelayOutput (sso.xsd
) and structured as follows:
common.xsd
).
The packet that retrieves the default IdP URL can look as follows:
<packet version="1.5.2.0">
<sso>
<get-default-idp/>
</sso>
</packet>
The positive response from the server looks as follows:
<packet version="1.5.2.0">
<sso>
<get-default-idp>
<result>
<status>ok</status>
<idp-url>aHR0cDovL3Nzby5leGFtcGxlLmNvbToxMTgwLw==</idp-url>
</result>
</get-default-idp>
</sso>
</packet>
A negative response from the server can look as follows:
<packet version="1.5.2.0">
<sso>
<get-default-idp>
<result>
<status>error</status>
<errcode>1026</errcode>
<errtext>The service is not installed.</errtext>
</result>
</get-default-idp>
</sso>
</packet>