Questions tagged [webhttpbinding]
165 questions
1
vote
0 answers
Passing a cookie to a wcf service
I have a bunch of wcf webhttp (rest) services that expect an auth cookie. Question is - How do I pass the formsauth ticket to the wcf service? Flowing authentication works for get requests through the browsers just fine (as it should) but I am not…

user275157
- 1,332
- 4
- 23
- 45
1
vote
1 answer
Hosting REST WCF 3.5 on IIS 6 with webHTTPBinding gives 400 "Bad Request" and Login Failure error 1380 in IIS log
I'm learning WCF and have the following code working in my dev environment using visual studio 2008 and its web server. When I publish the web service to IIS 6, all requests result in 400 "Bad Request" error. Looking at the IIS log, the status code…

GAMacky
- 11
- 1
- 2
1
vote
1 answer
parameters in service route
Working on a WCF webhttp project and had a question on parameters in route composition.
I have two services - Project service (that allows an user to add and view projects) and an Item service that allows the users to view items inside the project.…

user275157
- 1,332
- 4
- 23
- 45
1
vote
1 answer
custom authorization and authentication in wcf webhttpbindig
I create a simple wcf service with webhttpbinding as you can see :
[OperationContract]
[WebInvoke(Method = "GET", UriTemplate = "/Data/{data}")]
string GetData(string data);
and the implementation :
public string GetData(string…

Ehsan Akbar
- 6,977
- 19
- 96
- 180
1
vote
0 answers
Differences between an asp.net app vs a wcf app with webHttpBinding
I have a WCF service that makes several TCP endpoints available and I'm looking at allowing a webHttpBinding as well.
So far it seems pretty straightforward to allow requests from a browser to such an enpoint, which returns a Stream of HTML text…

Zach Smith
- 8,458
- 13
- 59
- 133
1
vote
1 answer
WCF - How to correctly configure MVC Client consuming WCF Service?
I am perfectly aware that this problem has already been discussed a whole lot of times, but it is a specific configuration of my project that I miss to grasp which makes my Service - Client communication go wrong. I ask for your help in this matter.…

Ionna
- 223
- 4
- 19
1
vote
3 answers
What should we take care of when passing json to a WCF webHTTP service?
I'm running into a lot of troubles trying to do a post request from my jQuery code passing a JSON object to my webservice method.
I know this question might seem to be pointless, but I wanted to know how WCF recognize a JSON string and converts it…

mati
- 5,218
- 3
- 32
- 49
1
vote
2 answers
WebHttpBinding in WCF: how to configure it the proper way?
Trying to follow this example to make it work: http://weblogs.asp.net/kiyoshi/archive/2008/10/08/wcf-using-webhttpbinding-for-rest-services.aspx
Here is my App.config: