休息全服务响应句柄 [英] Rest Full Service Response Handle

查看:78
本文介绍了休息全服务响应句柄的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我收到的回复低于其中一个休息全面服务,我是新来处理BizTalk中的休息服务,


请帮助并指导我如何在biztalk服务器中处理以下格式的响应。



重置响应:


[{" branchId":" dvbL1Gh2UZIsW0vYwjF8RQ == / ::?t7X-x_vxyytj7M2T" ,"branchName":"The Retreat","contactNumber":null,"email":null," address":null," fax":null}]


谢谢


Venkat


解决方案

这是一个JSon响应。   所以你需要使用JSON解码器。


然而,看起来他们正在响应根级别的数组,而BizTalk JSON解码器无法处理,因为它想拥有一个根节点处的单个元素。


请参阅  BizTalk 2013 - 解码JSON数组,他们已经扩展了JSON解码器以拆分消息,或编写了一个包装它的管道组件
up,以便它有一个根节点。


Hi ,

I am getting below response from one of rest full service and i am new to handle the rest service in BizTalk ,

Please help and guide me how to handle below format responses in biztalk server.

Reset Response:

[{"branchId":"dvbL1Gh2UZIsW0vYwjF8RQ==/::?t7X-x_vxyytj7M2T","branchName":"The Retreat","contactNumber":null,"email":null,"address":null,"fax":null}]

Thanks

Venkat

解决方案

That is a JSon response.   So you need to use the JSON Decoder.

However it looks like they are responding with an Array at the root level, which BizTalk JSON decoder does not handle as it wants to have a single element at the root node.

See BizTalk 2013 - decode JSON array where they have either extended the JSON decoder to split the message, or written a pipeline component that wraps it up so that it does have a root node.


这篇关于休息全服务响应句柄的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆