Is it safe to switch a .NET 1.1 webservice to a WCF service, knowing that not all clients use .NET to access the service? So they use the SOAP/XML method. Can we switch to WCF without the clients having to change code?
...
I have a Variable class and and 3 subclasses: VariableBool, VariableLong and VariableDouble. Each subclass defines only a value member of the type of the suffix.
Now, I need to transfert objects based on these classes over WCF. I have multiple clients registering their variale to a server. Whenever a value changes on one client, it's ...
Hi,
I am using the WorkFlowServiceHost(in .net 3.5) to host a State Machine Workflow. I use the WCF receive activities to handle calls into the workflow. I am using a WCF authorization policy to attach claims to the incoming requests based on info in the message headers. So, further down the chain I can use the ServiceSecurityContext...
I have written a net.tcp based service in Biztalk 2006 R2 and it listens at a location,
http://localhost:5060/WCFTcpService
I need to call this service by using Raw TCP request. i.e.
I don't want to create a proxy class and consume it in a .NET client application.
How can I be able to do this?
The real scenario is that an Oracle Stored ...
I'm trying to learn how to build RESTful services with WCF by recreating the project on this blog post by Anthony Steele. He uses the following XML in his config to setup the endpoint for the service.
<host>
<baseAddresses>
<add baseAddress="http://localhost:8080/greeter"/>
</baseAddresses>
</host>
Howev...
I'm calling.a rest service (the task service sample from the rest starter kit) using a channel factory by using this code:
WebChannelFactory factory = new WebChannelFactory(new WebHttpBinding(), new Uri(http://localhost:61825/Service.svc));
TasksService.IService proxy = factory.CreateChannel();
var i = proxy.GetTasks("Dimitri");
works...
I've built a self hosted wcf server, using wsHttpBinding. I'm running win 2003 server R2 SP2
If in configure it to listen on http://localhost:443/MyService, everything works fine. I can connect to http://localhost:443/MyService with Internet Explorer, and I get the standard "Bad Request" message
Now, if I try to switch to https, I'm wi...
Here's my scenario ... I will be receiving a stream of individual messages from an outside source. The nature of this data and the processing I have to do to them is such that the more messages I can include in one batch, the more messages I can process on average. To use an example:
Messages 1 comes in, the WCF service starts proces...
I'm creating a WCF service that transfers entity objects created via entity framework. I have a User entity that maps to a User db table. There are certain User fields (Password, DateCreated, etc) that I don't want to expose to the client but, because they are non-nullable in the db, Visual Studio requires mappings. Setting these prop...
I've created the following RESTful WCF service, which works just fine when running it in VS.
[OperationContract]
[WebGet(ResponseFormat = WebMessageFormat.Json,
UriTemplate = "/sales/start={start}&end={end}")]
List<Sales> GetSalesByDate(string start, string end);
However, when deploying this to my test server (running Win2K3 and...
Can I do the following?
[OperationContract]
[WebGet(UriTemplate = "/foo/{id}")]
string GetFoo(int id);
I'd like my service to function as both RESTful service and RPC-style SOAP service.
If possible I'd like to retain int as int, and not do parsing by hand.
...
I have developed a WCF service that uses the net.tcp adapter and listens to a specific port. I want to connect to that service using a normal .net client that uses sockets to send data to the port and listens to responses.
When I try to send data to this service, I get the error: "The existing connection was forcibly closed by remote hos...
I'm running into a weird issue with my WCF Service using WS binding. When I configure it with no sessions (security/reliable) it works just fine, but not so with sessions. For example when I configure with security (message security, windows credentials), I get a timeout after 10th or 11th call. My service calls another WCF Service but, ...
Hi! I am trying to create a WCF service in JScript.NET. (I know, I should do it in C# or VB.NET, but humour me, please.) Has anyone done this before?
I can create .asmx web services, but I'm not sure how I have to modify web.config to make the .svc file work -- do I need to precompile things?
Also, I am (for right now) trying to do thi...
Is it possible/how do I stop and start the HTTP MEX listener of a self hosted WCF service at runtime without affecting the primary WCF service?
(Please don't ask why I want to do this. It is a hack to get around artificial limitations imposed by someone else.)
...
Will calling close on my WCF service kill all resources or set them up for GC or should I set it to null also?
...
I'm developing a WCF-based API for my company's CRM software. In the future, it will be used to develop applications on multiple platforms. I know WCF provides named pipe, TCP, and HTTP transports, but should I bother with the complexity of supporting all three when everything seems to be using RESTful HTTP these days?
...
The project I'm working on is a piece of static HTML with some inline JavaScript that will call a REST web-service, which I'm creating myself using .NET 3.5 WCF.
The JavaScript will grab some details from the user including an email address, then send those details off to the web-service through Ajax. The web-service will then store the...
I have a WCF Service. I have an external software that can read only .asmx files. Is it possible to convert my .svc file in the corresponding .asmx?
...
Hi!
We host a WCF webservice on Windows Server 2003. This server only has 2 internal IP's. We want to expose the service externally. This is done through the firewall that maps an external IP to the service.
So, I would need to modify the service to display that external IP for the internal links. This is not an issue since it should o...