在biztalk 2013中使用wcf-web http适配器消费REST api [英] consuming REST api using wcf-web http adapter in biztalk 2013
问题描述
我正在尝试使用JIRA rest api通过bizcalk 2013在Wcf-web http适配器的帮助下在JIRA中创建票证/问题。
I am trying to consume a JIRA rest api to create a ticket/issue in JIRA through biztalk 2013 with the help of Wcf-web http adapter.
我正在使用POST方法,在Messages选项卡下,内容类型为:application / json。
I am using the POST method and under the Messages tab ,content type : application/json.
但是当我发布json消息时,我得到了一个错误 说错误请求.errors":{" summary":"字段'摘要'无法设置。它不在适当的屏幕上,或者未知。
But when i post the json message i getting an error saying the Bad request .errors":{"summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.
然而,当我使用内容类型为:application / json的HTTP适配器发布相同的json消息时,我能够发布消息 成功休息。
However, when i post the same json message with HTTP adapter with content type : application/json, i am able to post the message to rest successfully.
你能指点我做错了吗
Manish
推荐答案
我使用安全模式的另一件事:运输和运输凭证类型为基本并输入用户名和密码。
One more thing i am using a Security mode: Transport and Transport credential type as Basic and entered the username and pwd.
这篇关于在biztalk 2013中使用wcf-web http适配器消费REST api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!