Can anyone tell me what Step-by-Step actions take place when a WCF Clients connect to a WCF Service and calls an Operation?
Plz describe the steps with step number and maintaining the serial.
Alternatively plz provide me with a web link that describe these steps.
...
Should there be any problem passing this kind of a collection in WCF ?
class Parent
{
[DataMember]
some data members
[DataMember]
Child myChild;
}
class Child : Parent
{
[DataMember]
some more data members
[DataMember]
Parent myParent;
}
Should there be any problem passing a list of Parents ?
(I get strange results, so...
Dear all.
I am creating WCF service that will download & upload xml files. When trying to download a file to a client, it gives me the following error:
*"The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (multipart/related; type=\"application/xop+xml\"). If using a custom ...
I'm trying to dynamically creating the ChannelFactory :
var serviceType = GetServiceProxy();
var interfaceType = serviceType.GetServiceInterface(); //return IServiceInterface
var service = new ChannelFactory(binding, address);
the problem is, as you can see, on the second line, where I don't have the generic type, and unfortunately...
I am using VB.NET, 3.5 Framework.
I created a WCF Service running as a console application. It is doing event listening for my workflow engine.
The second application I am trying to do is a WinForm that can monitor the service and return me back the current states of the engine's workers.
I am able to connect to the service fine, and ...
Dear all,
My wcf client gives me the following error when attempting to download a file from the service:
"An error occurred while receiving the HTTP response to http://mypc-pc/xmlLoadService/Service.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context bein...
Recently I made the decision to port my existing asmx services to WCF. I have now created a new solution which contains a WCF Service Library (this will eventually be referenced from a WCF Web site).
My old code relied heavily on HTTPContext, but its my understanding this defeats the point of WCF Services which by nature can run from a...
Here is my interface
[ServiceContract(Namespace = "")]
interface IParam { }
Here is my class
public class Parameter : IParam
{
private string categoryName;
[DataMember]
public string CategoryName
{
get { return categoryName; }
set { categoryName = value; }
}
}
My operation cont...
Really liked the convenience of just firing up the web browser and typing in some values to test an ASMX web service, is this no longer possible with WCF?
...
I've written and rolled out to a customer an app that uses NetTcpBinding for communicaions.
I've got a server app which accepts subscription requests from clients, then pushes data to the clients.
The client is seeing an issue on site where the once the server has 5 clients connected to it it refuses any more.
Has anyone seen this ki...
How to Send Large File From Client To Server Using WCF in C#? Below the configuration code.
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="HttpStreaming_IStreamingSample"
maxReceivedMessageSize="67108864"
transferMode="Streamed">
</bind...
I need to debug a WCF service but it needs to have an HTTP Context.
Currently I have a solution with a WCF service web site, when I click on debug it starts up and then fires up an html page that contains no test form.
While the project is running I tried starting the wcftestclient manually, then provided the address of my service, i...
HTTPContext is always null in my WCF calls, is it obsolete or am I doing something wrong?
...
I'm converting code from ASMX to WCF. In my ASMX web services I throw back SOAP exceptions like:
if (ex.InnerException != null)
{
SoapException se = new SoapException(ex.Message, SoapException.ServerFaultCode, Context.Request.Url.AbsoluteUri, ex.InnerException);
throw se;
...
I wrote some code for a WCF P2P chat program.
<services>
<service name="PeerChat.Form1">
<host>
<baseAddresses>
<add baseAddress="net.p2p://PeerChat/" />
</baseAddresses>
</host>
<endpoint name="PeerChatEndPoint" address="" binding="netPeerTcpBinding" bindingConfiguration="BindingUnsecure"
contra...
In other words is it possible to host aspx and ascx files inside the same IIS site running svc files?
...
Might seem like a silly question, but everything in WCF seems a lot more complicated than in asmx, how can I increase the timeout of an svc service?
Here is what I have so far:
<bindings>
<basicHttpBinding>
<binding name="IncreasedTimeout"
openTimeout="12:00:00"
receiveTimeout="12:00:00" closeTimeout...
I'm working on a cross-platform solution currently. The solution uses XmlMtomReader and XmlMtomWriter from .NET framework 3.0.
Now i need to know if these two classes (and all the nessasary infrastructure around them) are fully supported in Mono project from the porting-it-to-linux point of view. :)
...
What I have?
I have a WCF contract which accepts a Stream object.
What I need?
I want to convert the contract to accept multiple streams. But, there is some problem with passing multiple streams in WCF. Now I have two options,
(1) Call the WCF method multiple times
(2) Change contract to accept a two dimensional byte array with all ...
I really loved the web based test form of asmx, because it used the browsers built in functionality to remember previously provided parameters. It was also much easier to startup for a debugging session.
Is it possible to get the WCF test tool to remember previously supplied values, or is it too primitive?
Is there another tool I sho...