Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

an IDL question

Status
Not open for further replies.

skarosi

Programmer
Jan 25, 2004
140
GR
I am not sure if i should ask this here or on the Corba forum, but here it goes,
I have to create an interface in idl that accepts a String as input, so i did:

interface Hello(in string VariableName);

but when i create the file in java :
public class HelloImpl extends HelloPOA {
public String hello(String choice) ....

i get this error

HelloImpl.java:6: HelloImpl is not abstract and does not override abstract method sayHello(java.lang.String) in ClientofMonitors2.HelloOperations
public class HelloImpl extends HelloPOA {
^

any help?
thanks
by the way, how do u get some lines into a "code" box?
cheers, Ilias
 
It looks as as the Hello interface defines a method called sayHello rather than the hello method as shown in your implementation class.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
to b honest timw, i have no idea why it is doing this.
i have the idl as hello, and the file created, called helloPOA, has sayHello.
i will work on that, and also check the tutorial, thanks sedj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top