问题
I have been trying hard to create a WCF Restful services exposing the schema. Below are the steps I followed
Created a schema with three elements and promoted them and created property schema
Property Schema looks like (it didnt allow me to make pass element as Sensitive information)
build and deployed the application
Then using the Biztalk WCF Publishing wizard I created the Service and the Request Response Receive location.
Changed the App Pool of the service to the Appl pool to which the BizTalk have access.
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