Skip to Content
avatar image
Former Member

rest receiver adapter- patternvalue

I am configuring my rest receiver adapter with dynamic values in the URL .


number would be the concat value of order id and orderline number

I have with me 2 options

1. Use ASMA - Do concat in message mapping and pass the value in ASMA . I am able to get this working fine.

however the below should have also worked but unable to get the right step.

2. Use XPath expression - here I have 2 options

2. a )

Http://host:port/{number1}{number2} where number1 is the order id and number2 is the orderline number. I am unable to achieve this using XPATH. if I have a space or any character between number1 and number2, values get populated else not.

Http://host:port/{number1} {number2}

2b) using concat operation for number1 and number2 in pattern value and replacing it in the URL . I am unable to get the right Xpath for the Concat operation . Though concat works in XPATH validator it is not working in the adapter. get with a error cannot convert nodelist to a string .


can some one share inputs on handling this scenario through XPATH expression please.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers