webhttpbinding Questions

3

In WCF there are several different types of HTTP based bindings: BasicHttpBinding WsHttpBinding WebHttpBinding What are the differences among these 3? In particular what are the differences in...
Endodermis asked 16/4, 2010 at 5:18

4

I am trying to use https & http for the website. The website has .svc files which act as REST service and called from JavaScript. My Config: <system.serviceModel> <behaviors> &l...
Norfolk asked 12/4, 2016 at 15:41

1

I faced a strange behavior in one of my WCF services. This service worked fine for around 1,5 years but since a few weeks it shows some kind of "outages" (unfortunately I cannot post images cause I...
Governor asked 20/7, 2015 at 9:54

2

Solved

I'm writing a web service that has a lot of methods. They are all set up similar to the following: [OperationContract] [WebInvoke( BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessa...
Maliamalice asked 2/8, 2012 at 21:46

1

Solved

I was following the tutorial here: http://allen-conway-dotnet.blogspot.co.uk/2012/07/using-basic-authentication-in-rest.html?_sm_au_=iFVksVM0H8QrkntP, to implement User Authentication in WCF servic...
Nitrogenous asked 2/9, 2014 at 14:46

4

I am trying to consume a webservice in C#. Whenever i try to call the function from the web service class I am getting a "SOAP header Action was not understood".I've added web reference[not service...
Kamila asked 18/5, 2011 at 21:1

1

Solved

I have a problem calling a webHttpBinding WCF end point using HttpClient and the BaseAddress property. HttpClient I created a HttpClient instance specifying the BaseAddress property as a local ho...
Ithunn asked 16/12, 2013 at 10:54

4

Solved

I'm new to WCF RESTFull services developpment and I'm looking for some usefull information and your experience feedback about using webHttpBinding compared to the new WCF Web API http://wcf.codeple...
Haerle asked 14/3, 2011 at 9:43

4

Solved

I have now investigated the 400 - BadRequest code for the last two hours. A lot of sugestions goes towards ensuring the bindingConfiguration attribute is set correctly, and in my case, it is. Now,...
Deanery asked 17/9, 2009 at 16:37

1

Solved

I have a WCF service (over a webHttpBinding) using ASP.NET 4/IIS 8 and I had no problems communicating with it using JSON with GET. However, today I needed to implement a method that sends a large ...
Autogiro asked 8/9, 2012 at 8:53

3

I am trying to expose a WCT REST service and only users with valid username and password would be able to access it. The username and password are stored in a SQL database. Here is the service co...
Rianna asked 27/4, 2009 at 23:46

3

Solved

I have successfully configured 3 endpoints for my prototype service. The endpoints are basicHttpBinding, wsHttpBinding, and webHttpBinding. The only glitch I have at the moment is in the WCFTestCli...
Ataman asked 20/9, 2011 at 1:43

2

Solved

I have a web page containing a filtering text box and a list box. Modifications to the text box trigger an AJAX request, which returns an array of values with which to populate the list box. I had...
Epigeal asked 12/9, 2011 at 6:44

2

Solved

I'm trying to set up a WCF service hosted in IIS that exposes an endpoint that acts as a REST service producing JSON data, and I want to use HTTPS. I want to take care of the user authentication my...
Farina asked 15/6, 2011 at 8:6

1

How can I set the maxItemsInObjectGraph for the DataContractJsonSerializer? I get an error saying "Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Cha...
Biting asked 3/5, 2011 at 9:1

0

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 ...

1

Solved

I have a asp mvc application consuming wcf rest services (all on the same box). For authentication calls, I am trying to set cookies inside a wcf rest service. Code on the client side - HttpR...
Spadiceous asked 28/3, 2011 at 18:32

1

Solved

I have two WCF RESTful services - the "general" service is public and has no security; the "admin" service I intend to use basic authentication over SSL. This is my server side web.config: <sy...

2

Solved

I have found a lot of material on the web about using the ASP.NET Membership Provider with the wsHttpBindings, but I haven't seen any reference to using it with webHttpBindings. I am looking for a...
Poff asked 26/1, 2009 at 19:49
1

© 2022 - 2024 — McMap. All rights reserved.