on 2019 Mar 27 11:40 AM
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
I got to know from SAP that this feature is still not yet rolled out for Open connectors.
Regards,
Sidharth VR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.