Symantec Access Management

Rest API webservices of Layer 7 Access Gateway is failing in SOAP UI client

  • 1.  Rest API webservices of Layer 7 Access Gateway is failing in SOAP UI client

    Posted 2 days ago
    Hi Everyone,

    We have recently enabled SOAP/REST Auth/AZ Webservices in our CA Secure Proxy Server by following CA Community guide and Broadcom document.

    however when we are testing from SOAP Client, we receive below response.

    We don't see any error in logs and receiving proper headers from Policy Server. Please help me with suggestion if anyone has already faced this issue and resolve it.


    authazws.log - in logs we receive all headers from Policy server but it is not printing in SOAP Response. also we see SMSESSION is generated, if I use this SMSESSION token to Authorize user for resource still it fails.

    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Entered login()
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Entered getFilterCtxDataForAuthAZ()
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - appId: app resource: /index.html
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header password : data not shown
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header action : POST
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header appid : app
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header resource : /index.html
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Printing Headers
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header content-length : 91
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_TIMETOEXPIRE : 7200
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_USERDN : CN=xxxxx,OU=xxxx,O=xxxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header Accept-Encoding : gzip,deflate
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_REALM : wsRealm
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_AUTHDIRNAMESPACE : LDAP:
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header authorization : data not shown
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_SDOMAIN : .xxxx.xxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_AUTHTYPE : Basic
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header password : data not shown
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_AUTHREASON : 0
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header host : xxxxx.xxxx..xxxxxxxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header action : POST
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header content-type : application/json
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header connection : Keep-Alive
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_SERVERSESSIONID : /WqY0ybgl1IxaACNAaVCsZVol1o=
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_AUTHDIRSERVER : xxxxxxxxxx:xxxxxxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_SERVERSESSIONSPEC : Ga9C4wYqm4tQF74nZgK7fkL7BShzS4rRlqL497ZnbSZBOLLaDtnPqBpKhDd1IYU1yDam7FE60isnT/+t2HWdo7G6LyX+jqeumzByO5IdO3kRPcdfILYUy1YbrATOBkNKbqjxOlONZxCioK2x90HV5u6aVkaHnqXvo8FHNnSeFnufRO1GfDBo7LcLpzuSyG7hAQNchPs/B2JdY+2OQHfdY7lCIbuJmfxvC3EfZkY0cgspEvQckFardQbbTrr6xDgU6C/VrN8b27boj6RgXCy8TTzxNFeZ6p7xoez30pxkNZ2GY6MQmxRu09vblnhSEvaBqWkJkxoYfREdnTqAPQyTmJN1QeHtFmYqqzvhswseLsJMgVCV/OuexRLFw/JjVHbH9a4T3zQersoRiji6PQaxG/+cuIN2uRw4f3AwbveNNvgZU0P0FxaFjw==
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header cookie : data not shown
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header resource : /index.html
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_SESSIONDRIFT : 0
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_REALMOID : 06-522b35e4-d55a-4370-86f6-edd45d55d553
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_AUTHDIROID : 0e-5920a6c1-1b3d-48ba-a8e7-acc608045ed6
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_AUTHDIRNAME : xxxxxxxxxxxxxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header appid : xxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_TRANSACTIONID : axxxxxxxxxxxxxxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_USER : xxxxx
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header SM_SERVERIDENTITYSPEC :
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Header user-agent : Apache-HttpClient/4.5.5 (Java/12.0.1)
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Done Printing Headers
    2021-Feb-22 12:42:54,148 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Exit getFilterCtxData()
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogicBackend - ProcessRequest returned: -1
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Entered getResponseAttribute
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Leaving getResponseAttribute
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Entered getResponseAttribute
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Leaving getResponseAttribute
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Entered populateResponseAttributes
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: content-length
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_TIMETOEXPIRE
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_USERDN
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: Accept-Encoding
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_REALM
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_AUTHDIRNAMESPACE
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: authorization
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_SDOMAIN
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_AUTHTYPE
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: password
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_AUTHREASON
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: host
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: action
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: content-type
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: connection
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_SERVERSESSIONID
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_AUTHDIRSERVER
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_SERVERSESSIONSPEC
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: cookie
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: resource
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_SESSIONDRIFT
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_REALMOID
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_AUTHDIROID
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_AUTHDIRNAME
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: appid
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_TRANSACTIONID
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_USER
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: SM_SERVERIDENTITYSPEC
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - key: user-agent
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Leaving populateResponseAttributes
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Leaving login() returning: com.ca.soa.services.authaz.webservice.LoginResult@4a55d00b
    2021-Feb-22 12:42:54,191 - DEBUG - com.ca.soa.services.authaz.webservice.ServiceLogic - Leaving login()