BizTalk RestFul WCF服务 [英] BizTalk RestFul WCF service

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

问题描述

我一直在努力创建一个公开该模式的WCF Restful服务.以下是我遵循的步骤

I have been trying hard to create a WCF Restful services exposing the schema. Below are the steps I followed

  1. 创建具有三个元素的架构并对其进行升级,并创建属性架构

  1. Created a schema with three elements and promoted them and created property schema

属性架构看起来像(它不允许我将pass元素用作敏感信息)

Property Schema looks like (it didnt allow me to make pass element as Sensitive information)

构建并部署应用程序

  1. 然后使用Biztalk WCF发布向导创建服务和请求响应接收位置.

  1. Then using the Biztalk WCF Publishing wizard I created the Service and the Request Response Receive location.

将服务的应用程序池更改为BizTalk可以访问的应用程序池.

Changed the App Pool of the service to the Appl pool to which the BizTalk have access.

在接收位置(不允许我将<放在堆栈溢出的标签前面) '<'BtsHttpUrlMapping> '<'Operation Name ="RESTServices.REST.lims" Method ="GET"网址="/username/{username}/pass/{pass}/specimen/{specimen}"/> '<'/BtsHttpUrlMapping>

In the receive location (it is not allowing me to put < in front of tags in stack overflow) '<'BtsHttpUrlMapping> '<'Operation Name="RESTServices.REST.lims" Method = "GET" Url ="/username/{username}/pass/{pass}/specimen/{specimen}" /> '<'/BtsHttpUrlMapping>

现在,当我在浏览器中调用此服务时

Now when I call this service in the browser

http://localhost/RestSer/Service1.svc/username/abc/pass/abcd/specimen/J000123134

我收到以下错误

如果我在这里做错了什么,请指出谁,为什么会出现这个错误?任何帮助是极大的赞赏.谢谢

Please can anybody point if I am doing anything wrong here, why do I get this error? Any help is greatly appreciated. Thanks

推荐答案

您是否进行了变量映射?一些不错的资源-> http://vikasbhardwaj15 .blogspot.be/2014/01/publish-rest-service-from-biztalk-server.html

You did the variable mapping? Some good resource --> http://vikasbhardwaj15.blogspot.be/2014/01/publish-rest-service-from-biztalk-server.html

这篇关于BizTalk RestFul WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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