Re: Call webservice WCF from .NET 2.0

David McAfee <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
THis is how I call a webservice in >net 2.0:

localhost.Service1 MyObj = new localhost.Service1();

 MsgBox(MyObj.HelloWorld);


On 6/28/07, Gabriel <[email protected]> wrote:
>
> Hello,
>
> On the server, I have WCF webservice.
> On the client side, I have tu use .NET 2.0, the .NET 3.0 is installed too,
> I
> generated proxy class with WSDL.
>
> The server is running. I do this on the client :
>
> MyProxy myProxy = new MyProxy ();
> string sessionData = "";
> myProxy .MyMethod(ref sessionData);
> Console.ReadLine();
>
> When I debug I stay stuck on the third line, when I stop the server, there
> is an exception on the client.
> But I never receive an answer and no trace on the server side.
>
> When I used generated proxy class but it's .NET 3.0 that'w work
>
> Do you have an idea ?
>
>
> Thanks,
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.