I'm running a WCF service, and calling ServiceHost's Open() method will raise an AddressAlreadyInUseException if the adress is ..err .. already in use !
Is there a way to test whether the address is available without raising an exception?
...
I am prototyping a WCF service with a custom authorization policy. The service ran fine until I set principalPermissionMode = "Custom" and implemented the evaluate method of my IAuthorizationPolicy. Now it throws an exception when a client tries to get the metadata.
I have seen various posts that talk about trapping these calls and I ...
Hi all, I'm seeing the following error coming from WCF when trying to hit my REST WCF service on IIS 6.0:
Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [].
My web.config looks like:
<system.serviceModel>
<serviceHostingEnvironment>
<baseAddres...
I have a web service in .NET 1.1 and WSE 2.0 that uses WS-Security with x509 certificates for both signature and encryption. I'm trying to configure a WCF client to connect with this service, and it's proving more challenging that I had expected.
I've gotten past most of my versioning issues by using a custom binding, but I'm stuck on ...
I'm trying to write a debugging tool that allows the user to view WCF's new binary XML format (application/soap +msbin1) in plain text. Once I found the XmlDictionaryReader class I thought I'd be done in minutes, but it's not working as expected.
private string DecodeBinaryXML(byte[] binaryBuffer)
{
if (binaryBuffer == null)
...
I am developing under Windows Mobile 6.5. My mobile application used WCF to upload files to server. I set transfer mode to be "Streamed" and it works well in my desktop. But the same code just can't run in the mobile application. I am wondering if mobile can use "Streamed" mode to transfer file.
...
Hi there,
Why do I need to include a DnsEndpointIdentity when creating my WCF endpoints?
So when I create an endPoint like this:
EndpointAddress endpoint = new EndpointAddress(uri);
I get a SSPI authentication failed error
But when I do this it works just fine:
DnsEndpointIdentity endpointIdentity = new DnsEndpointIdentity("sa...
I'm trying to set up client impersonation on my service.
I need to set a value for the servicePrincipalName of my services endPoint
I'm looking at this but still cannot quite figure it out
http://technet.microsoft.com/en-us/library/cc961723.aspx
My service is hosted in a console app on a server that we'll call ServerName1.
The Uri is...
I have a method with custom attribute in my service. I want to read the attributes of the calling method on the server side and check if it has that attribute. How can I accomplish this?
Thanks.
...
We are currently developing a SOA application and we will be using WCF to handle all inter-process communication. We have consulted the usual port lists when deciding which ports to use as default and are including configuration options to change these default ports.
To reduce the chance of conflict, I thought to use the IANA port regi...
A WCF service has been written and can be hosted in any web site. These web sites could use Windows, Kerberos, or Forms authentication.
Is any particular configuration or development required within the service to handle these different authentication types? Or is authentication independent and the service doesn't need to worry about it...
In VB.NET (using Visual Studio 2008) my WCF service has an interface something like:
<ServiceContract()> _
Public Interface IThingService
<OperationContract()> _
Function GetThingByNumber(ByVal thingNumber As MyKeyClass) As Thing
<OperationContract()> _
Function GetThing(ByVal thingId As Guid) As Thing
' ...
End Inter...
Everyone is saying how .NET Remoting is being replaced by WCF, but I'm wondering just how accurate that is. I haven't seen any official word that Remoting is being deprecated, and it seems to me there are certainly scenarios where Remoting makes more sense than WCF. None of the Remoting-related objects or methods have been deprecated, ev...
OK, I am getting myself a little confused here. I have a WCF service (service A) that calls another WCF service (service B). When I throw an exception on Service B e.g. throw new Exception("test") then service A does not get an exception, instead the IsFault is set to true on the response message e.g.
responseMessage = forwardingChanne...
I have an object that has a generic IList in it that is being returned from a WCF web service method:
[DataContract(Name = "PageableList_Of_{0}")]
public class PageableResults<T>
{
[DataMember]
public IList<T> Items { get; set; }
[DataMember]
public int TotalRows { get; set; }
}
[OperationContract]
PageableResults<Conte...
Hi, guys. I'm pretty new to both Silverlight and WCF. What I'm trying to do is provide a database connection to my Silverlight object. The problem I'm having, though, is that my web service, while it compiles fine, doesn't seem to be returning anything at all. I've used Fiddler, and tried a custom request, but the service itself isn'...
Everything I'm told says that WCF should be at least as fast as remoting. I have a specific scenario here, however, where it isn't even close, and I'm wondering if someone can spot something obvious that I'm doing wrong. I'm looking into the possibility of replacing remoting with wcf for the in-process intra-appdomain communication heavy...
The Setup
I have a WCF service that exposes a base type (e.g. Animal) as well as a few derived types (e.g. Lion, Tiger, and Bear). Another type (e.g. Zoo) includes a property that is a collection of the base type. The base type is concrete, not abstract, so it is perfectly acceptable for the collection to contain instances of the base t...
Hi,
I want to secure some endpoint of a WCF service, i dont know if you can secure some endpoint and some not. Below I have the stripped WCF service (self hosted). The same WCF serves also the CA Policy file. If I secure this WCF service or some endpoints of ut the CA Policy part must not ask me a username password. The policy file must...
I have followed numerous msdn articles and the codeplex guidance but cannot get WCF to work with Kerberos authentication and delegation and would appreciate a little help.
Setup
I have the WCF service in an IIS website on a remote machine
IIS 6.0 on Windows 2003 R2 - SP 2
The SPN for the machine has been added (http/myserver && http/...