Hello!
I have a very simple wcf service. And a simple windows mobile client.
I have two Windows 2008 servers. One is my development pc. The other is placed in our dmz.
If I deploy my application to my development pcs, IIS, and open a port all the way in(Just for test). It works.
But if I copy the service on to the dmz server, it d...
This is a strange phenomena, and I hope someone can take this one...
I have this class:
Class Parent
{
some members;
IList<Child> mylist;
}
Class Child : Parent
{
}
They are map with HasMany in Fluent.
now I'm calling the List function over wcf
and unless I remove the HasMany mapping from the father,
The WCF List Function (th...
I have two .NET C# windows forms applications that are communicating with each other via WCF named pipes. One of the applications is hosting a WCF service and the other is the client. Communication is working fine, the client can call service methods and callbacks work fine, etc. However, one issue I am having is if the host applicati...
I'm having trouble using properties in a WCF service. I can define a property in the interface as:
[ServiceContract(Namespace = "http://some-url.com/")]
interface ISomeInterface
{
[OperationContract]
int SomeMethod(string someArg);
int SomeProperty
{
[OperationContract]
get;
}
}
But when consumed by a client, the pr...
Hi,
I have a WCF service that my console application consumes. The proxy class is generated which uses the console application namespace.
The DataAccess layer has a method GetItems which requires a ITEM object which belongs to a different namespace. Is there anyway to tell WCF to create the items which belong in a certain namespace a...
I'm trying to add a custom header to a wcf client hitting a standard, RESTful endpoint. I am trying to add some kind of header that will just allow me to trace requests from one layer to the next. Here's how I've tried to implement it:
public class DynatracePurePathHeaderAppender : IClientMessageInspector, IEndpointBehavior
{
objec...
I have the following scenario. My client application connects to a server side software via web services. I have no control over the server side software.
Every time the server side folks deploy a new version, my client app can't connect to it (via the web services... ping works fine) until the client system is rebooted (just restar...
Windows Process Activation Service is installed under features on my Windows 2008 server running IIS7. Should i be able to see the NetMsmqActivator (Net.Msmq Listener Adapter) in the services list? I don't see it there. My messages are sitting in the queue unprocessed so i went to see if the NetMsmqActivator is running as its supposed...
Hi all
I am planning to use Unity for my WCF Services. The client application talks to WCF Services.
The WCF services talks to few other modules [ ModuleA, ModuleB, ModuleC...]
All the modules implement IModuleInitializer like WCSF modules do. They have a RegisterModuleServices method
I was able to integrate Unity with WCF. In my cor...
Hi,
I have seen many threads related to this but I still can't solve this problem. I have a silverlight busiless application in which I have a silverlight enabled wcf service added. Everything works fine on the developement server but when I deploy the application on ISS7 on same machine, when I access the service I get an error
An exc...
Is it possible to implement a publisher/subscriber model in WCF only by using events (i.e. not Lists or Dictionaries)?
If yes, plz provide me with a web link of an example application, Or any article that talks about this.
...
I'm trying to host a WCF Service inside a Windows Service which I am starting through a console app. Each service is its own project as is the console app. I've copied the app.config from the WCF Service library into the app.config of the console app, but I keep getting "Service has zero application endpoints...". I've read in a few p...
A collegue of mine needs to implement custom logging of WCF messages, for debugging purposes, but also for traceability (logged data will be saved for future reference and verification).
Examples like this one, Capture XML In WCF Service, shows how to do this for the host, but he needs it for the client application.
Can anyone help me/...
I am working on implementing a non web.config approach of WCF services using the factory attribute on the .svc file per Rick Strahl's blog post:
Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory"
Locally, I am running IIS7 in Visual Studio 2008 and have no problem, but when I deploy to my web server (currently running...
I am trying to figure out what is and isn't supported for WCF under Mono. I have read the WCF Development Documentation on the Mono Project page.
For anyone with experience using WCF under Mono, are there any gotchas I should be aware of?
...
Hello,
I have a generic service which i can host in an exe and call from another .net app, but since web services on IIS are loaded on demand, i cant host it an web project.
is there a way to tweak the wcf stack to read the url ( in which i can pass the type information) and invoke the service ?
i tried using servicefactory, but its m...
I have a data contract with a data member typed as Dictionary<string, string>.
The generated web service reference exposes this as a member with the type ArrayOfKeyValueOfstringstringKeyValueOfstringstring[].
Has anyone seen this before?
...
Hi,
I've implemented some WCF code that returns me the data from a WCF call, it works, but behaves syncronously.
IAsyncResult BeginGetAsyncData(object src, EventArgs args, AsyncCallback cb, object state)
{
_client = new ServiceReference1.Service1Client();
return _client.BeginGetPermissionsByStaffID("xxx", cb, s...
I am building an application that will have web, windows and mobile (iPhone) client, I want to use WCF to implement the service layer and not being familiar with WCF I am a little confused when it comes to security, authentication and authorization.
What I would typically like is to re-use as much of the ASP.Net membership components ...
In my application I need to save with NHibernate entities received from WCF service.
Currently I'm using session SaveOrUpdate method for this purpose.
Often we don't need to edit reference properties, so from client I receive object, which has empty collections. But I don't want this empty collection to reflect in database.
Example:
...