File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes implement two interfaces in webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "implement two interfaces in webservices" Watch "implement two interfaces in webservices" New topic
Author

implement two interfaces in webservices

Sonia Kapoor
Greenhorn

Joined: Nov 01, 2005
Posts: 3
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

Joined: Oct 14, 2005
Posts: 4
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
 
 
subject: implement two interfaces in webservices
 
Threads others viewed
Beginner problem with SOAP Message
When the default namespace is an empty string?
fault code
Webservices Newbie Question
SOAPFault doubt
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture