Hi
I've succeeded in getting WCF Transport security going for our Logon web service using a self-signed certificate issued against localhost. I added the self-signed certificate as trusted root certificate authority to prevent IE about moaning about a non-trusted certificate. When testing against localhost everything works fine and be...
I'm trying to build a minimal client for a WCF service, using the WSHttpBinding with SecurityMode: Message over a direct channel interface.
My current code is very simple:
EndpointIdentity i = EndpointIdentity.CreateX509CertificateIdentity(clientCertificate);
EndpointAddress a = new EndpointAddress(new Uri("http://myServerUrl"), i);
WS...
I have a WCF service (FooService) protected by Secure Conversation. Also have an STS (StsService) that provides tokens to clients calling FooService. The tokens are good for 15 minutes. The STS is custom-build (no Geneva). The client also has some custom WCF extensions to allow re-use of the token across several services during the lifet...
I have an app that uses the System.Web.Services.Description namespace to consume web services and generate a proxy dynamically at runtime for a web service.
I want to know whether if its still possible to consume WCF web services using the classes in this namespace.
At the moment I just get a "NoCodeGenerated" warning returned from the...
Service Reference namespace becomes unknown after I 'Update' the service reference.
Has any one else encountered/resolved this issue?
The changes I make to the Service Reference code are sometimes so minor, and always in method, never to the contract or anything and after update the service reference, VS2008 no longer recognizes the name...
My WCF Service uses a custom credentials validator for custom Message-based security, because I want to ensure each client calling an operation on my web service has a corresponding username and password in my database.
Imports System.IdentityModel.Selectors
Imports System.IdentityModel.Tokens
Public Class CredentialsValidator
Inhe...
I've been given a web service written in Java that I'm not able to make any changes to. It requires the user authenticate with basic authentication to access any of the methods. The suggested way to interact with this service in .NET is by using Visual Studio 2005 with WSE 3.0 installed.
This is an issue, since the project is already ...
I'm in a tough situation in which a Java web service endpoint hosted on an IBM HTTP Server (IHS) requires a Content-Length header, although it supposedly conforms to HTTP/1.1. If I send the header, everything works. If I leave it off, I get a 500 error response informing me that my POST entity body was empty (even though it was not).
We...
I have three service which host 3 interfaces
1) IFileTransfer
2) IManager
3) IProcessor
I also have a controllerservice to which 3 services are registered as namevalue pair (ie) "Service name" and "endpointaddress" .
But Since the interfaces of all the registered services are different , when I want to create a channel for the ser...
I have a WCF service that is hosted inside a Windows Form.
How can I access the controls of the form from the methods in my service?
for example I have
public interface IService {
[ServiceContract]
string PrintMessage(string message);
}
public class Service: IService
{
public string PrintMessage(string message)
...
<system.serviceModel>
<diagnostics wmiProviderEnabled="true">
I recently stumled across this setting in WCF, where you can enabled WMI logging. Where does it log to? and what is logged? There is no mention of that..
Pleaselet me know...
...
Hi,
WCF service has one method ( Let's say TestMethod) in which I try to create a File Stream like this :
System.IO.FileStream fs = new System.IO.FileStream(@"D:\Test.xml", System.IO.FileMode.Open);
My Client and Service is on the same solution.
When the Client makes a call to TestMethod ( Exposed in Web service ) it wil...
I'm calling a WCF service from a Silverlight client, therefore making all the calls async.
When the WCF service returns an ExceptionFault, the error object gets populated in the arguments to the Completed event handler...
proxy.UpdateCompleted += (o, e) =>
{
if(e.Error != null)
.... do something
}
what is the best ...
My superior once told me that a bad way of calling a web service or a wcf service is treating it like its a referenced assembly i.e. instantiate a class and call the methods.
I don't see any other way of doing it though. Are there some best practices that I should be following when I interact with external web services / services or is...
I'm using IIS7 to host a WCF service, so requests to the service endpoint address will be forwarded to the correct svc file. Obviously the client configuration has to specify an endpoint address of the service it wishes to consume, but why do I need to specify the endpoint address for the service in the service configuration (it throws a...
Hi,
we wrote a WCF service, deployed on IIS. we chose Integrated Windows Authentication. service can not be used in this case but if we can set the authentication method of the IIS virtual directory to "Anonymous" for WCF services, then the error will go away. But "Anonymous" is not acceptable for our WCF service. We have to use Integra...
In Understanding WCF Services in Silverlight 2, the author, David Betz, explains how to call a web service without adding a service reference in the client application. I have a couple of weeks experience with WCF, so the article was over my head. In particular, although the author gave a lot of code snippets, but does not say what go...
I have a WCF client and service using HTTPS over the wsHttpBinding.
One common setup has the client and server components on the same machine. The client has to set the endpoint address to include the server's machine name, rather than localhost for SSL reasons i.e. https://mymachine/myservice/service.svc
The problem is, that the defau...
I'm trying to write a re-usable .NET Assembly that implements WCF.
My current problem is how to take the assembly (appropriately decorated with ServiceContract, DataContract, and WebGet attributes) and reference it in my existing ASP.NET WebForms application and expose it using REST.
Ideally I like different endpoints for JQuery compat...
Hello,
I am building a .NET 3.5 Winforms app that uses WCF services (wsHttp binding) to communicate to my server which gets data from SQL Server and passes it back to the Winforms app (Smart Client). I noticed since running Windows 7 RTM there is about a 30 second delay the first time the WCF communicates, from that point forward it's ...