M
murugan.pa
Hi,
I have a class in .net webservice
public class Test
{
static string _strMessage=string.Empty;
public string Message
{
get
{
return _strMessage;
}
set
{
_strMessage=value;
}
}
}
I have a webmethod
[WebMethod]
public object TestSerice()
{
Test obj=new Test();
obj.Message="OK";
return obj;
}
i get an error while calling this method from other application. Can
you please tell me a solution so that the webmethod can be used in any
..net and java application.
thanks in advace
Regards,
Murugan.
I have a class in .net webservice
public class Test
{
static string _strMessage=string.Empty;
public string Message
{
get
{
return _strMessage;
}
set
{
_strMessage=value;
}
}
}
I have a webmethod
[WebMethod]
public object TestSerice()
{
Test obj=new Test();
obj.Message="OK";
return obj;
}
i get an error while calling this method from other application. Can
you please tell me a solution so that the webmethod can be used in any
..net and java application.
thanks in advace
Regards,
Murugan.