Sunday, April 27, 2008


Finally found what I was missing all this time in regards to WCF services. It is not basicHTTPBehavior but webHTTPBehavior. :)
Yesterday I succeeded to invoke a WCF service from the browser and pass some parameters, too. The output is pure XML, without any additional crap. I really, really like it. I'm becoming such a fan of SOA.

Btw, since I'm using this blog as a reference, let me add that, in addition to using webHTTPBehavior, there is the [WebGet] element that needs to be added to methods exposed through this endpoint. This is for using GET method. Another element goes for POST and others. But that doesn't matter at this point.

No comments: