Thanks a lot Miguel.
Indrasish.
You should be able to get a Class object from your object
and then call getFields and getName on that class object.
Miguel
-----Original Message-----
From: Indrasish N Basuroychowdhury
[mailto:indrasish_n_basuroychowdhury@xxxxxxxxxxxxx]
Sent: Wednesday, May 29, 2002 1:51 PM
To: soap-user@xxxxxxxxxxxxxx
Subject: A little different question.
A little different question.
Anyone knows how to extract class and public member names
from an object.
e.g. If I have a class called
myclass{
public int mymem;
}
In a method where this object is passed in, is there
a way to find out the class name and method name from the instance of the
class.
e.g. public void foo(myclass o)
{
o.somemethod() should return myclass;
o.someothermethod should return mymem;
}
Thanks,
Indrasish.