I have recently downloaded the most recent build of this awesome tool WSDL2OBJC from google code here: http://code.google.com/p/wsdl2objc/
After a bit of tweaking and downloading the latest version of the trunk from the svn repo I got a version that created the code for a WSDL I am using and compiles great and actually installs on my ph...
Hi! I've got a WPF application containing a WCF service.
The Xaml code is pretty simple:
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Server" Height="308" Width="560" >
<Grid>...
What is the use of Action and ReplyAction in OperationContract attribute ?
...
I have a simple authentication scheme for a set of semi-public REST API's we are building:
/-----------------------\
| Client POST's ID/Pass |
| to an Auth Service |
\-----------------------/
[Client] ------------POST----------------------> [Service/Authentica...
Hello colleagues. I've created wcf service and want use http and https version. Service is hosted by IIS 6.0.
At my config I have:
<bindings>
<basicHttpBinding>
<binding name="BindingConfiguration1" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLeng...
can anybody help me or show some sample code in sending File on a peer mesh?
I google it already but cannot find any sample how to do it.
Thanks.
FBM
...
I read some microsoft articles.They explained that WCF uses DataContractSerializer for serialization.But the articles did not explain why DataContractSerializer preferred over
XmlSerialization.Can anyone give me the additional information?
...
Is DataContract attribute is deprecated in ASP.NET 4.0 WCF ? I can see only DataContractFormat attribute.
I can't apply DataContractFormat attribute over struct.
example
[DataContractFormat]
public struct Contact
{
public string firstName;
public string lastName;
}
It throws an error saying that DataContractFormat artribute can ...
What is WCF and WF in .net ? What are it uses ? how to start learn it ?
Thanks for answers, they are great guideline for me. but want to ask Where should i use thins WCF service. In which scenario we can use it properly.
...
How can i test a wcf service in a browser? I mean if i only enter the url in the browser it should give me only relevent xml
...
I noticed that if you do a throw new InvalidCastException for example, the channel state on the client side is faulted. But if you throw new FaultException, the channel state on the client side is opened.
By curiosity, what is the reason why one faults the channel and the other doesn't?
...
I have a WCF web-service and a Silverlight app displaying data from that service. In my service I'd like to implement automatic logout of the user, if no service methods were invoked during a period of time (for example 20 minutes).
I'm thinking about smth like that:
Dictionary<User,TimeSpan> Inactivity
When a service method is invok...
I'm wanting to get a WCF-over-TCP service working. I was having some problems with modifying my own project, so I thought I'd start with the "base" WCF template included in VS2008.
Here is the initial WCF App.config and when I run the service the WCF Test Client can work with it fine:
<?xml version="1.0" encoding="utf-8" ?>
<configurat...
I'm very new to WCF, so I apologize in advance if I misstate something.
This is using .NET 4.0 RC1.
Using WCF, I am trying to deserialize a response from the server. The base response has a Stream as its only MessageBodyMember.
public abstract class StreamedResponse
{
[MessageBodyMember]
public Stream Stream { get; set; }
publ...
I have developed for SharePoint and in those cases it is clear how workflow can help (You have documents that needs approval and there are built in SharePoint workflows for this)
But now I am doing standard ASP.NET web CRUD apps with WCF. I would like to find a way to get WF 4.0 invovled but I am not sure how to do it and never see any ...
Please specify and rate your experience if you know any. Thanks! =]
...
I'm pretty new to SOAP so go easy on me. I'm trying to setup a SOAP service that accepts the following header format:
<soap:Header>
<wsse:Security>
<wsse:UsernameToken wsu:Id='SecurityToken-securityToken'>
<wsse:Username>Username</wsse:Username>
<wsse:Password>Password</wsse:Password>
<wsu:Created>Tim...
I have a WCF service transporting arrays of bytes. This is used internally, and only by other ASP.NET applications. Because of the size of the files, I had to make a lot of changes to the readerQuotas, maxReceivedMessageSize, and other pieces that normally handle DoS attacks.
Right now, it's set up as wsHttpBinding running on IIS 7.0, ...
I had a Invalid Cross Thread access issue, but a little research and I managed to fix it by using the Dispatcher.
Now in my app I have objects with lazy loading. I'd make an Async call using WCF and as usual I use the Dispatcher to update my objects DataContext, however it didn't work for this scenario. I did however find a solution her...
I'm writing some software that modifies a Windows Server's configuration (things like MS-DNS, IIS, parts of the filesystem). My design has a server process that builds an in-memory object graph of the server configuration state and a client which requests this object graph. The server would then serialize the graph, send it to the client...