I have Written a webservice with VS2008
after I had Added Reference to that service in VS2003,I encountered a problem calling methods which return nullable values such as int?
if I fill that feild with a value,the problem solves.
Is There any other way to solve this problem?
Some more Information
Please Look at these extract from my ow...
Hi I have an application that operations like this..
Client <----> Server <----> Monitor Web Site
WCF is used for the communication and each client has its own session on the server. This is so callbacks can be used from the server to callback to the client.
The objective is that a user on the "Monitor Website" can do the following:
...
Basically i have a wcf service that returns a dataset of 2000 records.
When i run the function from an application i get the standard error.
"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element."
Now i know how ...
I'm having trouble with a WCF service. The return type is a semi-complex type which makes reference to various basic types and a base interface that each of those types inherits from.
In my debugging, the total byte size of the serialized message is well under the default 65535 byte threshold. Nevertheless, I have increased the maxRecei...
Hi
We have an application in BizTalk which has started to report errors. It seems to be related to maxItemsInObjectGraph, which for the Web application has been fixed by amending the CONFIG file. However it still fails in BizTalk.
I was told i could configure the receive location in BitTalk and set it there?
However i only seem to be ab...
We are having a REST WCF service.
we want the save operation on this REST service to be in transaction.
Is there a way to pass Transaction object over the wire to REST WCF service?
...
I'm just getting started with WCF, and while it's nice if you directly generate a new assembly with WCF service (where debug automatically picks up that it contains WCF services, and shows them to you), and it helps you to write boilerplate (by using the Add Service Reference ...) I have a hard time to convert a small application from a ...
Why OperationContract attribute required in WCF service function?
...
How can we limit the number of concurrent calls in wcf?
...
I have a web service implemented in WCF. This service is only going to be called by a single client, a site with a static IP address. I would like to implement simple security that would verify that all calls to the service are only valid if they came from this particular static IP.
What is the best way to do this?
...
Hi all,
Per default, all data contract entities, involved in realization of service operation (and their known types, are include in service metadata.
I am trying to find out, if it is possible in include other classes or data contracts in the metadata. The reason for this is that i have some enums, which can be used to fill in string ...
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 to the security check. This throws a security exception if there is a problem.
Question is: Do I need to specify a FaultContract on each met...
Hi,
I'm creating a simple web service using WCF. The message needs to be encrypted and the user need to be authenticated through an asp.net provider.
What binding should I use for this? WsHttpBinding or WebHttpBinding?
Can anybody point me to a good example using the asp.net provider and self signed certificates with wcf.
Thanks
...
Which one should be use in wcf NetDataContractAttribute or DataContractAttribute?
the data class as follows
namespace ABC
{
[Serializable]
public class DeviceConf
{
public DeviceConf() {}
[XmlElement(ElementName = "ProtocolName")]
public string ProtocolName{ get; set; }
[XmlElement(ElementNa...
I have a web application which calls WCF service to get an object.
I requre the object after post back.
I am using session to store the object for later use.
The use of session comes with an associated cost.
The other option i have is to call the service again to get the object.
I am not sure what is the good way of doing this?
Anyone an...
I have a contract defined like this:
[OperationContract]
[WebGet(UriTemplate = "/GetX?myStr={myStr}&myX={myX}", BodyStyle = WebMessageBodyStyle.Wrapped)]
string GetX(string myStr, int? myX);
I get an exception:
[InvalidOperationException: Operation 'GetX' in contract 'IMyGet' has a query variable named 'myX' of type 'System.Nullable1[...
Hello
I am trying to access an asmx service located on IIS, the asmx is using integradted security
I am trying to call it with wcf-basichttp adapter configured inside ESB guidance 1.0
The error i am getting is :
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the ...
Problem:
I have a WCF Webservice which can be used by customers to upload multiple datarecords. To validate the data I use Enterprise Library Validation Block. The records can be nested several layers deep.
Question:
How to identify in which record the validation failed?
Example:
Consider the following datastructure. For each Contin...
I am Developing a Web Service using WCF.It is an interoperable Web Service.Now i am consuming this Web Service from a Java Client.now when i created the proxy class.It created all getter & setter method.now in that proxy class it created a JAXBElement field.I searched for it in jdk api for it.and found constructor.
JAXBElement(QName na...
The following is a message logged in Microsoft Service Trace Viewer. I believe it represents a single call to a parameterless method that has an integer return value on a WCF Service (with WsHttpBinding). I am using message level security (with username credentials) and created a development server certificate to get this to work. I am b...