Questions tagged [webhttpbinding]

165 questions
0
votes
1 answer

webHttpBinding endpoint adds temuri.org namespace in WSDL if bindingNamespace attribute is excluded

I have a WCF service that needs to be exposed over a SOAP endpoint (wsHttpBinding) and a REST endpoint (webHttpBinding). I have included Names and Namespaces on the relevant attributes to aid in versioning (tempuri.org should be completely…
brdmllr
  • 43
  • 1
  • 6
0
votes
1 answer

Is there a way to grab the password using windows authentication with webhttpbinding in WCF?

I'm currently have a selfhosted WCF REST service. Using WebHttpBinding and Windows authentication, is it possible at all to get the password or do I have to use Basic authentication?
ymerej
  • 727
  • 1
  • 8
  • 21
0
votes
1 answer

Consuming a WCF Duplex service inside of a RESTful service

Suppose I wanted to create a WCF WebHTTP service ("ServiceREST") that had a reference to a duplex service ("ServiceDuplex"). ServiceDuplex requires implementations of certain callback members to deliver data that is requested from it. For example,…
Thelonias
  • 2,918
  • 3
  • 29
  • 63
0
votes
0 answers

WCF service is not available access under HTTP (ERR_CONNECTION_RESET)

I have a WCF service (WebHttpBinding) running successfully. I call it from browser like this: http://xxxxx:9000/LicenseService/GetInterfaceVersion Then browser displays: "1.0" The WCF service is running successfully for years, which is being…
Murat
  • 36
  • 5
0
votes
1 answer

How to host simple REST service using .NET core

I'm trying to migrate WCF (WebHttpBinding) to .NET core. Because, WebHttpBinding is not available in coreWCF. Here my server code to host the REST service: var builder = WebApplication.CreateBuilder(); var app =…
Murat
  • 36
  • 5
0
votes
1 answer

How to secure self-hosted WCF WebHttp server?

I have a REST server over SSL. Initially, the client logs in with the credentials. To avoid sending the username/password for each request, I have created a custom token which is returned to the user in the login procedure. This token contains some…
Ace
  • 420
  • 2
  • 8
  • 25
0
votes
0 answers

Azure Service Bus webHttpRelayBinding using WCF REST Template causes unnecessary aspNetCompatibilityEnabled error

I am using Azure Service Bus webHttpRelayBinding using WCF REST Template but it causes unnecessary aspNetCompatibilityEnabled error even though my service-class is correctly decorated: [AspNetCompatibilityRequirements(RequirementsMode =…
Anand
  • 4,523
  • 10
  • 47
  • 72
0
votes
0 answers

Can I expose multiple webHttpBinding endpoints in the same port in Biztalk?

I would like to have two endpoints with the same port and the same name, but hosted on different tcp port with different transport security settings. I.e https://endpoint:443/ and http://endpoint:80 I know I need to change endpoint name because of…
Piotr Grudzień
  • 179
  • 3
  • 11
0
votes
1 answer

Upload greater than 8 MB streams through WCF Service

I'm trying to upload photo(attachment stream) through window service , using REST configuration (webHttpBinding), but I get this exception here is the binding configuration I used (I tried all of them and the error still as it ) …
Noor Shaker
  • 37
  • 1
  • 6
0
votes
2 answers

Provide exceptions for wcf webhttpbinding

I have to change a binding for wcf webservices from tcpbinding to webhttpbinding with basic authentication and ssl. Webservices are self hosted in a console application and in a windows service for production version. Some of local services are with…
user1069516
  • 443
  • 1
  • 7
  • 19
0
votes
2 answers

WCF Rest self hosted certificate secured service returns 401 unauthorized

I want to create a WCF console self hosted - server side authentication with Certificate - rest service. I encountered a problem with actually invoking the Service, since i always get in the response 401 Unauthorized. Since this is a "One-way"…
Goran
  • 3
  • 2
0
votes
1 answer

GWT with http loadbalancer gives invalid SID value

I have 2 openfire servers and an elastic loadbalancer over them and built a gwt application that using http bind at port 7070 when connecting directly to one server it works good but when it connects to the loadbalancer on port 7070 it’s not…
Mai Tarek
  • 1
  • 2
0
votes
2 answers

Throttling WCF WebHttpBinding

I have a WCF service using WebHttpBinding. I use the following configuration: InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple I have limited the MaxConcurrentCalls to 20. What I see is the following: if…
koche012
  • 1
  • 1
0
votes
1 answer

SSL-protected RESTFul WCF Self-hosting service

Summary I am trying to implement an SSL-protected RESTFul WCF service, but following error occurred and communication failed. making the HTTP request to ‘https://123.123.123.123:5000/TestService/PostMsg’. This could be due to the fact that the…
user12345985
0
votes
1 answer

How to disable credentials input for HTTPS call to my WCF hosted in windows service

I'm just creating my first WCF project, so I have a lot of deficiencies in knowledge in this field. My problem is that when I'm calling my WCF url in web browser, I have to enter the credentials but I cannot even use my domain name and password, but…
Blaato
  • 129
  • 10