hi rishabh, i feel it is somthing to do with the data type.
please look at the skeleton file (generated by idl compiler )
for the data type equivalent of your idl definition and write
the same in your implementation class.
hope this helps,
with regards,
rathna.
Rishabh Agarwal wrote:
> Hello
> Please if u can find a solution from someone i have an .idl file in which i
> have an interface:
> interface add
> {
> long sum(in long no1, in long no2);
> }
>
> now in my implementation.java file: i write: public synchronised int
> sum(int no1, int no2);
> the idl data types are mapped to java datatypes... incase of "long" in idl
> i have "int" in java.....
> but this is giving error:"Abstract method Error"....
> whereas if i have float as return type of my .idl file..... then in java
> for float return type i get no errors.... can you please help me out. may
> be i'm missing out something. this example is working only for float...
> rest its giving me error for :
> double, short, long long,... datatypes.
> Thanks
>
> Rishabh.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets