Results 1 to 4 of 4
- 01-26-2012, 01:58 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 2
- Rep Power
- 0
calling a function of a specific type in a java class from another class.....
Hi guys.
I need to use the method:
public com.aonaware.services.webservices.Dictionary[] dictionaryList() throws java.rmi.RemoteException{
if (dictServiceSoap == null)
_initDictServiceSoapProxy();
return dictServiceSoap.dictionaryList();
}
in another class to get the output of the above method to work for me in another class......
my other class would be:
public class Project1 {
/**
* @param args
* @throws RemoteException
*/
public static void main(String[] args) throws RemoteException {
// TODO Auto-generated method stub
DictServiceSoapProxy dc = new DictServiceSoapProxy();
dc.dictionaryList();
}
}
What type of datatypes do i use to handle the output generated by the first class in the second class...?
plz help.
thanks in advance.
- 01-26-2012, 02:19 PM #2
Re: calling a function of a specific type in a java class from another class.....
What the called method returns: com.aonaware.services.webservices.Dictionary[]
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
- 01-26-2012, 07:18 PM #3
Member
- Join Date
- Jan 2012
- Posts
- 2
- Rep Power
- 0
Re: calling a function of a specific type in a java class from another class.....
Thanks a lot....
I actually saw that a lil while after i posted the question....but somehow i can't get my ide to display the list....
i used this:
com.aonaware.services.webservices.Dictionary[] dictnames1;
dictnames1 = dc.dictionaryList();
System.out.print(dictnames1);
any suggestions?
- 01-26-2012, 11:20 PM #4
Similar Threads
-
How to get a compatible class of a template class? Return type of method is AClass<E>
By SKuypers in forum Advanced JavaReplies: 0Last Post: 12-07-2011, 11:55 AM -
Can't Get variable calculated in another class to function in main class
By hkp30 in forum New To JavaReplies: 0Last Post: 10-23-2011, 10:49 PM -
Child-Class Calling a Method in a Parent-Class
By Blah_ in forum New To JavaReplies: 5Last Post: 09-29-2009, 02:48 AM -
problem calling function from class to class
By alin_ms in forum New To JavaReplies: 3Last Post: 12-19-2008, 07:35 PM -
Calling a method on original class from created class
By kpedersen in forum Advanced JavaReplies: 4Last Post: 08-20-2008, 12:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks