Questions tagged [webhttpbinding]

165 questions
0
votes
1 answer

Windows Authentication not prompting on Firefox or iOS Safari

I have two WCF WebHttpBinding-bound self-hosted services. One is set to WebHttpSecurityMode.TransportCredentialOnly and HttpClientCredentialType.Windows. The other is set to None and None. This service is serving the exactly the intended…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
0
votes
1 answer

Define a webHttpBinding object in C# (without config file)

I have to manually configure a ServiceReference in my project, because my project uses a secondary config file, and I’ve run into a lot of problems trying to read from that file. I was able to get things working by manually defining a…
WEFX
  • 8,298
  • 8
  • 66
  • 102
0
votes
1 answer

How do I set the proxy in webhttpbinding configuration to use fiddler

I'm trying to setup my Web service client to use fiddler proxy by setting it in the webhttpbinding configuration file as follows:
ptn77
  • 567
  • 3
  • 8
  • 23
0
votes
2 answers

Is WebHttpBinding uses TCP connection pooling?

I can see in MSDN page that NetTcpBinding in new .NET 4.5 uses TCP connection pooling based on the service’s host DNS name and the port number the service is listening on. Does it true for WebHttpBinding as well? I could not find answer to this…
0
votes
1 answer

Access TCP header when using HTTP binding

I have a RESTful service which is exposed via WCF with the webHttpBinding. I am now asked to get the TCP header (specifically the packet TTL). The difficult approach will be to switch to the net.tcp binding and handle all the HTTP layer by myself.…
Ronnyle
  • 147
  • 9
0
votes
2 answers

How do I get to explore WCF methods with a browser?

I've got a net.tcp service, which I want to make accessible to other platforms (specifically, PHP). For this, I'm using http binding. I'm creating a http endpoint with: ServiceHost svh = new ServiceHost(typeof(MyService)); var httpLocation =…
Arsen Zahray
  • 24,367
  • 48
  • 131
  • 224
0
votes
1 answer

WCF inter-service messaging

I am building a system with 2 WCF Services. Both are IIS Hosted. At the moment they both reside in a single VS2010 website app, running on my local IIS7 (Windows 7) using the Derfault Website. I have enabled net.tcp on both. Service1 accepts…
Serexx
  • 1,232
  • 1
  • 15
  • 32
0
votes
1 answer

WCF webHttpBinding Service Works Locally But Produces "400 Bad Request" on IIS 7.5

I have a WCF service with webHttpBinding binding that works fine in Visual Studio 2010 / local IIS. The service has only one POST method that my separate web app project invokes via .NET's HttpWebRequest object. JSON is used for request and…
S. Valmont
  • 941
  • 2
  • 11
  • 25
0
votes
1 answer

How does WCF Decide the Endpoint Addresses used in webHttpBinding with ASP.NET Routing?

I have a WCF service used by some Silverlight code in our web application. It uses the ASP.NET Routing functionality: private void RegisterRoutes() { var factory = new WebServiceHostFactory(); RouteTable.Routes.Add(new…
John Saunders
  • 160,644
  • 26
  • 247
  • 397
0
votes
1 answer

The extension name 'webHttp' is not registered in the collection at system.serviceModel/extensions/behaviorExtensions

I am Hosting REST service in IIS 6.1. The following error I am getting. The extension name 'webHttp' is not registered in the collection at system.serviceModel/extensions/behaviorExtensions what would be a fix for this?
amesh
  • 1,311
  • 3
  • 21
  • 51
0
votes
1 answer

Add ServiceHost extension by code

I have this XML snipped of a App.config which I found here:
rekire
  • 47,260
  • 30
  • 167
  • 264
0
votes
1 answer

WCF webHttpBinding out parameters support

i am creating my first wcf service with webHttpBinding. On the net, i have read lot of articled telling that its bad practice to use out parameters with web services as described in Is it bad practice to have an output parameter in a method in a WCF…
Muhammad Adeel Zahid
  • 17,474
  • 14
  • 90
  • 155
0
votes
2 answers

WCF service with webHttpBinding not working when configurations are added in web.config

I have a very basic WCF service that I want to run on IIS as a RESTful service. Here is the service contract. [ServiceContract] interface IRestCameraWs { [OperationContract] [WebGet(UriTemplate = "/cameras/{username}",ResponseFormat =…
Muhammad Adeel Zahid
  • 17,474
  • 14
  • 90
  • 155
-1
votes
3 answers

calling xml to Android

I have list of records in xml format from my local host "http:localhost:810/Service1.svc/leb/GetAllCustomers" Can I call this to android and list it in Textview or Spinner or in EditTextView or in any of the controls in android?
Dani
  • 1
  • 1
-2
votes
1 answer

WCF REST Service: I get a System.Net.Mime.ContentType is a type but is used like a variable

I have a WCF REST service that has to provide a video in one of its methods. The interface looks like under here (I did not provide the implementation because the problem lies here). [ContentType] is recognized but I get a…
Tumelo
  • 301
  • 3
  • 18
1 2 3
10
11