I am using WCF REST Preview 2 to test some REST services. The package has an extension to IEnumerable as ToDictionary(Func(TSource, TKey) keySelctor. Not sure how to define a lambda function to return keySelector?
Here is one example:
var items = from x in entity.Instances // a customized Entity class with list instances of MyClass
...
I want to expose an implementation of a contract over a WebHttpBinding with SecurityMode: transport (SSL).
However, when I try to access the site via Firefox, I only get
The connection to localhost was interrupted while the page was loading.
The config file is as follows:
<configuration>
<system.serviceModel>
<services>
...
Hi,
i got a webservicedefinition like this:
[OperationContract]
[FaultContract(typeof(Exception))]
[WebInvoke(ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Wrapped,
RequestFormat = WebMessageFormat.Xml)]
SearchResponse SearchXML(SearchRequest req);
and a Service config ...
I am using IIS V5.1
I have wcf service application for which I am using security mode = Transport.
and wshttpbinding.
How can I Configure the Virtual Directory to Require SSL ?
...
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...
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 am using Microsoft REST Stark Kit Preview 2 to explore REST Collection WCF Service. Within the Service.svc.cs class, there are some classes and interfaces being used as base or component classes. For example:
public interface ICollectionService<TItem> where TItem : class
{
...
[WebHelp(Comment = "Returns the items in the col...
Hi all,
Here's a bit subtle issue I'm dealing with, and would appreciate any help.
We have our project on production mode, built with .NET 2.0. We have recently developed a Silverlight application external to the 2.0 solution, and it's "speaking" with a WCF service. This service consumes DLLs we copy from our 2.0 solution publish folde...
All,
I have a WCF service that times out intermittently, usually after about ten or twelve requests from the asp.net client. The service uses reflection to find classes in its assembly (WAP dll) that have a custom attribute set. The process itself is very quick, usually taking only a few milliseconds, and when it works, it works great. ...
Hello,
I made a wcf service to automate the VMware workstation 6.5 tasks remotely using VIX API, on 32 bit vista machine the service is running fine. But on 64 bit machine the service throws an soap exception. When i check the the service using wfcTestclient it throws the exception that System.BadImageFormatEcxeption even though i used...
I have two websites on the same machine. The first (client) references a WCF service on the second site(server).
How do I set the address for the service reference? When moving from development on my local machine to the group development server, how do I change the url for the service? The sites are differentiated by host headers, lik...
Hi,
I'm using SL3 and google maps. I get the coordinates of points to draw on the map through a duplex HTTP WCF service. The client proxy is created through the svcutil tool.
It works fine until I get plenty of points to draw on the map.
When that happens google maps takes a long time to draw stuff on the map and it has to do it on t...
Hi
Mine is windows application. I am using web service(build using wcf2008).when i add service reference to my application it is generated one app.config file.
and i am calling this API as
UUCPAPI.UUCPAPIServerClient uucp = new UUCPAPI.UUCPAP...
What is the purpose of WCF Service Library?
I understand if you build an IIS hosted service you create a web project, if self-hosted - create an .exe.
What is a real life scenario to use WCF as DLL?
Thank you
...
Hi,
I know web service and have some knowledge on remoting.
Both concepts invoke methods on the client machine so where lies the difference ??
Through remoting we can also execute the method on the remote machine and the same functionality can be achieved through web service too..
Please excuse me if it is the obvious question..
...
What are the various methods of hosting a WCF service?
...
We are using WCF for communication between a client and a server application. The client application has many features that requires communication to the server - and we have chosen to implement this in multiple classes (seperation of responsability)
For the time, we are creating new WCF endpoints and service contracts for each object -...
Say I have created a webservice and WCF service.
How are the different kinds of testing (viz. unit testing, SIT, etc) performed for web services and WCF service.
Do i need to explicitly create a sample project to test the service by passing input parameters and analyzing output parameters or are there any tools through which we can per...
I'm trying to host two WCF services in one application. I want them to share the same BaseAddress but have their own URLs something like: net.tcp://localhost:1234/service1 and net.tcp://localhost:1234/service2
The following config allows me to do that:
<system.serviceModel>
<services>
<service name="VanillaWcf.Shared.MyServ...
hi,
when im invoking a service from my code and from WCFTestClient, im getting a null response, but when im using another Tool (SoapUI), im getting a valid response back.
Anyone has any idea why this is happening?
thanks a lot
...