I have WCF silverlight enabled service. I have some methods in it.
I need to mark certain methods in service and
then to determine them when I have get all methods of service by Reflection.
MethodInfo[] methods = typeof(TypeOfTheService).GetMethods();
...
I'm playing around with WCF Data Services (ADO.NET Data Services). I have an entity framework model pointed at the AdventureWorks database.
When I debug my svc file from within Visual Studio, it works great. I can say /awservice.svc/Customers and get back the ATOM feed I expect.
If I publish the service (hosted in an ASP.NET web appl...
I'm trying to pass an array as an argument to my WCF service. To test this using Damian's sample code, I modified GetData it to try to pass an array of ints instead of a single int as an argument:
using System;
using System.ServiceModel;
namespace WcfService1
{
[ServiceContract]
public interface IService1
{
[Operat...
Hi all,
Here is my question, I have a solution with 4 projects in it for a WCF Service :
DLL Library : Service Interface.
DLL Library : Service Code.
Form Application : Service hosting application.
Form Application : Service client application.
I'd like to have certain properties of the service accessible for the hosting application...
Hi Team,
I am trying to create a WCF application that will be hosted in a Windows Service
I have two options in Visual Web Developer
1) New Website -> WCF Service
2) New Project -> WCF Service Application
Which will be suitable for creating service that can be hosted in windows service? Is there any tutorial explaining hosting in...
hi everyone.
im trying to implement simple secured client server communiction using WCF.
when im launching mt server everty thing is OK , But when im launching my client im getting this error:
Error : An error occurred while making the HTTP request to https://localhost:800
0/ExchangeService. This could be due to the fact that the server ...
I have some messages in my queue. Now I notice that after 3 tries the service host faults. Is this a normal behavior? Where does the 3 times comes from? I thought it came from receiveRetryCount. But I set that one to 1.
I got 20 messages in my queue waiting to be processed. The WCF operation that is responsible to process the message s...
I've recently started working up a sample project to play with an oData feed coming from a RIA service. I am able to view the feed and the metadata via any web browser, however, if I try to perform certain query operations on the feed I receive "unsupported" exceptions.
Sample oData feed:
ProductSet
http://localhost:50880/Services...
I have several WCF services which use castle windsor to resolve their dependencies. Now I need some of these services to talk to each other.
The typical structure is service --> Business Logic --> DAL
The calls to the other services need to occur at Business Logic level.
What is the best approach for implementing this?
Should I simp...
Hello,
I'm calling a WCF service through javascript and right now it's not showing any errors that might occur on the service side to the user. I have the code below and am looking for a better way to inform the user an error has occured, including the call stack and error message if possible.
The service itself throws a FaultExceptio...
Hi,
We've got a .NET client calling a Java WebService hosted on Glassfish. Sometimes, for no clear reason, we get the error stated above. It appears that the first letter of the method ("P" of "POST") is dropped somehow.
This is not consistent though, so we have no idea how to reproduce it.
The communication is done over SSL.
Any id...
In my web application I have a WCF service that feeds data to some of the AJAXy bits. The URL for calling it looks like:
"/Sales/Product/ServiceName.svc/MethodName"
This worked fine. Then, for SEO reasons, I needed to add some URL rewriting, so I registered an HttpModule and handled the BeginRequest event. Everything still ok.
But th...
Is the System.Tuple class supported by WCF's Data Contract Serializer (i.e., can I pass Tuple objects to WCF calls and/or receive them as part or all of the result)?
I found this page, but not the clear, definitive "you can send and receive Tuples with WCF" answer I was hoping for.
I'm guessing that you can, as long as all of the type...
We are wanting to implement Two-Way SSL security from WCF to OSB Services. We have successfully deployed the certificates so that when you browse to the service with IE you get the appropriate prompt for certificate and then it takes you immediately to the WSDL.
But, when you attempt to generate a proxy using svcutil as defined in steps...
Sorry about my English
in WCF, Is there an event or method that catch unhandled exception?
or i need to put try/catch in eny mathod
Thanks
...
Before a client gets the full payload of the web request, we'd like to first send it a measurement of the size of the response it will get. If the response will be too large, the client will present a message to the user giving them the option to abort the operation.
We can write some custom code to preload the response on the server...
Hi,
I have a problem with what solution to choose..
I have a server running having a Service running that can receive orders from a website.
To this server several client (remote computers) are connected somehow.
I would really like to use WCF for all comunication, but not sure it's possible.
I dont wanna configure all client firewall...
What's the easiest way to implement lan interprocess communication?
I need process on machine A be blocked until process on machine B send him just a simple string msg
Don't know if it is worth building a whole WCF project.
What Do you say?
...
Hi all,
after reading the SOAP 1.1 specs, it states that a SOAP Fault should return a http 500 errorcode when communication goes over a http binding, so when a SoapException is thrown, WCF returns a http 500 error code.
Now, I'm looking for some best practices to when return a functional soap error message and when to return a SOAP Fau...
Is sharing a project containing the wcf interface and datacontracts and using these via ChannelFactory to consume the service against SOA principles?
My architect is advising that generating a proxy using Add Service Reference is preferable.
...