My Oracle Support Banner

Inbound HTTP Service Which Executes Workflow Contains HTTP Response Headers With Space. (Doc ID 2754966.1)

Last updated on APRIL 05, 2021

Applies to:

Siebel CRM - Version 19.12 and later
Information in this document applies to any platform.

Symptoms

To test this scenario, please follow the below instructions.

1. Create below entry in eai.cfg (<SiebelHome>\ses\siebsrvr\BIN\enu)

Testservice = Testservice

2. Create the same profile in Administration -->Server configuration --->Enterprises-->Profile configuration

Profile name: Testservice
DispatchMethod: Test Method
DispatchService: Test Service

3. Create custom business service with the below script i.e to call workflow.


Business Service Name : Test Service
Business Service Method Name: Test Method

With 2 input arguments


Object Id -- Input argument with data type as String
SiebelMessage --Output argument with datatype as Hierarchy

function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{
var svc = TheApplication().GetService("Workflow Process Manager");
var Input = TheApplication().NewPropertySet();
var Output = TheApplication().NewPropertySet();
Input.SetProperty("ProcessName", "Test Workflow");
Input.SetProperty("Object Id", "1-GOUL");
svc.InvokeMethod("RunProcess", Input, Outputs);
return (CancelOperation);
}

4. Created simple workflow "Test Workflow" with Query of EAI Siebel Adapter.

5. From POSTMAN

URL : https://<AI HOSTNAME>:<AI HTTPS PORT>/siebel/app/eai/enu

Request Body:

SWEExtSource: Testservice
SWEExtCmd: Execute
SWEExtData:
UserName:sadmin
Password:siebel

 We see below headers with spaces. Remaining all headers are without any space. External systems expect that response HTTP headers shouldn't contain spaces.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.