Rest Dispatch Reply activity getting null values in the input for the Post method in BW 5.14

Rest Dispatch Reply activity getting null values in the input for the Post method in BW 5.14

book

Article ID: KB0073531

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for REST and JSON 2.1.0
TIBCO ActiveMatrix BusinessWorks -

Description

 The customers will get null value or blank field in the input of Rest Dispatch reply activity with Post method in BW 5.14 while using Rest plugin. For example : If the post method is implemented in a rest service in BusinessWorks 5.14 using Rest dispatch reply activity of the plugin then in because the PostData at HTTP Receiver is null due to which the input which needs to be passed to the Rest dispatch reply activity is missing and you will see no data being passed to the subprocess. ====================================================================== ParseJSONRequest(Job-5013) Output: <?xml version="1.0" encoding="UTF-8"?> <ns0:ActivityOutputClass xmlns:ns0="http://www.tibco.com/namespaces/tnt/plugins/json"> <ns1:Req xmlns:ns1="http://www.......com/----------------------------------"> <ns1:msgHdr> <ns2:msgId xmlns:ns2="http://www.......com/--------"/> <ns2:timestamp xmlns:ns2="http://www........com/-------"/> </ns1:msgHdr> </ns1:Req> </ns0:ActivityOutputClass> ======================================================================== This happens because there was a defect in BusinessWorks 5.14 which was resolved in the hotfix-01 of the same. Below is the jira id for same. --------------------------  BW-17737 The PostData at the HTTP Receiver was null for the POST method.  -------------------------- 
 Below is the scenario in Rest service using BW 514 without hotfix  User-added image 
  
 Below is the scenario in Rest service using BW 514 with hotfix which shows input values in PostData 
 User-added image 

Issue/Introduction

While implementing the Post method in Rest Dispatch Reply activity of the rest and json plugin along with BW 5.14. The customers will get a blank field in the output of Rest Dispatch Reply activity.

Environment

TIBCO BW 5.14,Rest-JSON plugin 2.1.0

Resolution

 Please install hotfix-01 on top of TIBCO ActiveMatrix BusinessWorks 5.14. This hot fix can be downloaded from the SFDC Customer Portal Web UI, using your username and password for support.tibco.com.  Once logged on you can find the hotfix under Download Menu : AvailableDownloads/BusinessWorks/5.14.0/hotfix-01, you can follow the hot fix readme file to install the hotfix.