BizTalk RestFul WCF service

≡放荡痞女 提交于 2019-12-12 02:43:31

问题


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

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

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

build and deployed the application

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

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

  3. 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

I get the below error

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


回答1:


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



来源:https://stackoverflow.com/questions/33105670/biztalk-restful-wcf-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!