(WID/WPS) Data Handler


What ?
It is a reusable transformation logic independent of a specific transport protocol like JMS or HTTP. 


How to use ?
It can be invoked from data bindings or Java components.


Why ?
In our SOA implementation, business data flows between service providers and service consumers over a variety of protocols (HTTP, JMS, MQ, EIS and so on) in a variety of data formats such as CSV (comma separated value), delimited, fixed width, COBOL and so on. Mechanism of carrying this data is different in different protocols, means the same business data is being carried by JMS & HTTP protocol differently.


The format in which business data flows on the wire between service provider and service consumer is referred to as the native format. Business process components running on WPS or WESB understand business data as business objects but they do not understand the native format (in which the data is flowing over wire). 


Business Object Serializes to Native Format
Native format De-serializes to BO


WPS data bindings can be developed to serialize and de-serialize business data. For these scenarios WPS introduces the concept of data handlers.
Data handlers can be configured on some bindings and can be used in flow components. Unlike data binding interfaces,the data handler interface is protocol neutral, which enables data handlers to be usable across the bindings.


For ex : If service consumer sends request in xml format & if provider understands only CSV format then a data handler can be used to convert data from xml to CSV format and this can be called either from Java or Binding.


For more info: http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/index.jsp?topic=/com.ibm.wbit.620.help.config.doc/topics/createdh.html


Creating a data format transformation resource configuration : http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/index.jsp?topic=/com.ibm.wbit.620.help.config.doc/topics/tconfigeisdh.html

Custom DataHandler :
http://publib.boulder.ibm.com/infocenter/dmndhelp/v7r5m1/index.jsp?topic=%2Fcom.ibm.wbpm.wid.integ.doc%2Ftopics%2Fr_customdatahandler.html

No comments:

Post a Comment