We have a WCF Service hosted in IIS 6 with Integrated Windows Authentication turned on under Directory Security. Consuming this service from a .NET Windows client the cached NTLM credentials flow to the Server PC and things work great. We would like to have the same occur when a Java client accesses the service (via the WSDL generated ...
I am working on creating a API (using WCF) that will expose some of the internal systems of an ecommerce company to the outside world.
The target users of the API are mostly small businesses who may not have extensive develper resources.
To ensure the evolution of the API in the future, i have decided that the input and output parameter...
What is the best way to return multiple values from a WCF service?
...
I've been reading that ChannelFactory creation is expensive and that unless there is a technical reason not to, one should reuse ChannelFactories when possible either by caching them someway, or by using static instances of the factories.
In your experience, what ChannelFactory reuse strategies have you found to be the most useful and r...
Just wondering what are the most useful resources you've seen for learning about WCF?
I've created a few prototypes and understand the basics, however I'm starting a fairly high-profile project and would like to fill in as many gaps in my knowledge as possible.
...
I'm trying to deploy a WCF service to my server, hosted in IIS. Naturally it works on my machine :)
But when I deploy it, I get the following error:
This collection already contains an
address with scheme http. There can
be at most one address per scheme in
this collection.
Googling on this, I find that I have to put a ser...
We have SOAP implementations of our services and up till now we had some legacy code that was wrapping our args and returns in another object to get around some serialization / generics on RPC methods.
After optimization, we had implemented this class so that it Json serialized (DataContractJsonSerializer) and GZipped our complex reques...
Hi,
I have tried several times to have my WCF service expose MetaData. Instead, I keep keeping the exception:
The contract name 'IMetadataExchange'
could not be found in the list of
contracts implemented by the service
SecurityBroker. Add a ServiceMetadataBehavior to the
configuration file or to the
ServiceHost directly t...
I'm having an issue with a WCF application that I've written.
When both the client and the server are on the smae machine it runs fine, however when I try and run it with the cleint and server on two separate machine (as it is supposed to run) I get the following in exception:
System.ServiceModel.EndpointNotFoundException: There was no...
Hi
I recently started with WCF ( yeah I know I am behind :-) ). The question is how I must structure it.
I am used to DAL,BL and Presentation Layer. I am replacing( sort of) my DAL with entity framework.
So I have this so far
DAL(entity framwork) -->
BL -->
contracts (datacontract messagecontrol service contract behaviours etc) -->...
I have a WCF service:
<%@ ServiceHost Language="C#" Debug="true" Service="IWW.MIGTurbo2.WCF.Security.SecurityBroker" Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory" %>
This works fine using webHttpBinding from my web project.
I also want this service to be usable by a WinForms client, so have added a basicHttp...
Using an Oracle 11g database. I have a service that is tagged with:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, TransactionTimeout="00:00:10")]
The method itself looks like this:
[OperationBehavior(TransactionScopeRequired = true)]
[TransactionFlow(TransactionFlowOption.NotAllowed)]
public OrderMess...
My web app is going to call a webservice.
I'm looking for best practices / guidance for logging onto the webservice so I know that an authorized user is trying to access it not just anyone.
...
I have a solution that has some EF objects. I want to pass them down to the client.
When I try to test this in the WCFTestClient.exe I get this error on my objects:
"This operation is not supported in the wcf test client"
Is there a way to set things up so I can pass my Entity objects down to the client or am I going to have to make ...
I have a WCF service which accepts a string as a paramter for one of its operation contracts. This string however has xml content in it.
I need to convert this into a class that is marked as a DataContract but is not exposed to the outside world.
I need to use the DataContractSerializer because the class members have the [DataMember...
Are there any open source (or not) alternatives to the WCFTestClient?
The WCFTestClient has a lot of limitations that make it hard to work with (for example it does not support Entity Framework objects).
So I am looking to see if there is anything else out there that may be better (or even different).
...
I have a WCF service that generates loads Entity Framework objects (as well as some other structs and simple classes used to lighten the load) and sends them over to a client application.
I have changed 2 of the classes to implement an interface so that I can reference them in my application as a single object type. Much like this examp...
Hi All,
I am using SoapUI 2.5.1 - evaluation version
In a testcase, how to save the response messages along with requests in a SoapUI project ?
Here is what is happening currently:
When I create a Web service SoapUI project and send SOAP request for an operation, I get a response XML. Now after saving the soapUI and exiting the tool ...
Hi,
If I have a service definition/implementation like this:
using System;
using System.ServiceModel;
namespace aspace.service
{
[ServiceContract(Namespace = "http://aspace.service")]
public interface IUpdate
{
[OperationContract]
ConfirmationMessage UpdatePerson(string PersonIdentifier);
}
}
public class UpdateServ...
My WCF server needs to go up and down on a regular basis, the client sometimes uses the server, but if it is down the client just ignore it.
So each time I need to use the server services I check the connection state and if it's not open I open it.
The problem is that if I attempt to open while the server is down there is a delay which h...