BizTalk RestFul WCF service

2019-08-31 03:16发布

问题:

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