Hi,
I am writing a thesis and currently desccribing the implemented methods and services. In the book RESTful Web Services (O'Reilly) I noticed there are the following possible request formats: JSON, XML, made-up vocabulary and Atom.
I created a service using WCF. Below is one of the methods declared in the interface:
[OperationC...
Dear all,
I have written a simple service that uploads & downloads XML files. I want to implement it in a Silverlight 3 project, but on doing so I get following warnings:
**Warning 1 Custom tool warning: Endpoint 'BasicHttpBinding_IxmlLoad' at address 'http://tony-pc/xmlLoadService/Service.svc' is not compatible with Silverlight 3. ...
Dear all,
I have a WCF Service that I've added to a Silverlight project and is now hosting in Visual Studio's ASP.NET Dev Server. But tyring to run it I get the following error:
System.ServiceModel.CommunicationException was unhandled by user code
Message="An error occurred while trying to make a request to URI 'http://localhost:51...
Hi All,
I've put clientaccesspolicy.xml in wwwroot for a webservice running via ASP.NET dev server to use, but in Fiddler it shows me this message when trying to get at this file:
**[Fiddler] Connection to localhost failed.
Exception Text: No connection could be made because the target machine actively refused it ::1:51575 **
What doe...
My employer currently has most of its access to the database through C# sqlDataAdapters and sqlCommands on a WebServices server or components in applications. These are mostly Windows Forms apps that are ran on intranet and internet depending on their functionality.
I have been researching WCF quite a bit and I feel it would be a good f...
Hi,
I'm generating a WCF Proxy to my contract.
The contract contain classes that are implementing an Interface.
on the Generated proxy the interface is gone.
so I can't use it.
Is there a way to mark the interface in some way to be generated on the proxy file ?
Here is a contact example:
public interface IMyGeneralInterface
{
...
Dear All,
I have the following binding configuration in my WCF service that I'm trying to use with Silverlight.
<bindings>
<basicHttpBinding>
<binding name="basicHTTP"
receiveTimeout="00:10:00"
sendTimeout="00:10:00"
closeTimeout="00:10:00"
openTimeout="00:03:00"
...
Hey
I am doing an simple Siverlight app talk to server using WCF.When I run the app in visual studio,it works fine .However,when I hosted unders IIS,the data from the server will never returned.
Can anyone shine some light on this and how can I debug silverlight app with WCF?
...
I currently have an open WCF service running w/ netTcpBinding; however, I need to encrypt this channel. Does WCF support 3DES, or should I just handle the encryption/decryption on my authorized client/server?
Thanks;
...
Hi All,
I am just curious to know the reason why it's not possible to host an ASP.Net web service other then IIS ? While in WCF it's possible to host a service in IIS, WAS or any console application.
Please clear the doubt..
...
[WebInvoke(Method = "PUT", UriTemplate = "users/{username}")]
[OperationContract]
void PutUser(string username, User newValue);//update a user
I have a update user method defined as showed above. Then I use a HttpWebRequest to test the method, but how can I pass the User object with this HttpWebResquest?
The following code is wha...
hello,
Please note that my experience in Silverlight/.Net and WCF is about two weeks of googling and deciphering tutorials. I need to attempt and provide feedback to a client on if Silverlight will be a possible solution to their application needing a RIA front end.
The client has a rather large .Net based application with a UI layer bu...
Generally, I try and avoid using inheritance in WCF contracts, preferring composition.
But in the following situation...
I have a service operation that can result in one of two things: ResultA and ResultB.
There is a boolean/enum in the response message to report this outcome.
There are a number of other properties in the response ...
Why we are going for WCF when web services (ASMX) exist ??
...
Hi All,
I want to know how the wsdl is written in wcf.
As i know the proxy class serialize the data and form a soap message to send over network, in the same way , i want to know who writes the wsdl file and takes care of serializing results of a call.
...
Hi,
I've just started looking into WCF Services (for the first time) and I need a bit of guidence on how to best design service contacts. Should these contracts be designed towards the entities within an application, e.g. IEmployee, IOrder, or more towards the processes, e.g. IWarehouse, IOrderProcessor?
I'm not sure if this question m...
Hi,
I'm trying to implement a reconnect logic for a wcf client. I'm aware that you have to create a new channel after the current channel entered the faulted state. I did this in a channel faulted event handler:
internal class ServiceClient : DuplexClientBase, IServiceClient
{
public ServiceClient(ICallback callback, EndpointAddress...
Hi all,
I have a web application that communicates to a WCF service through a WCF client. At the point my code is invoked, authentication cookies have been issued and I have a dependency on an ASMX service that expects those authentication cookies.
I need to pass the cookies from the web application through the WCF client to the WCF se...
We have a set of (ASMX but could be WCF) 64-bit web services which need to execute some 32-bit managed code (the APIs have 32-bit COM dependencies and cannot be executed in 64-bit) for processing on the same physical machine. The 64-bit web services are hosted in IIS 7.0. Note: some of the messages contain large byte arrays.
What is the...
I have a WCF Service Reference to a WSDL file for a credit card processing web service (Cybersource). I'd like to somehow extend the generated service reference client to implement IEnlistmentNotification as to support transactional processing.
I am familiar with implementing the IEnlistmentNotification interface, but I can't find a go...