I have handhelds that need to communicate via basicHTTPBinding. I have a contract and everything works as advertised.
I need to expand it to easily support changing to a test environment, training and of course production. I took the port route, thinking I could expose different endpoints with port differences, and based on the port, ...
I am currently looking to design some WCF services and wanted to get the community's opinion on the best way to handle operation / data contracts.
I have 2 basic operation contracts, the first creates a quote and the second adds an item to a quote (and calculates totals behind the scene).
The first takes in customer information and sto...
I have been consuming a service for some time in development, and have been updating my service reference almost daily with no problems. Collection types have been set to generate as System.Collections.Generic.List in the Advanced options.
However, for no apparent reason, now when I update the Service Reference, it's generating Array ty...
Hi, my first question so hope it is suitable -
Shared interface assembly - I have a 'shared' assembly which has an interface, let's call it IDocRepository. It's marked with [ServiceContract] and there are several [OperationContract]-marked methods.
WCF implementation assemblies - I have two WCF service projects, each referencing the s...
So I am calling a wcf webservice using Rest WebHttp. I also have set up a second binding mex for testing. My method is working but when I try to test through fiddler or straight httppost through a client app I get a 400 Bad request error. I am passing mutliple datacontracts to the method. It forces me to use the BodyStyle of wrapped ...
Hello
I've written a WCF service which has a duplex contract and uses netTcpBinding. I've implemented the callback contract in the client side. The client is a ASP.Net web application. I created a new class file in the project and implemented the CallbackContract. From the class i'm passing the value to the page which binds the value to...
I'm receiving this error message when trying to return data from a WCF service.
"The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.9960000'"
It is misleading...
I'm writing an ASP.NET MVC 2 application that uses Entity Framework 4 and WCF Data Services.
I want to manipulate the many-to-many (composite key) relationship between Duties and Workers based on the state of some checkboxes.
A Worker may have zero or more duties. A Duty may have zero or more workers.
This code is from one of my contr...
Hi all, i am new to WCF, i try to create a duplex service and i get an exception with this messge "HTTP could not register URL http://+:80/Temporary_Listen_Addresses/42be316a-0c86-4678-a61a-fc6a5fd10599/ because TCP port 80 is being used by another application."
I will post the whole code in here and i hope you have time to take a look.
...
Hello All
In a Project being upgraded I have to Consume a WCF service ( Service A) published by 3rd party ( no Control) in my WCF Service.
I have been using ServiceA in My Web App project ( vs2008) and it has been working fine.
I started by Adding Service Reference in my WCF Project ( ServiceB). Lets say Name of the Service is "XYZ"...
I am building a tool for validating if all the touchpoints (DB connection strings, mail servers, web services, WCF services, etc.) used by a set of applications are accessible after a disaster recovery migration to an off-site location.
The tool must check whether a given net.tcp endpoint address is valid and accessible, without generat...
Hi,
I like the approach of having property bag objects (DTOs) which define the interface to my server, but I don't like writing code like this:
void ModifyDataSomeWay(WibbleDTO wibbleDTO)
{
WibbleBOWithMethods wibbleBO = new WibbleBOWithMethods();
wibbleBO.Val1 = wibbleDTO.Val1;
wibbleBO.Val2 = wibbleDTO.Val2;
}
This copy...
Hi.
I have a question regarding use of interfaces when unmanaged resources come to play.
Suppose I have a web service and generated WCF client. Service contract looks like this:
[ServiceContract]
public interface ITestService
{
[OperationContract]
string GetData(int value);
}
On client side I use dependency injection and bind...
Hi everyone..
I have a WCF service that uses Message contract for request and replies of data.
This is the service contract :
[ServiceContract()]
public interface ISalesFinderService
{
[OperationContract()]
Response DoSomething(Request i_Info);
}
The problem occurs when the service returns a response. This is the Respon...
I need to totally control the json serialization process in my Rest WCF service. I need to substitute the serialization result, that is something similar to:
{ foo: 42, bar: 43 }
with:
myFunc( { foo: 42, bar: 43 } );
any ideas?
thanks
m.
...
Hey everyone
I want to implement a simple cardgame in silverlight that can be played together via a server.
My question is, what concept for communication between client and server I should use.
Is it possible to use WCF to
implement the server ? I guess no because its more like a dataprovider right ?
or do I need to use .NET Remoti...
I have a WCF Service hosted on a server with Real IP but no domain name. Clients are .NET desktop applications.
I need to encrypt the data going back and force between the clients and the server.
How can I do that? I understand that Certificates required for the SSL connection need a domain name. is this accurate? What options do I have?...
Hello everybody, I am really really tired these day because of facing this problem.
I am building a XBAP application (WPF Browser Application) that uses WCF Service.
This app requires:
Users can login by using their username and password (that store in my database)
Users don't need to install any of X509 certificate (*.pfx or *.cert......
That's a horrible title, sorry.
Here's the scenario:
WCF Service uses LINQ to get data from a SQL database. Service is deployed on 4 (nearly) identical servers running under IIS. All are talking to the same SQL server on a separate machine.
3 of the 4 servers are working great.
On the 4th server we're getting this
A network-rel...
Hello,
I am working on Biztalk 2006 R2 (With ESB guidance 1.0)
I recently ended a development of a new model (Dot net model) on VS 2010 with dot net framework 4.0, the new model uses 4.0 features and cannot be downgraded.
I have found out that the GAC was changed in the new 4.0 framework and is placed in a diffrent location (link text)
...