Quantcast
Channel: SCN : Discussion List - SAP Process Orchestration
Viewing all articles
Browse latest Browse all 967

REST Adapter - optional parameters

$
0
0

Hi,

 

I'm trying to do a GET with an empty parameter to a sap rest receiver adapter:

 

URL pattern is like this:

http://Host:Port/rest?tounit={tounit}&fromunit={fromunit}

 

Example with empty param::

http://Host:Port/rest?tounit=123&fromunit=

 

I get the error

 

Transmitting the message using connection REST_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rest.ejb.receiver.PlaceholderMissingException: URL placeholder fromunit is not configured, or has an empty value

 

 

Is this standard beaviour or can I somehow tell the adapter to accept empty parameters?

Note that I put the parameter as Optional in the sender adapter.

 

Thanks


Viewing all articles
Browse latest Browse all 967

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>