The FrontEndService is the implementor class of IFrontEndService. The problem here is if i call my interface it fails.
Hope i have explained wht my problem is Liu, Jervis wrote: > > > >> -----Original Message----- >> From: priya j [mailto:[EMAIL PROTECTED] >> Sent: 2007年12月6日 13:15 >> To: cxf-user@incubator.apache.org >> Subject: RE: Cxf Issue >> >> >> Thanks for your reply, >> >> this is my implementor class: >> >> >> @WebService(endpointInterface = "demo.webService.server.IWebService") >> public class WebService implements IWebService { >> >> //The service that perform the query >> private FrontEndService service; >> >> public String webService (String queryString) throws >> FrontEndServiceException { >> >> ResultData resultData=service.doSearch(queryString, >> SearchMode.MULTI, NameConstants.LWI_KEY); >> >> return "The result" +resultData; >> } >> >> public FrontEndService getService() { >> return service; >> } >> >> public void setService(FrontEndService service) { >> this.service = service; >> } >> >> } >> >> Here the FrontEndService is another class, if it is an interface the >> execution fails in client side. >> Can you suggest me how to proceed. >> > [Liu, Jervis] If I understand your problem correctly, your service fails > to return a valid result (does the "String webService (String > queryString)" method throw an exception?) when FrontEndService is > implemented in a certain way. Not sure what you mean by "if > FrontEndService is an interface". Anyway, this seems to be a problem in > your application code rather than a problem in CXF. A simply way to find > out is to write a standalone Java mainline to get WebService instance from > spring context then invoke "String webService (String queryString)" from > your java mainline to see how it goes. Most likely it is a problem in your > application code or sth wrong with your spring configuration. > > Cheers, > Jervis > >> execution fails in client side. >> Liu, Jervis wrote: >> > >> > Hi can you be more specific about the problem please? Some code >> snippets >> > of your service implementation and configuration that can help us to >> > reproduce the problem or a complete test case would be helpful. >> > >> > Cheers, >> > Jervis >> > >> >> -----Original Message----- >> >> From: priya j [mailto:[EMAIL PROTECTED] >> >> Sent: 2007年12月6日 11:16 >> >> To: cxf-user@incubator.apache.org >> >> Subject: Cxf Issue >> >> >> >> >> >> Hi all, >> >> >> >> Im priya, i have used cxf to make my application(spring framework) a >> Web >> >> Service. The application works perfect when my Web Service >> implementing >> >> class inturn calls another class, but the issue arise when iam trying >> to >> >> call an interface. >> >> >> >> Can anyone help me in solving this, its very urgent. >> >> Thanks inadvance. >> >> >> >> Regards, >> >> priya >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545 >> >> Sent from the cxf-user mailing list archive at Nabble.com. >> > >> > ---------------------------- >> > IONA Technologies PLC (registered in Ireland) >> > Registered Number: 171387 >> > Registered Address: The IONA Building, Shelbourne Road, Dublin 4, >> Ireland >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Cxf-Issue-tf4953753.html#a14186492 >> Sent from the cxf-user mailing list archive at Nabble.com. > > ---------------------------- > IONA Technologies PLC (registered in Ireland) > Registered Number: 171387 > Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland > > -- View this message in context: http://www.nabble.com/Cxf-Issue-tf4953753.html#a14187107 Sent from the cxf-user mailing list archive at Nabble.com.