cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error when executing Web Service Model method in WD Application

Former Member
0 Kudos

hi ,

I have written WD Application which has Web Service Model(Deprecated). I did the context mapping between WS Model-->Comp Controller --> iView Controller. When i try to execute a method in Web Service method in Component Controller after binding. its shows the following error at the line of coding execute().

"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

"

Any help appreciated. Thanks.

Thanks,

Saravanan

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member192434
Active Contributor
0 Kudos

Hi Saravanan,

I guess you are missing some jar files so add webservices.jar jaxrpc.jar to your project and you need to put it inot your project lib directory and then you can test your webserive from NWDI Web service perspective.

Just check this link as well https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b07992b3-b5af-2a10-9886-affcbecc...

Thanks

Anup

Former Member
0 Kudos

Hi,

First, can you check whether you able to access your web service url in browser?

or

you can test your webservice from the NWDI Web service perspective, here you can test your web service is correctly functioning or not before using in your Web Dynpro application.

This document clearly explains How to test the web service url and what is the correct procedure to consume the web service in SAP portal.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b07992b3-b5af-2a10-9886-affcbeccc4c9]

[http://help.sap.com/saphelp_nw70/helpdata/en/f4/1a1041a0f6f16fe10000000a1550b0/content.htm]

Regards

Raghu

Former Member
0 Kudos

Hi Sarvanan,

You can go through this thread and get some tips on your issue...

Regards

Sagar Ingalwar