Converting WebDynpro as Webservices

Is it possible to convert webdynpro components to webservices? If yes how can we convert?
Thanks in advance
Ravi

hi
plz reffer the following link
/people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii
i hope this will help you to get your answer.
PLZ do reward Points.
Priyanka

Similar Messages

  • Convert Webdynpro Java WebService

    Hello,
    I have a Webdynpro Java Application deployed on the Portal Server. I want to convert this Application to a WebService and call it from a BSP Application . How can I achieve the same ?
    Any help would be highly appreciated.

    Hi,
    As John rightly pointed out, you cant convert a webdynpro java app to webservice. as wd java is meant for UI developing. But you can convert a RFC to webservice and can use it in your application.
    Kindly refer this link for more information:
    Converting a RFC enabled function module to a webservice
    Hope this will help you.
    Regards,
    JIthin

  • Com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException

    Hello Team,
    We have a scenario where we have a PI web service and we are importing the WSDL into our WD Java application.
    While running the test scenario we are getting the below 2 exceptions in the stack trace.
    20111222:Exception trace: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service on destination 'WS_CUST_**' for operation 'GetCustomer*' in interface 'GetCustomer**'
    Caused by: java.rmi.RemoteException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.; nested exception is:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    By running through few posts on SDN a probable solution for this was proposed as: blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application
    Any help on this would be great.
    Regards,
    Shailesh

    Dear Shailesh,
    Did you try to check the blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application? please try to check and test.
    Also try to import fresh in new DC and check whether it is working or not.
    Best Regards
    Arun Jaiswal

  • Java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTy

    Hello,
      I have SAP EH1 for SAP NWCE 7.1 and NWDS with the recent upgrade pack of WD. When I run my WD application the following exception ocurr,
      java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
    at pe.com.minsur.wd_test_esr.wdtestesr_model.Wdtestesr_Model.<init>(Wdtestesr_Model.java:240)
        at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.Wdtestesr_Comp.wdDoInit(Wdtestesr_Comp.java:111)
        at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.wdp.InternalWdtestesr_Comp.wdDoInit(InternalWdtestesr_Comp.java:445)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
    My DoInit Method only have this code,
    public void wdDoInit()
        Wdtestesr_Model model = new Wdtestesr_Model();
    Any ideas?
    Regards
    MG

    The problem is that the logical destinations are not well configured.

  • Converting BAPI to webservice and generating WSDL

    Hi All
    We are using ECC 6.0 and ECC 5.0.
    We want to Convert BAPI to webservice and generate WSDL but we are not getting an option for to create webservice in BAPI=> Tools(after selecting any one of BAPI)  tcode in ECC 5.0/6.0.
    We have followed the link:http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
    1. Do we need to perform any config change to get the Create webservice option in BAPI=> Tools(after selecting any one of BAPI) ?
    2. What are the ways to Convert BAPI to webservice and generate WSDL ? Please provide us.
    Your help is appricated.
    Thanks
    Ramesh

    go to SE37 to generate web service

  • How to convert WebDynpro Application into Webservoce

    HI Experts,
    I have one WebDynpro Application which has the functionality of search Using KM Index Management API's.
    This performs the search in portal using TREX.
    My requirement is to use this functionality in sharepoint portal(Microsoft Product).
    From this sharepoint portal they want to use this search application to search in portal.
    Now my choice is to convert this WebDynpro application into webservice so that , share point server guys can call webservice to use that search application.
    How can I Convert my webdynpro application into webservice?
    Any other ideas?
    Thanks in advance
    Regards
    Bala
    which needs to be converted into

    Hi Bala,
             I think there is no possibility as for your query. You will be allowed to create a webservice which is a piece of code that can be applicable to required application. Gothrough the following link to know clear details about webservice.  
    http://help.sap.com/saphelp_nw04/helpdata/en/84/54953fc405330ee10000000a114084/content.htm
    download.microsoft.com/download/f/3/7/f371bbba-2341-41bf-822d-2c7dd4174756/UI_CreateWebServices_5min.ppt
    Regards,
    Harish

  • Error in WebDynpro with WebServices

    Hi all,
    I’m getting some errors using applications deployed in WEB AS SP9 that runs as a WebDynpro IView in EP.
    Running the application as standalone (out of EP) this works fine.
    NetWeaver Developer Studio 2.0.9
    WebDynpro application using WebServices that access Oracle 8i database in the follow sequence:
    WebServices -> Session Bean stateless -> Entity Bean CMP (manage connections; generate sql code, etc.)
    In WebDynpro application we import WebService Model by the follow sequence:
    New Model - Import Web Service Model - Local Server for WSDL Source - <WebService deployed>
    In each WebServices we have created these methods:
    findByID(ID);
    getAll();
    insert(parameters);
    remove(ID);
    update(parameters);
    We guess that the error is generated in Entity Bean because all WebServices generate these errors.
    <b>Error 1 - Application with WebServices Model</b>
    Error stacktrace:
    com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object br.com.xxx.fluxo.Fluxo/ComponentInterface:FluxoInterface/InterfaceViews:CadastroSituacaoFluxoInterfaceView/InboundPlugs:Default associated via relation RepositoryObjectRelation(br.com.xxx.fluxo.application.CadastroSituacaoFluxoApp, StartupPlug) does not exist.
         at com.sap.tc.webdynpro.repository.RelationToOne.resolveTargets(RelationToOne.java:124)
         at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:108)
         at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:72)
         at com.sap.tc.webdynpro.repository.RelationToOne.getTarget(RelationToOne.java:174)
         at com.sap.tc.webdynpro.repository.RepositoryObject.getRelatedModelObject(RepositoryObject.java:349)
         at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getStartupPlugInternal(IWDApplicationInfo.java:319)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:355)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    -- end --
    <b>Error 2 - Application with WebServices Model</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
    Web Dynpro code generators of DC local/Apontamentos:
    SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    6.40 patchlevel 87037.313
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller NotProductiveEventController
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    <b>Error 3 - Application with RFC Model</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
    Web Dynpro code generators of DC local/Apontamentos:
    SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    6.40 patchlevel 87037.313
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller ZMANPP012Controller
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    Hi,
    I feel this error is nothing to do with webservice model.
    Please check your application properties like startupPlug,Interface View etc. Set the properties correctly and deploy once again.
    Regards, VIP

  • Webdynpro ABAP webservice call to external server  - Cookie issue

    Hi,
    We are experiencing cookie issue while calling webservice to Tivoli system hosted on IBM websphere.
    Steps we have done as follows:
    1. Created a ABAP Proxy class from Tivoli WSDL.
    2. Configured T-Code LPCONFIG to point to above proxy class and logical port.
    3. Configured  SM59 RFC connection to point to Tivoli server using basic authentication mechanism (User ID/Password).
    4. Called webservice method from WebDynpro ABAP program.
    After above steps, we are able to call the webservice method successfully but second time we are experiencing Cookie being adding to the request and eventually no response back to our program.
                When we investigated this cookie issue with IBM Websphere people, they says thay have enabled SSO Config instead of basic authentication and that's why a cookie is being added to the request and fails. when they disabled SSO, we are able to call webservic method sucessfully sevaral times. but now this cannot be no longer disabled as other applications are using SSO enable option. So, we are thinking, is there something that can be done in SAP ECC itself as we see the option of using SSO in SM59 instead of User Id/Password but not sure How?
    If anybody has undergone this scenario/SSO config from ECC SM59 successfully, Please reply back.
    Thanks in advance
    Praveen

    Here is the link that explains how SSO can be configured in SAP.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm
    Once done, under Client PSE in Tcode STRUST, you can upload the certificate obtained from the SSO enabled system and use the client PSE (Default)  in the SSL Client Certificate area of SM59
    I see Thomas has already responded to you and he has written a blog on how to set this up as well.
    KK

  • ABAP webdynpro or webservices

    hi all,
    I have an question. I have a system where i can use the ABAP webservices or the ABAP webdynpro to send data to a flex application.
    But which of those 2 is the best solution? Or doesn't it matter which one i choose?
    Do you have found some (dis)advantages for the solution with the webservices or do you have found some (dis)advanteges found with the solution with the ABAP webdynpro?
    Kind regards,
    Anton Pierhagen

    Hi Anton,
    If comparison done between Web Dynpro having Flash Island for Flex components and Independent Flex application communicating with R/3 via RFCs then in many aspects Web Dynpro is better option.
    If backend is R/3 then anyways you have all required infrastructure in place no need of any other servers in case of WD. But if you go for 2nd option then may be for hosting swf files you need WAS or any other server.
    There might be some cases where you need to fetch lots of data from DB then using SOAP way i.e. RFCs could give you time-out during data retrival at Flex frontend ( very rare case but there is possibility).
    You can use your WD to handle all business logic and Flex components only for presentations like charts, interactive components etc.
    One majot advantage of WD will be security aspect which can be handle very easily ( even with Single-Sign-On) whereas in independent Flex application you might end-up with extra security inception other than basic authentication of RFCs on load.
    these are few differences out of many others which i can tell you.
    Though both options you are thinking are good and feasible but i would suggest Web Dynpro. (Anyways being SAP Partner also we should promote SAP investments )
    Regards,
    Vivek
    Edited by: vivek khedekar on Sep 23, 2010 6:08 AM

  • Consuming WebServices in ABAP WebDynPro via webservice proxy code

    Hi,
    My requirement is to consume a webservice using WSDL(basic authentication) in WebDynPro ABAP. then based on the SOAP response I need to show a pop up message whether the response valid or not.?
    I first tested the webservice by creating LPCONFIG Logical Port and generated WebService Proxy class.
    It got response correctly with basic authentication enabled each time I send a request.
    Secondly I generated webservice proxy code using service calls on creating webdynpro test application with some UI elements. Service call created Nodes,attributes and method correctly.
    it's giving me error when it tries to invoke webservice method through generated code.
    Question is that How do we code authentication to the webservice method via WebDynPro ABAP code.
    I appreciate anyone who worked on this area and taken basic authentication via coding. or worked successfully through coding.
    Thanks
    Praveen

    hi
    Refer this:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
    It might be usefull for u.
    Regards
    Vivekananthan.S

  • Issue when Converting RPC styled Webservice to Document Styled Webservice

    Hi All,
    My requirement is to create a Document style WS using Jdev10.1.2 and deploy it in the OAS server 10.1.2 which follows J2EE1.3 standards.
    since jdev10.1.2 does not have inherit option of developing Doc'Style WS,
    I created a RPC Styled Webservice using Jdeveloper10.1.2 and converted it into Document styled webservice by changing the WEB.xml file in the WS project.
    The link from which i learned the changes is given below
    http://radio-weblogs.com/0132036/2003/12/07.html
    PFB the changes made in my WEB.xml file.
    <servlet-class>oracle.j2ee.ws.StatelessJavaRPCWebService</servlet-class> to <servlet-class>oracle.j2ee.ws.StatelessJavaDocWebService</servlet-class>.
    I deployed the WS in the OAS10.1.2 server successfully.
    Now the ISSUE is when im invoking the webservice. It is failing with the following error.
    Error parsing the WSDL for this endpoint.
    javax.servlet.ServletException: WSDL Generation exception: Error: method HelloWorld -- cannot use document style binding when output requires encoding
    how to solve this error ?
    If any one came across this error.
    pls help.

    What does the registry key you installed ?
    If you want to get rid of the save dialog box, you can try to use the VBA code.
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    Me.Close savechanges:=True    "close and save changes, don't ask".
    Me.Close savechanges:=False    "close and don't save changes, don't ask".
    End Sub
    Wind Zhang
    TechNet Community Support

  • WebDynpro call WebService No Context Binding

    Hello,
    I have import a WebService in my WebDynpro Application. I have mapped the Context, but the binding doesn't work.
    //@@begin wdDoInit()
    wdContext.nodeStart().currentStartElement().setDatum("20060704");
    wdContext.nodeStart().currentStartElement().setZeit("19:00");
    wdContext.nodeProzessdaten().currentProzessdatenElement().setID("1234");
    wdContext.nodeProzessstart().currentProzessstartElement().setDatum("20060704");
    wdContext.nodeProzessstart().currentProzessstartElement().setZeit("19:00");
    wdContext.nodeAktivitaet().currentAktivitaetElement().setID("2");
    wdContext.nodeAktivitaet().currentAktivitaetElement().setStatus("in Arbeit");
    //@@end
    The structure of my Context is:
    Node        Request... 1.level
    Node           Processinstance... 2.level
    Node              processdata... 3.level
    Attribute            iD... for Node processdata
    Node                 activity... 4.level
    Attribute               iD... for Node activity
    Attribute               status... for Node activity
    Node                    start... 5.level
    Attribute                  date... for Node start
    Attribute                  time... for Node start
    Node                 processstart... 4.level  
    Attribute               date... for Node processstart
    Attribute               time... for Node processstart
    I have a NullPointerException on the code line wit first 'setDatum'
    Can anybody help me?
    best regards
    karsten

    It looks like you may be missing a couple of lines to create the top-level context node. The tutorial at https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20email-client%20using%20web%20dynpro%20and%20web%20services.pdf has the lines:
    public void wdDoInit() {
    //@@begin wdDoInit()
    // create a new instance of the Web Service ModelClass
    Request_SendEmailPortType_sendEmail req = new Request_SendEmailPortType_sendEmail();
    // bind new instance of the Web Service ModelClass to the
    // independent Model Node 'WebServiceEmail'
    wdContext.nodeWebServiceEmail().bind(req);
    //@@end
    Hope this helps,
    Darren

  • Webdynpro and webservice navigator security

    hi everyone,
    i dont know if this is the right forum but heres my question:
    how can i secure the webdynpro applications and the webservice navigator? by now, everyone in our lan can access the webdynpros or the webservices by using the navigator and could use the them, which is a little bit dangerous.
    so, how can i restrict the access to that gui? like portal sessions or something like that?
    regards,
    constantin wildförster
    Edited by: Constantin Wildförster on Jan 23, 2008 3:24 PM

    Hi,
    If some users have access to the web services Navigator, they comply with one of the following requirements:
    - belong to the Administrator group
    - assigned to an Administrator role
    - have the UME WSNavigator administrator action
    To prevent these users from accessing the web services Navigator, you should modify their access rights appropriately. You can check [Identity Management|http://help.sap.com/saphelp_nwce10/helpdata/en/b8/58414254259d35e10000000a1550b0/frameset.htm] for details.
    Hope this helps,
    Rossen

  • Connecting webdynpro to webservice

    hi!
    we are trying to establish a connection to a webservice
    that returns a dataset. when we try to create a context connection to result attribute in the model we get the error
    "contextAttribute with java native type cannot be selected"
    the webservice result is :
    HTTP/1.1 100 Continue
    Server: Microsoft-IIS/5.1
    Date: Wed, 10 May 2006 11:44:43 GMT
    HTTP/1.1 200 OK
    Server: Microsoft-IIS/5.1
    Date: Wed, 10 May 2006 11:44:44 GMT
    Connection: close
    Cache-Control: private, max-age=0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 2083
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ws_general_srvResponse xmlns="http://tempuri.org/"><ws_general_srvResult>2</ws_general_srvResult><mydataset><xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"><xs:element name="NewDataSet" msdata:IsDataSet="true"><xs:complexType><xs:choice maxOccurs="unbounded"><xs:element name="ParentTable"><xs:complexType><xs:sequence><xs:element name="_x0031_" type="xs:string" minOccurs="0" /><xs:element name="_x0032_" type="xs:string" minOccurs="0" /><xs:element name="_x0033_" type="xs:string" minOccurs="0" /><xs:element name="_x0034_" type="xs:string" minOccurs="0" /><xs:element name="_x0035_" type="xs:string" minOccurs="0" /><xs:element name="_x0036_" type="xs:string" minOccurs="0" /><xs:element name="_x0037_" type="xs:string" minOccurs="0" /><xs:element name="_x0038_" type="xs:string" minOccurs="0" /></xs:sequence></xs:complexType></xs:element></xs:choice></xs:complexType></xs:element></xs:schema><diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"><NewDataSet xmlns=""><ParentTable diffgr:id="ParentTable1" msdata:rowOrder="0" diffgr:hasChanges="inserted"><_x0031_ /><_x0032_ /><_x0033_>629</_x0033_><_x0034_>1530</_x0034_><_x0035_>0</_x0035_><_x0036_>055-????-?? ???-?</_x0036_><_x0037_ /><_x0038_>END</_x0038_></ParentTable><ParentTable diffgr:id="ParentTable2" msdata:rowOrder="1" diffgr:hasChanges="inserted"><_x0031_>STOP</_x0031_><_x0032_>STOP</_x0032_><_x0033_>STOP</_x0033_><_x0034_>STOP</_x0034_><_x0035_>STOP</_x0035_><_x0036_>STOP</_x0036_><_x0037_>STOP</_x0037_><_x0038_>END</_x0038_></ParentTable><ParentTable diffgr:id="ParentTable3" msdata:rowOrder="2" diffgr:hasChanges="inserted" /></NewDataSet></diffgr:diffgram></mydataset></ws_general_srvResponse></soap:Body></soap:Envelope>
    we are able to get the result from the <ws_general_srvResult> element but not from <_x0034_> element

    This worked http://dev-pfizerspd:18001/_vti_bin/people.asmx?WSDL 

  • Converting Webdynpro java view to PDF

    Hello Expert,
    Any idea if there is any simplest way available to export view format(data ,layout) in PDF without writing much code or using opensource apis or ADS.
    Any suggestions will be useful.
    thanks,
    Siddharth

    Things like that are normally done with the "Interactive Form" UI Element with which you can use the integrated Adobe Forms environment. For more information have a look at the Integrate Online Interactive Forms by Adobe

Maybe you are looking for

  • Breaking out of a for-in-a-for-in-a-for

    I have a question about how the break statement works. Take this: for (int i = 0; i < 10; i++) {      for (int j = 0; j < 10; j++) {           for (int k = 0; k < 10; k++) {                if (something) {                     break; }Am I right in sa

  • Movie keeps stopping after 45 clicks

    Hi, My flash movie keeps stopping after I've clicked 45 times and I've no idea why. There are lots of buttons on the page and when you click them they count how many times the buttons has been clicked and display this in a dynamic text box underneath

  • Moving photos back into iphoto from DVD back-up

    I have lost several hundred photos (through my own error). I have them backed up on DVD in the iphoto format. Iphoto recognizes the disk when I put it in. I'm wondering the best way to transfer these photos back onto my computer and into my iphoto li

  • Windows 10 Enterprise Preview and Hyper-V Gen 2

    If I try to install the Windows 10 Enterprise x64 preview on a Hyper-V Generation 2 VM, it fails to boot from the ISO with a SCSI error immediately. The error says Synthetic SCSI controller Failed to power on with Error 'The version does not support

  • NSAPI addlog example

    I have been trying unsucessfully to get the NSAPI addlog example to work correctly. Although I can sucessfully compile and link the code when I add the required elements to the config files, I get the following when trying to start the server. [28/Ja