Questions tagged [wcf-configuration]

Windows Communication Foundation (WCF) is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications. This tag covers its configuration aspects.

Windows Communication Foundation (WCF) is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications. This tag covers its configuration aspects.

More Info

112 questions
0
votes
1 answer

WCF 4 Rest Service on IIS Developer Express, Authentication Issue

When I host the "WCF 4 Rest Service Template" project (from template) in IIS Developer Express I get the following: IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of…
holsee
  • 1,974
  • 2
  • 27
  • 43
0
votes
1 answer

WCF config error in Azure: Unrecognized attribute 'protectTokens'. Works fine in on-premises .NET 4 environment

Our .Net 4 component accesses a third-party web service via a WCF client proxy. The WSDL for the third-party web service contains the Protect Tokens security policy: Accordingly, the custom binding configuration generated by…
Reg Edit
  • 6,719
  • 1
  • 35
  • 46
0
votes
1 answer

Change "" on request recieved in WCF

I have a WCF service implemented via custom wsdl. It simple have 5 methods as per wsdl. Call to My service from standard client works fine. Problem was in some old implementation which send SoapAction="" I wanted to change the soapAction to some…
Kamran Shahid
  • 3,954
  • 5
  • 48
  • 93
0
votes
2 answers

WCF Web Service Metadata Publishing Disabled Error

I modified my web.config to add a custom binding in order to increase the buffer and message size, and it seems like in creating the service element explicitly, it has somehow broken the reference to my behavior element. When I try to run my web…
Overhed
  • 1,289
  • 1
  • 13
  • 41
0
votes
0 answers

Method not found error when consuming wcf service in android?

I am developing wcf service.I am getting reponse fine in my windows phone app.but android people were getting error.they are getting html response.i.e,(my wcf debugging browser page). below is my code: namespace SampleWcfproject { // NOTE: You…
Anil Kumar
  • 303
  • 1
  • 6
  • 23
0
votes
1 answer

Various WCF bindings and their endpoints

I have few questions about various WCF bindings and their endpoints support. 1) I just like to know what is service meta data? How a wcf service meta data look like? Can u post a sample of meta data? How it look like? 2) Service meta data can be…
Mou
  • 15,673
  • 43
  • 156
  • 275
0
votes
1 answer

Configure MaxClockSkew in wsHttpBinding with TransportWithMessageCredential Security Mode

I have the following configuration for my service that is working fine. The problem appears when i need to change the value of MaxClockSkew in wsHttpBinding with TransportWithMessageCredential security mode. How can I change the MaxClockSkew value…
0
votes
1 answer

WCF - Create client programmatically only from endpoint name

My WCF client can connect to several endpoints. But they all have different addresses, bindings and contracts. So my question is : How can I create my WCF client programmatically depending just of the name of my endpoint I want to connect to (which…
Tristan Djahel
  • 1,082
  • 2
  • 12
  • 22
0
votes
1 answer

WCF Service - Message / Object size related

I have wcf service (S1) as client and another Wcf service(S2) as server. S1 consume S2 over net.tcp. S2 has one operation, which return a complex object with most of it's contents are string. The average size of this object is between 7-8…
S.N
  • 4,910
  • 5
  • 31
  • 51
0
votes
1 answer

Could not find endpoint element with name 'Address:http://example.com:8123/blmrg/test_ws/Service1.svc

I have created a proxy class for a web service using svcutil.exe. I was trying to connect to webservice using below code. Below exception occurred Could not find endpoint element with name…
lavanya b
  • 537
  • 2
  • 9
  • 21
0
votes
1 answer

Could not invoke WebInvoke method with parameter

[ServiceContract] public interface IMyService { [OperationContract] [WebGet(UriTemplate = "/v1/getCustomBodyTypes", ResponseFormat = WebMessageFormat.Json)] [JSONPBehavior(callback = "callback")] List
Jin Ho
  • 3,565
  • 5
  • 23
  • 25
0
votes
3 answers

WCF base address configuration for different Server implementations

I don't know if it is repeated question or not but due to my search I couldn't find anything related. I have made a WCF service and it works fine. Now I want to deploy it and use it as a reference in my project which is going to be used in…
H.A
  • 66
  • 1
  • 11
0
votes
1 answer

Trouble with endpoints of my wcf

My WCF service web.config.
0
votes
2 answers

Windows Hosted WCF Service Returns 400 Bad Request Invalid Hostname To JAVA Client

As the title indicates I have a WCF Service hosted in a Windows service. When I use the Visual Studio WCFTestClient it the GetVersion() Method (which just returns a string) works fine. When I attempt to call the same method from a Java client I get…
Cef
  • 661
  • 1
  • 6
  • 26
0
votes
1 answer

How to programmatiacally set the Service Principal Name on a hosted service

To do the above using the config file I would do: But…
KateK