User
6/10/2004 11:05:00 AM
I've solved this problem in this way.
When you add a web reference, VisualStudio creates
a wrapper of your web service in the file Reference.vb
Look in that file you'll se that the return value
will be of type Config.
To solve the prolem add, just before Config, LiveSupportClass.
You have also to specify the class or add the reference of the
class LiveSupportClass in you application.
Bye
Andrea
In article <eGTxp2eTEHA.1048@tk2msftngp13.phx.gbl>,
costalino@hotmail.com says...
> Hi all,
>
> I have a class LiveSupportClass.Config
>
> [Serializable()]
>
> [XmlRoot("LiveSupportClass.Config")]
>
> public class Config : ISerializable
>
> {
>
> ......
>
> My webservice return this object
>
> [WebMethod (Description="LiveSupportClass.Config Object")]
>
> [XmlInclude(typeof(LiveSupportClass.Config))]
>
> public LiveSupportClass.Config LoadSettings (string idclient)
>
> {
>
> ......
>
> Now my problem I the client (Win form) the return of my webservice is not
> a LiveSupportClass.Config but mynamespace.webserviceclass.Config
>
>
>
> Where is the problem
>
> thanks for your help or suggestion
>
>
>
> Costa Lino
>
>
>