search cancel

Service Catalog: Cannot consume Web Service after configuring with SAML authentication

book

Article ID: 200758

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Catalog

Issue/Introduction

Error in PAM:

Error seen: SOAP invocation failed: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?


 

 

SOAPUI

Unexpected character encountered(lex state 10)

 

Cause

web.xml has: <filter-mapping><filter-name>FederationFilter</filter-name> <url-pattern>/*</url-pattern></filter-mapping>

Environment

Release : 17.2 RU 9

Component : CA SERVICE CATALOG

Resolution


1. Remove the following line from web.xml:


<filter-mapping><filter-name>FederationFilter</filter-name> <url-pattern>/*</url-pattern></filter-mapping>

 

It should look similar to:

   <!-- SAML Filter Mapping --> 
    <filter-mapping> <filter-name>FederationFilter</filter-name> <url-pattern>*.rpc</url-pattern> </filter-mapping>
    <filter-mapping> <filter-name>FederationFilter</filter-name> <url-pattern>/wpf/*</url-pattern> </filter-mapping>
    <filter-mapping> <filter-name>FederationFilter</filter-name> <url-pattern>/uslm/*</url-pattern> </filter-mapping>
    <filter-mapping> <filter-name>FederationFilter</filter-name> <url-pattern>/assure/*</url-pattern> </filter-mapping>
    <filter-mapping> <filter-name>FederationFilter</filter-name> <url-pattern>/documents/*</url-pattern> </filter-mapping>
   <!-- END SAML Filter Mapping --> 

2. Restart Catalog services.