Hi John,
Actually my class name is "User", I declares a type as "User" on client
side, and tried to assign the return value of web service to it.Thanks.
William
"John Saunders [MVP]" wrote:
> "william" <> wrote in message
> news:2FD9A030-6F77-44E3-B1F0-...
> > Hi John,
> > I've went through similar steps as Rahul, which is that I created a class
> > by
> > using xsd.exe, I have a web service which return this serialized class. I
> > declared a variable as this class, and assign the return value of my web
> > service to the variable, I got compiling error "Cannot implicitly convert
> > type MyWebServiceTest.MyService.GetUserInfoResponseGetU serInfoResult to
> > User".
> >
> > How can I get result from my web service?
>
> William, that error message you posted seems to be cut off. Surely the
> message doesn't end with the word "User".
> --
> --------------------------------------------------------------------------------
> John Saunders | MVP - Windows Server System - Connected System Developer
>
>
>
|