This seems like it should be really simple, but I'm unable to figure this out.
I am adding a web service reference to my console application. The web service points against our production environment and I would like to test it against development. In VS2005 it was really easy to override the target URI of the service. Is it possible t...
I'm working on a self-hosted WCF service for which encrypted communications is an option. Everything works fine when a certificate is already bound to the port as described here.
However, I want to avoid asking the user to run a command line tool. Is there a way the binding can be done programmatically? Perhaps using WMI?
...
I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods).
We have common 3 tier architecture.
DAL (WCF)
BLL
Web UI
Here is my quick sample code:
DAL (WCF):
[ServiceContract]
interface IPerson
{
[OperationContract]
[TransactionFlow(Transactio...
So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception:
"The binding at system.serviceModel/bindings/wsHttpBinding does not have a configured binding named 'wsHttpBinding_Unsecured_Long'. This is an invalid value for bindingConfiguration. (C:\WINDOWS\Micr...
Enterprise Library Validation Application Block (VAB) integrates with ASP.NET and also with WCF.
Is there a way to integrate ValidationResults created in WCF with ASP.NET?
e.g. an ASP.NET web page invokes a WCF service. The WCF service validates the data using VAB and returns validation information via a FaultContract. The ASP.NE...
I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems sloppy and redundant; especially when the service and website are the same application.
-- update
The goal is to create a notification syst...
Why would you use .NET Remoting over WCF?
I understand that WCF has its distinct advantages, but what advantages would .NET Remoting offer you over the more modern WCF technology?
...
I had a connection working but something changed and now the data isn't showing up. It is a simple query that worked before that just returns all entities. I put in break points on the LoadOperation call and it fires and gets 0 entities. I also put a break point on the service itself, and it does not break before the LoadOperation eva...
I am getting the following error: "The given key was not present in the dictionary."
The code is just trying to create a proxy client connection:
FileService.FileServiceClient svc = new CCS.FileService.FileServiceClient();
Stack Trace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`...
Hi all, I'm having a problem with a WCF Service and Java Client, I will try to give as much information as i can, thanks for your time.
The Endpoint of the server is BasicHttpBinding, I tried hosting the server as a Windows Service and in IIS but nothing changed.
The weird thing is that the Client works great if I use a simple class, in...
Hi there,
I have a piece of code that calls a WCF service that is hosted on a server.
The code keeps looping around and around calling this method over and over again. (It's asking for a 'status', so it's not doing any work at all).
That's fine except that after a short period of time I get an error:
This request operation sent to n...
Hi
With the XmlSerializer I can have my members in different namespaces to the parent type.
Can I do the same thing with DataContractSerializer?
I would like the following Xml
<h:Type xmlns:h="http://schemas.e.com/WebServices" xmlns="http://schemas.e.com/WebServices">
<Member xmlns="http://schemas.e.com/CoreTypes">0</Member...
I have to create a WCF service that handles following tasks:
Register the notification sent from multiple client through WCF service.
The WCF service in turn sends ( Callback) the notification to the multiple client.
The WCF service also want to listen a datachange notification from another database server.
Can a WCF service is trea...
Hi,
i've got the problem that i implemented a WCF-service which is using LINQ entities... To generate the content of the response to a service call, requires a high amount of LINQ/SQL selects...
Whatever, the service is not doing any updates or inserts to the DB, so i'd like to implement a kind of "caching" of the LINQ entities ( also ...
I have created a console application in which I have exposed interface having
[OperationContract(IsOneWay = true)] attribute.
If yes how can Java application call methods exposed in WCF application?
Note: its not a WCF sevice so we not having Service refence.
...
Hi all,
I'm wondering if it is possible to have WCF make sure that the DataContracts on both sides of a connection are exactly the same (and throw an exception when trying to connect if they are not).
For example, imagine this service:
[DataContract]
enum State
{
[EnumMember]
Red,
[EnumMember]
Yellow,
[EnumMember]
...
Hi,
I am writting wcf services in .net 3.5 framework with basicHttpBinding and hosting it in the IIS 6.0 ( windows 2003).
I have 3 different services ( AuthenticationSerice, Dataserviceservice, ReportingService), there few classess which are shared among these service. My problem is When I am generating proxy classes for three wcf/web...
I'm trying to get IIS6 to work reliably with a WCF service I have hosted in a separate Windows Service application on the same machine. Users connect to IIS via some HTTP exposed services, which is working fine, and then IIS needs to get some information from the Windows service to put in the HTTP response. I also need a callback channel...
Does anyone know of a framework that would allow me to easily host and configure WCF services within a Windows Service?
Originally I had developed a system where a single host application contained one Windows Service per service host so that the administrators could manage these services individually in the Services applet.
However, ...
First,Im running a windows service that should contain a lot of funcionality.There will be a business layer and the results comming from this business layer will be sent over WCF to the presentation layer.
I dont know how to structe all this functionality.
So my questions are :
1.
Should I create somekind of a Facade pattern class tha...