I have a web application deployed in an internet hosting provider. This web application consumes a WCF Service deployed at an IIS server located at my company’s application server, in order to have data access to the company’s database, the network guys allowed me to expose this WCF service through a firewall for security reasons. A diag...
Ok, all these methods of getting data in a Silverlight control are confusing me.
I've looked at ADO.Net Data Services, Web Service and Ailverlight-enabled WCF services.
I'm just not sure when one is appropriate to use over another. What pros/cons do each offer?
I've built a web app, and a silverlight control. I will be adding one of ...
I have a simple WCF service:
public Order[] GetOrdersByStatus(int statusid)
{
OrderService os = new OrderService();
TList<Order> orders = os.GetByOrderStateID(statusid);
return orders.ToArray();
}
when this returns it throws a StackOverflowException in mscorlib. Any idea what could be causing this?
The OrderService is a...
My colleague has an app that hosts a simple WCF service with a net.tcp endpoint. I can add the service reference to any app I create using the address net.tcp://192.168.0.22:9999/GSS-POS/QueryDispatcher/mex
However, when he tries to add the service reference to an app running on his machine he immediately gets a socket error 10045. We...
I go to https://mywebsite/MyApp/Myservice.svc and get the following error:
(The link works if I use http:// )
"The service '/MyApp/MyService.svc' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. ...
I used to use .ASMX web services, but I'm trying to move to WCF because it's the latest newest thing, and it's supposed to be better.
Anyway, what I'm wanting to do is really really simple : create a webservice that empties the Application collection by calling Application.Clear(). In an ASMX web service, this is really really simple, ...
We are in the process of designing a simple service-oriented architecture using WCF as the implementation framework. There are a handful of services that a few applications use. These services are mostly used internally, so a basic authentication and authorization scheme (such as Windows-based) is enough.
We want, however, expose some o...
I have a WCF service that has been hosted on a Windows Service and uses BasicHttp endpoint to serve Windows Mobile devices that has been connected to it
The problem is that with the Device Emulator, I can connect to the service and using it without any problems but with an actual device, I receive "WCF The request failed with HTTP stat...
We're embarking on a new middle tier service that will allow internal client systems to create and update and query records in some underlying data stores. The service will aggregate as many as 3 seperate underlying datastores. For the purposes of this question assume:
Data store #1: Proprietary XML Database.
Data store #2: Off the ...
We have a wsdl specifying a datetime element. It is nullable, in the sense that minOccurs=0. However, using svcutil to generate a proxy class does not give us a .net nullable DateTime property, so how best can we make the proxy class serialise the message to a SOAP message that does not contain the datetime element?
...
hey guys, a WCF question for you here:
i have two services and am sending pretty chunky messages between them (~100kb). Though the previously mentioned value is typical of the size of the message, it is possible for it to fluctuate greatly (in both positive and negative directions).
Thus, to deal with such situations where i have to tr...
Hi,
I deveploped a simple WCF service called CLSAPIService that it's Contract contains a method named UpdateLastOpenCloseCall:
[OperationContract(Name = "UpdateLastOpenCloseCall", Action = "http://uniform.com/UpdateLastOpenCloseCall")]
CallResult UpdateLastOpenCloseCall(int iSwitchID, int iAgentID, string strExtension, BusinessD...
Hi all,
I have a very simple app I'm trying to get to run under TCP using WCF 3.5 on Vista Enterpise. The error I'm getting when trying to hit a WCF service at http://localhost:8080 (or any other port not reserved by http) is:
TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:808...
I have a web service (WCF or ASMX doesn't matter)... I have made a Console application, right-clicked, added service referrence. So far, so good.
However, I cannot for the life of me pass "security" credentials across to my service. This is my client code:
var client = new MyClient();
client.ClientCredentials.UserName.UserName = "bob"...
I'm trying to write a simple WCF Wrapper to load a SyndicationFeed as a client.
Contract
[ServiceContract]
public interface IFeedService
{
[OperationContract]
[WebGet(UriTemplate="")]
SyndicationFeed GetFeed();
}
Usage
using (var cf = new WebChannelFactory<IFeedService>(new Uri("http://channel9.msdn.com/Feeds/RSS")))
{
...
Hi,
Can any help me to find the answer of the following questions.
We have a solution where we are picking the messages using Windows Service
Service fires every after 2 minutes and pick the message to pass it ot a web Service.
Q1- Can i create a WCF service which will automatically pick the messages from MSMQ Queue.
Q2- Can I avoid...
I have a silverlight control which has a reference to a silverlight enabled wcf service.
When I add a reference to the service in my silverlight control, it adds the following to my clientconfig file:
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBind...
I'm trying to follow a simple example of AJAX-enabled WCF Service like:
http://www.pluralsight.com/community/blogs/fritz/archive/2008/01/31/50121.aspx
I'm getting the JavaScript errors Type not defined and Sys not defined.
Does this mean there is an issue with one of these .axd things? or something else?
How do I troubleshoot what is wr...
If I have a web service method, e.g.
[WebMethod]
[XmlInclude(typeof(SportsCar)), XmlInclude(typeof(FamilyCar))]
public Car[] GetCars()
{
Car[] cars = new Car[2];
cars[0] = new FamilyCar();
cars[1] = new SportsCar();
return cars;
}
If I want to add a new car type to my service, I woul...
I use WCF in a fairly demanding environment. One behavior that I have observed is something that I have taken to calling the cold startup. When I first startup a client that is calling a service there seem to be a lot of failures in the first calls. For instance I can watch the first say ten calls go through and then the next 200 calls f...