Here is my scenario:
I have a proxy that actually has the SSL Cert installed and this sits in front of a load balanced web farm. Each IIS server does not have SSL so I can't use transport security via wsHttp binding. I have not investigated basicHttp because we want to provide SOAP 1.2 going forward w/ this solution. In addition to t...
I currently have a solution with a couple of projects and one of them is a WCF Service. I created another projected with a static class that basically provides a gateway to an instance of the WCF client, like such :
public static class WSGateway
{
public static DBInteractionGatewayClient MR_WebService
{
get
{
...
I want to log all exceptions server side.
In ASP.NET I write something like this in Global.asax.cs, but will this work for a WCF service, too?
public class Global : HttpApplication
{
protected void Application_Error(object sender, EventArgs e)
{
Exception unhandledException = Server.GetLastError();
//Log except...
I am using a WCF OperationContract that takes an array of integers as an argument. It is using basicHttpBinding.
I've noticed that the generated SOAP from a client generated using Visual Studio "Add Web Reference" includes the xmlns thus:
<ids>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">100</stri...
Can anyone define WCF? What is the purpose of WCF?
What are some good reading materials to learn about WCF?
...
Hi
I have a silverlight project that calls into a wcf service. Everything works fine on my local machine.
However when I deploy to a virtual machine, with the exact same query the wcf service returns, but the result is empty.
I've tried debugging, but have not been able to get it to break in the wcf service.
Any ideas what the probl...
I'm creating a custom IDispatchOperationSelector to support a Java client calling a WCF service - this Java client does not send the SoapAction header, so I need to select the operation based on the body of the message. Below is the custom SelectOperation method. It works just fine when the debugger is NOT attached - however, when it i...
I am building a distributed application that will require 6 different services. I will have to demo the application on my XP laptop using Visual Studio 2008.
Is it possible to run multiple services on localhost at the same time, all using net.pipe?
For example:
net.pipe://localhost/DirectoryService
net.pipe://localhost/MathService
I...
Can any one just tell me how to create a object of Datacontract in WCF.I have a application in which i need a constructor but at client side when i create a object ,it doesnt shows a constructor.I know one solution like add a partial class containg constructors.the confusion is here "where to add a partial class"
Please someone help me ...
Hi
There are two projects in one VS solution: client(wpf app) and а wcf service lib.
I'm using Message security and a custom AspNetMembershipPrivider on th server side to validate username and pass.
As i'm not using Windows security, I had to use certificate on server to establish secure chanell, and what i did:
- opened my local IIS ma...
I am introduction the use of FaultException in to our WCF services.
To test this is I created the following function on the server:
public void ThrowException()
{
try
{
throw new ApplicationException("This is a test exception");
}
catch (ApplicationException ex)
{
thr...
We're planning on updating our developers from Visual Studio 2005 to 2008. Are there any common "gotchas" to look out for during this move?
My major concern at the moment is that we use WSE 3.0 quite a bit (mostly to consume external .asmx web services, but we also host a few ourselves). Will that be an issue since WSE 3.0 has been ...
I got a Windows service installed on my development machine (that I made) and I want to interact with it. For a reason I don't know, each time I start the client, a WCF Service Host pop and said that the address is already in use ... which is true ... but how can I do to NOT start that Windows ?
Is it because my two projects (server and...
I have a WCF service which is used to add tenders to the database, which is MS SQL Server 2005. WCF uses LINQ-to-SQL.
Each tender can have a lot of documents and a lot of items. The customers can add one object per service call. That is, the do something like this:
TendersServiceClient service = new TenderServiceClient();
service.Begi...
Here's my scenario:
I'm planning on running a Windows Service hosted WCF service on a server that is outside of our domain (in it's own workgroup). I need to access it securely from a client that is inside our domain. There is a firewall between the two machines that we are in control of.
The service does not need to be accessible by a...
A WCF service is hosted in a Windows Service (WS).
When the database (SqlServer 2005) goes down a SqlException is thrown due to the actions performed on the database.
What I want to accomplish is that the WS - where the WCF service is hosted - should go down when the DB is also down.
The WS will be restarted manually by the way.
My...
I am serialzing a linq object through WCF. The dbml is setup for unidirectional serialization.
My objects are pretty simple: Budget has a collection of BudgetLineItems. Each BudgetLineItem has an ItemCateogry.
Budget/BudgetLineItems are serialized fine. ItemCateogry on each BudgetLineItem do not, however. I noticed by default, li...
I'm running a WCF service in IIS7 with Username authentication and Message Security.
A client wants but develops using GRAILS. How do they go about connecting and authenticating with the service?
Any information would be greatly appreciated thanks.
...
We are developing a project that involves about 10 different WCF services with several endpoints each. One of the services keeps a few big tables of data cached in memory.
We have found we need access to that data from another service. Rather than keeping 2 copies of the cache, I'd like to be able to share those tables across all servi...
I have a WCF service currently using a TCP endpoint. Rather than create a separate console client app to administer the server I want the ability to telnet into the server or even just connect using a raw connection using putty and execute ascii commands straight on the server.
Any ideas how I would go about doing this? Not an expert on...