cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Dynamic Date Adapter Specific Message Attribute to Rest Receiver URL

manny_papadelias
Explorer
0 Kudos

Hi

I have created a UDF in ESR mapping to pass timestamp to URL patter in REST URL. The timestamp is being passed to Dynamic Configuration http://sap.com/xi/XI/System/Rest' name='TimeStamp'.

<SAP:DynamicConfiguration SOAP:mustUnderstand='1'>
<SAP:Record namespace='http://sap.com/xi/XI/Message/30/routing' name='SourceMessageTypeNS'>xxxxxxxxxxxxxxxxxx</SAP:Record>
<SAP:Record namespace='http://sap.com/xi/XI/Message/30/routing' name='InterfaceDeterminationHash'>xxxxx</SAP:Record>
<SAP:Record namespace='http://sap.com/xi/XI/Message/30/routing' name='SourceMessageType'>xxxxxxx</SAP:Record>
<SAP:Record namespace='http://sap.com/xi/XI/System/Rest' name='TimeStamp'>2020-10-22_235016</SAP:Record>
<SAP:Record namespace='http://sap.com/xi/XI/Message/30/routing' name='InterfaceFromOperation'>xxxxx</SAP:Record>
<SAP:Record namespace='http://sap.com/xi/XI/Message/30/general' name='senderAgreementGUID'>xxxxx</SAP:Record>
</SAP:DynamicConfiguration>

Under Pattern Variable Replacement I have added the Attribute Name

The interface is working fine but the TimeStamp is not being passed to the URL.

If I use Manual for the Value Source and add a static value it works fine.

We are on PI 7.31 SP22.

Any help/advice would be greatly appreciated.

Manny

Accepted Solutions (0)

Answers (1)

Answers (1)

manny_papadelias
Explorer
0 Kudos

Hi

This has been resolved now.
Dynamic configuration namespace http://sap.com/xi/XI/System/Rest, had to be http://sap.com/xi/XI/System/REST

i.e. Uppercase REST

Thanks

Manny