webhttp

Setting Max Message and buffer size for WCF webhttp

Hello, I currently have a WCF service with webHttp bindings, im attempting to increase the max size that can be inputted to the service by overriding the default settings in config, i have tried doing something like <system.serviceModel> <bindings> <webHttpBinding> <binding name="webHttp" > <security mode="Transport"> <tra...

Setting Transport level security on webHttp WCF service

Hello, I am trying to set transport level security on a webHttp binding WCF service my current config looks like this <system.serviceModel> <client> <endpoint binding="webHttpBinding" bindingConfiguration="webHttp" contract="PrimeStreamInfoServices.IService1" name="Client" /> </client> <bindings> <webHttpBinding> <binding name...

how to make WCF webHttp behaviour accept HEAD verbs?

I have a WCF service hosted in a Windows service. I've added to it a webHttpBinding with a webHttp behaviour and whenever I send it a GET request I get http 200 which is what I want, problem is I get an http 405 whenever I send it a HEAD request. Is there a way to make it return http 200 also for HEAD? Is that even possible? edit: that...

WCF problem with POSTs using ssl (https)

Hello, I currently have a webHttp binding WCF restful service, it works great over http, I can make Post of large sizes due to my webconfig settings, now I am trying to use it over https (ssl), now my gets work fine, but my posts dont, it doesnt work when the file size is over a certain amount, i was wondering why this could be since ...

How to specify allowed exceptions in WCF's configuration file?

Hello! I´m building a set of WCF services for internal use through all our applications. For exception handling I created a default fault class so I can return treated message to the caller if its the case or a generic one when I have no clue what happened. Fault contract: [DataContract(Name = "DefaultFault", Namespace = "http://...

WCF Rest Mutliple DataContracts Wrapped

So I am calling a wcf webservice using Rest WebHttp. I also have set up a second binding mex for testing. My method is working but when I try to test through fiddler or straight httppost through a client app I get a 400 Bad request error. I am passing mutliple datacontracts to the method. It forces me to use the BodyStyle of wrapped ...