Layer7 API Management

  • 1.  Unable to fetch value from Response:

    Posted Sep 14, 2016 05:07 PM

    Unable to fetch value from Response:

     

    Below are the response From there  want to fetch "saml:Conditions" using EvaluateResponseXpath assertions 

     

    <saml:Assertion AssertionID="Test123" Issuer="CALayer7" IssueInstant="2015-09-11T21:02:17.008Z" MinorVersion="1" MajorVersion="1" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
    <saml:Conditions NotOnOrAfter="2016-09-10T21:02:17.008Z" NotBefore="2015-09-11T20:57:17.008Z">
    <saml:AudienceRestrictionCondition>

     

    While using EvaluateResponseXpath assertions in the policy  define xapth as /saml:Assertion/saml:Conditions but getting error while hitting polciy .

     

    INFO3017Policy evaluation for service decodeTokenREST [767754242] resulted in status -1 (Undefined)


  • 2.  Re: Unable to fetch value from Response:
    Best Answer

    Posted Sep 16, 2016 01:56 AM

    Issue Resolved: 

    There was issue with EvaluateResponseXpath assertions  configuration , After adding Name space  for SAML asseration NameSpace: urn:oasis:names:tc:SAML:1.0:assertion  Service is working properly .