I have been tasked to look after an ASP.Net WebForms application that communicates with a WCF service hosted by a Windows service. The binding used for the service is netTcpBinding.
The service exposes methods to Upload and Download ‘files’. The user select to upload a file and the HttpPostFile.InputSteam is passed directly to the servi...
Iam trying to connect my App to a WCF service that I created in asp.net.
The service runs on my localmachine:
http://localhost:8080/Service.svc/
But for some reasons my Android can not connect to this http-adress.
This is the error:
09-12 14:50:44.540: WARN/System.err(593): org.apache.http.conn.HttpHostConnectException: Connection to...
I am having problem with my WCF (which has client and server certificates)
Exception:
System.ServiceModel.ServiceActivationException:
The requested service,
'http://localhost/CustomerServiceSite/Customer.svc'
could not be activated. See the
server's diagnostic trace logs for
more information..
Error Stack trace:
DoNe...
I have problem with WCF on IIS when using diagnostics.
When I call the service I get the following error:
System.Net.WebException: The remote
server returned an error: (500)
Internal Server Error..
If I remove "system.diagnostics" section I dont get error 500 but I get an error
The requested service,
'http://localhost/Cu...
Iam connecting my Android app to a wcf service, and in my Log.i I can see that it return data correct, The only thing I want to handle it as JSON but my service sends as XML-(I think): this is how the code in the app looks like:
if (entity != null)
{
InputStream instream = entity.getContent();
BufferedReader reader = new Buff...
I've got a WPF application that does a very simple image playlist. It needs to be controlled by a web browser, so I opted for ASP.NET MVC, being familiar with it.
If I publish and install the WPF app to my local computer, and run the MVC web app through VS2010 locally, it works perfect. I can control the WPF app via a web browser. ...
I am new to WCF programming and am finding the learning process rather frustrating. As far as I can tell, WCF (and WPF, for that matter) will hide errors from you by default. So far I have experienced the following problems and had essentially zero indication from Visual Studio or the runtime that there was anything wrong (other than m...
After reading a recent MSDN Magazine article about the Task scheduler I was hoping (and actually quite excited) that using it would benefit my use of WCF generated proxies.
I was hoping to get some of the following benefits :
1) Ability to abort a running WCF operation (I'm not expecting this to stop the operation on the server - I'd ...
We currently have a half a dozen of project which originally have been built using .NET Framework 1.1 and WSE 2.0. But Microsoft's support for WSE is lacking and the latest version of it (3.0) only targets .NET Framework 2.0. Our new projects will use .NET Framework 3.5 and instead of hacking our self a WSE-support, we are currently look...
I'm trying to build RIA-enabled Silverlight project on the continuous integration server. There is no Visual Studio installed on it. Therefore I'm missing some libraries/targets.
What needs to be installed in order to build RIA project with only MSBuild?
...
Hi Everyone,
I'm facing a problem when trying to log my application using log4net.
My application consists of a WCF service, and clients connecting to it.
Logging at client-side is not a problem, everything works perfectly.
Here is how my server-side is made:
A WCF dll, which contains my service's contract and base implementation (in...
Whats the advantages of using WCF over .Net Remoting , web service, etc
...
I have been struggling with setting up a workflow service that uses a msmqIntegrationBinding. The problem I have now is that I always get this serialization exception "System.ServiceModel.ProtocolException: An error was encountered while deserializing the message. The message cannot be received. ---> System.Runtime.Serialization.Serializ...
I try to create a WCF Data Service for an Entity Framework model, which contains some attributes of type DateTimeOffeset. However the WCF Data Service does not support the type DateTimeOffset as I found out after googling the exception text "The property 'CreationTime' on type 'Task' is of type 'DateTimeOffset' which is not a supported p...
When using WCF together with Enterprise Library 5.0's validation application block, is it possible to customize the error messages which are sent back to the client?
I've added the ValidationBehaviour-attribute to my service contract and the FaultContract-attribute to the operation:
<ServiceContract()> _
<ValidationBehavior()> _
Public...
I will be interfacing with a third-party - the exchange of information is done as follows.
If my application is the client and the third party is the server, then:
Server-to-client: I give them a pre-defined URL and they push data with HTTP POST. The POST parameters contain a variable "xml" with the request in a proprietory XML format...
I have here what would appear to be a simple task; listing all the instances of a service object actively managed by a WCF ServiceHost at any particular time.
For example, my service contract interface is IFooService and the implementation is FooService (with a per-session behaviour). On the service side I simply instantiate the service...
Hopefully there are some WCF wizards out there that can spot my mistake here.
I am trying to set up a global error handler via an IErrorHandler based behaviorExtension on a RESTful JSON WCF Service. The method is decorated as such:
[OperationContract]
[WebGet(UriTemplate = "screens/info", ResponseFormat = WebMessageFormat.Json)]
The...
I wonder if there are some differences between creating a WCF service and an MVC web-application.
If you know of good links on how to create such a service for an MVC application that returns a JSON object please do post them.
...
Hello, I was learning WCF 3.5 and I already know some Silverlight (Basically what I've been learning while deloping in WPF which is transferable to Silverlight), and I just noticed that creating WCF services for Silverlight is a little different than 'regular' WCF services. I've been looking for books that concentrate in this topic, but ...