slsvcutil.exe Proxy and Interfaces

Posted by JPM on Stack Overflow See other posts from Stack Overflow or by JPM
Published on 2010-05-22T01:34:33Z Indexed on 2010/05/22 1:40 UTC
Read the original article Hit count: 396

Filed under:
|
|
|
|

Is it possible when using slsvcutil.exe to generate a proxy through the command line not to have the proxy file output the Interface in an Asynchronous fashion.

For example, if I have a function "foo()" on the serverside in the Interface, when I generate the proxy using Slsvcutil.exe, it makes two functions in the interface definition in the proxy named "BeginFoo()" and "EndFoo()".

All I want is "Foo()", I don't need the other two methods.

Is this possible? I'm using the proxy with Monotouch which is why I need to use Slsvcutil.exe but don't need the Asynchronous methods.

Thanks!

© Stack Overflow or respective owner

Related posts about wcf

Related posts about interface