I'm not 100% sure what the correct terminologies are but..
I have a class called InParams with two fields, a string and a long and their corresponding Property accessors to the fields. These are decorated with [DataContract] and [DataMember] respectively.
I have a WCF service method called void Test(InParams inParams)
The proxy gener...
We have a WCF service that exposes a "Customer" type, i.e.:
[DataContract(Name = "CustomerData", Namespace = "http://www.testing.com")]
public partial class Customer
{
[DataMember]
public CustomerLevel Level
{
get;
set;
}
}
You can see the above type has a property that is an enumeration type. The defin...
I'm working with a PocketPC vm for development over here.
I can get the virtual device to connect to the internet, but I can't get it to connect to a web service on my local (host) machine.
I've tried the machine name and my IP address, different ports, but no luck.
Anyone else have this issue?
EDIT: I have an actual device at my ma...
Does WCF support nullable enums? I have a DataMember that is a nullable enum type on the server-side however, when I generate a client-side proxy the type in the proxy is non-nullable.
...
I have a WCF service operation that accepts a data contract parameter of custom type MyQuery -- function Search(q as MyQuery). The MyQuery object contains 2 properties:
MyQuery.SearchPhrase (string)
MyQuery.SearchType (custom enum SearchTypeEnum)
I also have a Flex client application that consumes this service. But when Flex invokes ...
I have a WCF service that uses X.509 certificates for authentication. What's the best method of creating a Java client that can use that service? I've heard of Axis, CXF, Tango, and WSS4J, but I'm not sure which supports X.509 and which one is a good way of working with WCF.
...
Is there an easy way to tie custom X509 cert validation to BasicHttpBinding (or CustomHttpBinding for the same matter, which will implement transport-only security)?
EDIT1: I added a ServerCertificateValidationCallback to the code for the sake of showing that it doesn't fire up either
Here's what I'm trying to do:
1) wrote custom X50...
What is the best way to get notified when a WCF service is first started?
Is there something similar to the Application_Start method in the Global.asax for an ASP.NET application?
...
I have a WCF Service and an application with a Service Reference to it, and with the application I have a loop and in each iteration it's making a call to a method in this wcf web-service.
The problem is that after about 9 calls or so, it just stops...and if you hit Pause button of VS, you will see that it's stuck on the line where it m...
I have a site where members login to their account (FormsAuth). I would like to set up a RESTful service that I can access using jQuery. I would like to protect these services using the same FormsAuth.
How would a third-party site be able to access these services? They would need to pass in the Principal/Identity to the service, right...
I am trying to send an array of about 50 elements to a WCF service method, but I'm always receiving a (404) Bad Request error.
I think that it has to do with the message size or something like that, because if I send an empty array it works.
I did some research and added some stuff in the web.config of the WCF but I still can't manage ...
In the implementation for my service I have:
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
In my .config file I have:
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
and:
<system.web.extensions>
<scripting>
<webServices>
<authenticationService ...
I'm trying to write a WCF service that allows PCs and Windows Mobiles to download certain files. For the PCs I used MTOM to stream the data to the clients but it seems that Windows Mobile does not support MTOM.
How can I implement a single service to download files?
The file sizes vary from 100KBs to 10MBs.
...
I am developing an application which includes a WCF service and its ASP.NET MVC client. The ASP.NET MVC website must display a grid of objects - say, products. These products are stored in database which is accessible through the WCF service. So somewhere inside an MVC controller I call WCF service's method that returns me an array of p...
I've been pretty confused on one point in design of DataContracts for serialization.
Say I have an object (e.g. a Customer) and it exposes a collection property (e.g. an AddressCollection named Addresses). Framework design guidelines dictate that I should not expose a public mutator for the property, i.e., the collection property shoul...
Hi guys, please help me resolve this problem:
There is an ambient MSMQ transaction. I'm trying to use new transaction for logging, but get next error while attempt to submit changes - "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding." Here is code:
public static void Sav...
We get
"""The communication object, System.ServiceModel.Channels.ServiceChanne, cannot be used for communication because it is in the Faulted state."""
message when we close the application. Can anyone tell me how to fix it? We know it is communication channel trying to close but it is not able to close due to service not available or...
I was under the impression that an endpoint was defined in a config file as the list of possible clients but that makes no sense (in the sense that I assumed it said what computers could connet to the service) now I'm gathering that it's more of a definition, so would someone please explain what an end point is to me? I understand the co...
I'm developing a master-slave command model by which some application "Master" sends commands to homogenous processes called "Slave" to do some task and then respond back with status complete or process failure. they should also expose some data to the master available on request.
What would this model look like in WCF?
would Master a...
Just like the title says. Does each authenticated WCF client connection to a WCF server that you have developed need a windows CAL?
http://www.microsoft.com/windowsserver2008/en/us/client-licensing.aspx
Microsoft's licensing on that page sure makes it sound like it, but I can't find anything out there that confirms, or even denies thi...