Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

implement two interfaces in webservices

 
Sonia Kapoor
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a problem when I have one webservice impl class that implements two interfaces.
public class InstCodeServiceImpl implements CollateralCodeService, LoanTypeCodeService.
The problem is that when i deploy and run say CollateralCodeService, I do not get any soap faults but then when i try LoanTypeCodeService, it gives me a fault. Now if i deploy and try LoanTypeCodeService first, i don't get any faults but if i try CollateralCodeService, i get a fault.

<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.lang.NoSuchMethodException: no such method 'getCollateralCodes' on class com.service.lending.__InstCodeServiceImplStatelessWrapper</faultstring>
<faultactor>/ipws/lending/collateralcodes</faultactor>

Can anyone help me with this issue?
 
vinod shirke
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check which method u r trying to invoke (Go 4 Spell)
if it is proper then try to make an jar file of *.class and deploy the jar file and then try to invoke the method
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!