response.mainpart returns null for application/scim+json

book

Article ID: 142680

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

${response.mainpart} returns null for ${response.contentType} as application/scim+json

 while the call itself returns the JSON mainpart is null.

Cause

The call itself returns the JSON mainpart is null.

Environment

Release : 9.4

Component : API GTW ENTERPRISE MANAGER

Resolution

1. add the cluster-wide property: contentType.otherTextualTypes and set the value in there to: application/scim+json

Gateway will treat that content-type as text type, so that it handles messages with that content-type the same way as it would for XML, JSON, etc.
Each content type added to that cluster-wide property should be on it's own line.

It allow to include charsets if needed  as well.

2. A restart of ssg service is required for this modification on cluster-wide property for the changes to go into affect.

Additional Information

The following link/page has a bit more information on the cluster-wide property:

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-4/reference/gateway-cluster-properties/miscellaneous-cluster-properties.html