operationcontract Questions
4
Solved
I am trying to use the WCF Test Client to test a WCF service I have built.
The service has one method "SubmitRequest".
[OperationContract]
Response SubmitRequest(Request request);
When I load ...
Duro asked 19/12, 2011 at 21:34
5
Solved
I was curious if someone could outline which types of WCF contract (interface) changes on the server side would break a client trying to send in a message, and why. I believe WCF can handle certain...
Ioves asked 11/3, 2009 at 2:13
3
Solved
I would like to define an OperationContract, which I can pass any number of string parameters. The values should be interpreted as an array of string. Is there any possibility to use this type of p...
Refreshment asked 19/7, 2016 at 8:8
2
I am currently developing a Windows Service hosted WCF service. One of the methods has a URI which is set up to receive a callback from a payment provider. This is the interface contract...
[Oper...
Catharine asked 29/6, 2012 at 11:40
2
Solved
I wonder how I can specify a parameter of an OperationContract method in WCF as required so that the generated xsd contains minOccurs="1" instead of minOccurs="0".
Example:
[ServiceContract(Names...
Vitalism asked 4/8, 2010 at 14:33
3
Solved
Im creating a service contract in my wcf application and it contains a lot of methods.
I find it very annoying to write an OperationContract attribute to all of them.
Is there any simple way how ...
Headlong asked 10/9, 2013 at 14:25
2
Solved
What is a WCF OperationContract? I dont really understand what it does
Stannic asked 10/8, 2012 at 19:37
2
Solved
I use [DataMember(IsRequired=true)] to make the DataContract properties required. There doesn't seem to be some IsRequired for the OperationContract parameters. How do I make them required and not ...
Tubercular asked 11/10, 2012 at 9:35
2
Solved
Basically as the title says:
[DataContract(Name = "{0}Item")] //This will format properly
public class GenericItem<T>
{
[DataMember(Name = "The{0}")] //This will NOT format properly
public...
Singhalese asked 28/6, 2011 at 19:56
2
Solved
[ServiceContract(Namespace = "http://schemas.mycompany.com/", Name = "MyService")]
public interface IMyService
{
[OperationContract(Name = "MyOperation")
OperationResponse MyOperation(OperationRe...
Lacquer asked 24/6, 2011 at 15:57
3
Solved
Take for example a project with 10 services and 20 methods on each service.
All services inherit from a base services which has a security check. The first thing each method does is to make a call...
Albacore asked 8/9, 2009 at 7:49
2
Solved
I have declared two service contracts as follows:
[ServiceContract]
public interface IContract1
{
[OperationContract]
double Add(int ip);
}
[ServiceContract]
public interface IContract2
{
[Ope...
Blackcock asked 12/5, 2010 at 9:30
2
Solved
I have a WCF web service that has a method that returns a generic collection. Now, my question is: Should I expose it as ICollection<T>, List<T>, IList<T>, IEnumerable<T> or...
Botryoidal asked 19/2, 2010 at 14:48
1
© 2022 - 2024 — McMap. All rights reserved.