on 10-20-2007 3:01 PM
Hi
I have a simple java app I develop on NDS.
This app calls an ABAP webservice to get a list of flights (BAPI_FLIGHT_GETLIST). The problem is that when I run my program I get
java.lang.NoSuchMethodError: com.sap.engine.services.webservices.jaxrpc.wsdl2java.BaseGeneratedStub._initParameter(Lcom/sap/engine/services/webservices/jaxrpc/wsdl2java/ServiceParam;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
at com.sap.flight.model.proxies.ZggFlightGetlistSoapBindingStub.BAPI_FLIGHT_GETLIST(ZggFlightGetlistSoapBindingStub.java:52)
at com.sap.flight.model.Request_ZggFlightGetlist_BAPI_FLIGHT_GETLIST.execute(Request_ZggFlightGetlist_BAPI_FLIGHT_GETLIST.java:89)
at com.sap.consumers.ConsumersComp.executeRequest_ZggFlightGetlist_BAPI_FLIGHT_GETLIST(ConsumersComp.java:213)
at com.sap.consumers.wdp.InternalConsumersComp.executeRequest_ZggFlightGetlist_BAPI_FLIGHT_GETLIST(InternalConsumersComp.java:257)
at com.sap.consumers.ConsumersCompView.onActionSearch(ConsumersCompView.java:144)
at com.sap.consumers.wdp.InternalConsumersCompView.wdInvokeEventHandler(InternalConsumersCompView.java:242)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
I would appreciate any help in this regard.
bye
yuval
Hi Sumit
No, I am afraid it was more than that.
The problem stem from discrepancy in versions.
The AS version was 7.09 whereas NWDS' version was 7.12.
Once I downgraded my IDE and recompiled everything, I was able to deploy and run my application in no time.
I trust this answer will help our fellow programmers.
bye
yuval
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yuval,
restart ur server & redeploy ur webservice.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.