trx
trx

Reputation: 2157

Biztalk Creating RESTful WCF service by exposing the schema

I need to create the RESTful WCF service for the schema I have in the application. The schema which has three elements

enter image description here

My requirement is to create the WCF service so I can pass these three values through the service. Can anybody give me clear idea how can I approach this. I have been trying to create a schema, and promoted the one of the element for example the user name and created the property schema like enter image description here

I deployed this and tried creating the WCf service through the publishing wizard selecting WCF WebHTTp adapter(which didnt ask we to select the schema) created the service and configured the application in Biztalk console. But the service is not working. If I call the service with the parameters , still it shows the enter image description here Can anybody please help me how can I approach this. I am really stuck with this for long time. Please any help is greatly appreciated. Thanks

Upvotes: 0

Views: 661

Answers (1)

Vikas Bhardwaj
Vikas Bhardwaj

Reputation: 1510

This error means that Server is not able to find out the action it needs to do based upon the URL and request. Based on your configuration on receive location, your url should be localhost/demp/service1.svc/specimen=value, if that does not work then, change the Operation Name="Op1" Method = "GET" Url ="specimen/{specimen} and then your url should be localhost/demp/service1.svc/specimen/value

Upvotes: 1

Related Questions