Skip to Content
avatar image
Former Member

Getting Error when executing Web Service Model method in WD Application

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 29, 2008 at 10:51 AM

    Hi Sarvanan,

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

    webdynpro-with-webservice

    Regards

    Sagar Ingalwar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2008 at 11:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 04:24 AM

    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-affcbeccc4c9

    Thanks

    Anup

    Add comment
    10|10000 characters needed characters exceeded