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
User - 10 Jun 2004 10:05 GMT
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
> Hi all,
>
[quoted text clipped - 30 lines]
>
> Costa Lino