cancel
Showing results for 
Search instead for 
Did you mean: 

Query Parameters for Resource in Open Connectors Adapter in CPI

1,586

Hi All,

I'm trying to configure OpenConnectors adapter in CPI. Creation of App, deploying Key in Security Material Everything is done. When I send the Resource as hardcoded value, I could get the response successfully.

But, Instead if I want to pass the resource dynamically from Payload example , /envelopes/${header.Id} or ${in.header.Id}, the system mandates to enter Query parameter for Resource.

I used, OpenConnector Receiver Configuration for configuring it. but I could not understand why it is not working.

Content Modifier :

Receiver configuration for usage of message header.

in the Query parameters for resource, I used the below options as trial and error analysis.

{Id}

{header.Id}

Id= {Id}

Id= {header.Id}

But the error remained the same.

Error Message:

com.sap.it.rt.adapter.openconnectors.exceptions.OpenConnectorsException: Error occured in Http Request : com.sap.it.rt.adapter.openconnectors.exceptions.OpenConnectorsException: Query Parameters missing against Resource URI, cause: com.sap.it.rt.adapter.openconnectors.exceptions.OpenConnectorsException: Query Parameters missing against Resource URI

And the Log as follows. (donot click, its not a URL)

{Activity=sap-openconnectors:https://api.openconnectors.ext.hanatrial.ondemand.com/elements/api-v2?openConnectorAlias=<CredentialName>&openConnectorResource=/envelopes/${in.header.Id}&httpMethod=get&requestFormat=json&responseFormat=xml≺ocessInPages=false&httpConnectionTimeout=60000&receiverName=Receiver&channelName=OpenConnectors,

any help is much appreciated.!

Regards,

Sidharth VR

Accepted Solutions (0)

Answers (2)

Answers (2)

I got to know from SAP that this feature is still not yet rolled out for Open connectors.

Regards,

Sidharth VR

0 Kudos

Hi Sidharth,

thanks for the information. Bummer, it was working a month ago for me with the Exchange Propertys in the Recource field.

Regards

Saraj

0 Kudos

Hi Sidharth,

I have the same issue, where you able to resolve the issue?

Regards

Saraj