How to debug an Application Service?

Hi,
I have created an application Service which has  been exposed as as a Web Service. Now how can I debug the Web Service or in other words the application service.
I have started the CE server in debug mode and I am able to debug WebDynpro Applications.
I am working on SAP CE 7.1.
Please reply ASAP.
Regards,
Manish Sethi

Hi Manish
follow this tutorial it describes how to configure and use the SAP NetWeaver Developer Studio and the J2EE Engine for debugging CAF Application Service.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9db6c4ea-0c01-0010-15b1-f72f12aade28
thanks
Asif

Similar Messages

  • How to debug ABAP Web services from Microsoft Visual Studio

    When developing .NET based Web services clients using Visual Studio that call Web services in SAP NetWeaver .NET developers would like to be able to debug inside SAP. In my blog <a href="/people/andre.fischer/blog/2007/02/07/how-to-debug-abap-web-services-from-microsoft-visual-studio to debug ABAP Web services from Microsoft Visual Studio</a> I would like to point .NET developers to the fact that SAP NetWeaver offers the option of external debugging to perform this task. Though the steps that have to be performed are described in the SAP Online Help I am sure that this option is not well known amongst the .NET developer community.

    Hello WilliamIV,
    >>How can I "configure" Visual Studio debugger to allow validation to work?
    Since I do not have a VS2012 environment, according to your provided link, I created a test demo with VS2013, however, both ways catch the validation error:
    If possible, you could have a try with VS2013 to see if it works or run the example on other machine with VS2012 to see if this is caused by the VS environment, in my side, I do not change any configuration, all are default.
    If I misunderstood this issue, please feel free to let me know.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to debug an application crash that only occurs within the executable and not in development?

    LabVIEW 2011
    Looking for ideas on how to debug an application that crashes only from within the executable.
    Is there anything useful that this error report can be used for, thanks in advance.
    #Date: Tue, Aug 23, 2011 3:10:18 PM
    #OSName: Windows 7 Enterprise
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: LabDAQ
    #Version: 11.0 32-bit
    #AppKind: AppLib
    #AppModDate: 08/23/2011 18:59 GMT
    #LabVIEW Base Address: 0x30000000
    8/23/2011 3:10:48.331 PM
    Crash 0x0: Crash caught by NIER
    File Unknown(0) : Crash: Crash caught by NIER
    minidump id: a1c0be18-ad05-4b09-b914-afe4a3073daf
    ExceptionCode: 0xC0000005± N
    0x3072C874 - lvrt <unknown> + 0
    0x3072CC28 - lvrt <unknown> + 0
    0x7C37FDB4 - MSVCR71 <unknown> + 0
    0x77330DF7 - ntdll <unknown> + 0
    0x772F9ED5 - ntdll <unknown> + 0
    0x00000000 - <unknown> <unknown> + 0
    Solved!
    Go to Solution.

    I've been playing that game all morning
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How to debug Portal application?

    Hi,
    I am developing a weblogic console extension application with web logic portal framework, I got some error, but no idea how to debug,
    I can see some error on buildApplication.jsp file, but can't find __buildapplication.java file which is compiled from buildApplication.jsp,
    so I can't know the error is in which line in buildApplication.jsp file. and I dont' even know which tag is tag1 tag2 tag3 in that jsp file.
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag3(__buildapplication.java:292)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag2(__buildapplication.java:260)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag1(__buildapplication.java:211)
    at jsp_servlet._ext_jsp.__buildapplication._jspService(__buildapplication.java:138)
    Code of buildApplication.jsp:
         <fmt:setBundle basename="detwds" var="current_bundle" scope="page"/>
         <beehive-template:template templatePage="/layouts/configBaseLayoutNoTransact.jsp">
              <beehive-template:section name="configAreaIntroduction">
              <fmt:message key="buildApplication.jsp.page.introduction" bundle="detwds"/>
              </beehive-template:section>
              <beehive-template:section name="form">
              <html:xhtml/>
              <wl-extension:template name="/templates/jmxform.xml">
              <wl-extension:form name="ExtensionForm" type="com.det.consoleext.form.ExtensionForm" action="/BuildApplication" bundle="detwds">
              <wl-extension:select
              property="contents"                                                   labelId="buildApplication.jsp.page.repositoryList.label"                                                   inlineHelpId="buildApplication.jsp.page.repositoryList.inlinehelp"
              singlechange="false">
                   <wl-extension:optionsCollection                                                                  property="repositoryName"
                        label="label"
                        value="value"/>
              </wl-extension:select>
              </wl-extension:form>
         </wl-extension:template>
         </beehive-template:section>
         </beehive-template:template>
    Error message:
    2755> <BEA-423405> <An exception [java.lang.String] was thrown while rendering the content at [ext_jsp/buildApplication.jsp].
    java.lang.ClassCastException: java.lang.String
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag3(__buildapplication.java:292)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag2(__buildapplication.java:260)
    at jsp_servlet._ext_jsp.__buildapplication._jsp__tag1(__buildapplication.java:211)
    at jsp_servlet._ext_jsp.__buildapplication._jspService(__buildapplication.java:138)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
    at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:551)
    at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:363)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:281)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
    at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
    at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
    at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
    at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
    at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:285)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
    at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
    at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
    at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
    at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:142)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    Hello,
    Debugging a JSP using a stack trace is made possible by using the keepgenerated element of the jsp-descriptor element in your web app descriptor in WEB-INF/weblogic.xml. The working-dir and verbose elements are also of interest.
    You can edit weblogic.xml or you can use the Oracle WebLogic Server console to configure your web app. In the console you would go to "Deployments", find your web app, select the "Configuration" tab, Lock & Edit, and do your thing. The settings you are interested in are "Debug Enabled", "JSP Keep Generated", and "JSP Verbose". I'm not sure which weblogic.xml element the "Debug Enabled" corresponds to, but it might be something like the debug-enabled element of the session-descriptor element.
    I can never remember where JSP generated servlet source code files end up if I have not specified a working dir. They end up buried DEEPLY. I just search the file system in my workspace for the generated files. For example, I just found the generated source for my helloOne.jsp in:
    C:\bea_wlp102\user_projects\workspaces\frmwrk\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\frmwrk_domain\work\MyWAR\jsp_servlet\_portlets\__helloone.java

  • How to debug sercued web service client ?

    I ususally use TCPMon or Jdeveloper Http analyzer to debug non-secured Java SE web service client application . however, how do I debug secured web service client, e.g. web service with OWSM policy enable service?
    I tried and got bad certificate error since the TCPMon or Jdeveloper Http analyzer act as proxy.
    BTW, I'm not able to install any such proxy on server side.
    Thanks

    Hi,
      As far as i know. the only way to debug a webservice is from SE80.
    open your webservice from se80,
    Give your REQUEST as an XML file,(put a break point in side ur web-class)and analyis ur RESPONSE.
    you are using RFC but it seams that problem is not in that function module else you can use SRDEBUG tcode to debug remote enabled function module.
    If you are getting error in CALL TRANSFORMATION.
    The only posibility is the data u r passing it for converting it in XML.
    just post your code with CALL TRANSFORMATION or the point which is going into dump....
    Regards,
    Raj

  • How to convert an Application Service into a Web Service

    Hi,
    I am working on SAP Netweaver CE 7.1. I have created an Application Service which returns an output as a List with each elemnt of the list conatining some attributes and a List.
    now I want to convert this AS into a Web Service. how I can do that as teh Developer Studio doesn't allow me to select the method which returns the List.
    Also how should I deploy the Web Service and test the same.
    Please reply ASAP.
    Manish

    To convert your Application Service into a Web Service ,
    1) go to General Tab of your Application Service
    2) check the option Remote Enabled Service , Save Metadata
    3) Right click Application Service and select  WebService New , give name for your Webservice and select Default Configuration type : Simple SOAP or select Basic Auth SOAP if u want your webservice to be password protected , just click next and finally finish
    4) Genearte your project code , build and deploy your application
    5) Then goto webService navigator to test your Web service
    Hope this helps
    Thanks
    Asif

  • How to expose a application service as web service?

    <UL>Hi Experts,
       <LI>I have created a business component and application service. i have also built and deployed it,
       <LI>Now I want to expose the application service operation as web service so that I can call the application service from XI or any webservice testing tool like SOAPUI or SOAPSONAR?
       <LI>What are the steps involved in doing this?
       <LI>I have selected application service then right clicked and selected "Expose service as web service".
       <LI>This has generated the WSDL file. After this I don't know what to do.
       <LI>In the WSDL file the soap address location is pointing to a default link (<soap:address location="http://www.example.org/"/>).
       <LI>What will be the actual location look like?
       <LI>For example: http://<CE server>:<Port>/?  <--- what will I have to put here so as to give the exact location?
    <LI>Thanks & Regards
    <LI>Gopal
    </UL>

    Hi Gopal,
    If I am not wrong, you need not do anything to the WSDL.
    If you carefully look at your WSDL in your NWDS, the soap:address attribute will point to the default location. However, the 'location' attribute will be 'Empty'. When you Deploy the Composite Application on the server, the location attribute value will be replaced by http://<server host name>:<port>/<WebService Name>/<Application  Service Name> in the WSDL on the server. The WSDL URL  is generated using the same format, and that is how it recognizes the service.
    You can deploy your application on the server and go to the Web Service Navigator and check the WDSL.
    Regards,
    Ajay

  • HOW TO DEBUG  WDA APPLICATION

    Hi All,
    how to debug a web dynpro abap application?
    Thanks,
    Raju.

    Utilities->External breakpoints->Activate
    This will activate external debugging...now put your breakpoints and run the application.
    regards,
    Priyank

  • Xcode: how to debug an application as root ?

    Hello,
    I need to debug an application that must be ran as root. Is it possible to do it with Xcode ? If yes, how ?
    Thanks in advance for any help.

    Remote debugging is one (the ?) solution, with root@localhost as the "Connect to" parameter.
    http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuid e/Contents/Resources/en.lproj/0602_db_set_up_debug/chapter_40_section3.html
    http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuid e/Contents/Resources/en.lproj/0607_db_remote_debug/chapter_45_section_1.html#//appleref/doc/uid/TP40002704-CEGDDHBH
    iMac G5 Mac OS X (10.4.7)

  • How to create a application service with EHP1 for SAP NetWeaver CE Preview

    I ceated a new Composite Application with a Business Object "test" and an Application Service "search" in the Netweaver Development Studio
    Business Object - test
    In the Tab Structure I added the attributes id:LONG and name:STRING.
    Under Operations I added findByName with the Input Parameter name:<anonymous>(String), the Output Parameter Output:test (test as a Complex Type) and the Fault "CAFFindException".
    Application Service - search
    I added the test BO as a Dependent Object and the Operation findByName with the Input Parameter name:String, thevOutput Parameter erg:test (Complex Type) and the Fault "CAFFindException".
    As Business Logic I added the following code:
    package com.sap.demo.carpool.modeled.appsrv.search;
    import java.util.List;
    import com.sap.caf.rt.bol.util.QueryFilterFactory;
    @javax.ejb.Stateless(name="com.sap.demo.carpool.modeled.appsrv.search.search")
    @javax.ejb.Local(com.sap.demo.carpool.modeled.appsrv.search.searchServiceLocal.class)
    @javax.interceptor.Interceptors(com.sap.caf.rt.interceptors.LogInterceptor.class)
    public class searchBeanImpl extends com.sap.demo.carpool.modeled.appsrv.search.searchBean{ //$JL-SER$ - static final long serialVersionUID is not declared
        public searchBeanImpl() {
         @com.sap.caf.dt.CAFOperation(name="findByName")
         public com.sap.demo.carpool.modeled.Test findByName(java.lang.String name) throws com.sap.caf.rt.exception.CAFServiceException {
              List<Test> out = this.gettestService().findByName(QueryFilterFactory.createFilter(name));
              return out;
    I alway got the error: "Test cannot be resolved to a type" or "Type mismatch: cannot convert from List to Test"
    I would be very thankful if you could help me.

    Hi Marcos,
    thank you so much!!!
    After changing the cardinality the return type of the operation "findByName" switches to "java.util.List". Everything is working now!
    The code now looks like this:
    @com.sap.caf.dt.CAFOperation(name="findByName")
         public java.util.List<com.sap.demo.carpool.modeled.Test> findByName(java.lang.String name) throws com.sap.caf.rt.exception.CAFServiceException {
              java.util.List<com.sap.demo.carpool.modeled.Test> out = this.gettestService().findByName(QueryFilterFactory.createFilter(name));
              return out;
    Thank you so much! I'm so happy .... This problem frustrated me ....
    Thank you ....

  • How to debug core component services in Adobe LC?

    Hi,
           I want to know is there any debugger to debug core component services(Email,JDBC etc) in Adobe livecycle? Checking
    server log is fine but is there any other option to debug the services???
    Please comment.
    BR,
    Kakali Bandyopadhyay

    i found out the solution.
    we can check dependencies by opening Properties percepective
    workbench->window->showview->other->general->properties.
    this will show incoming references=where these processes are used.
    outgoing->this processes uses which process.
    Regards

  • How do debug an application in Shared Memory debug mode using JDev

    I don't see the option of using "Shared memory" debug mode in JDev. There is only socket debug option(Attach/Listen) in debugger but no shared memory debug option.
    Is it missing or is it hidden somewhere.
    Can anyone let me know as all IDEs provide that.

    Any updates?

  • How to Debug C++ Multithreaded Application in Solaris

    Hi All,
    I am working in Solaris Sparc 5.8 Machine. I need to debug Multithreaded C++ Application in Unix Environment.
    I am using dbx debugger.
    Please explain me how to debug multithreaded applications. if possible please explain me with example.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    1. Look over the dbx manual that comes with Sun Studio. Dbx includes many features for debugging MT code.
    2. If you have specific questions after reading the manual and trying out the features, ask them in the debugger forum:
    http://forum.sun.com/forum.jspa?forumID=257

  • How to Debug ATG Apllication in eclipse juno

    Hi ,
    Am new to ATG,
    I have existing project which i imported using import option. can any one please let me know
    1.Settings for debug in eclipse.
    2.how to debug ATG application in eclipse with weblogic.
    Am using weblogic 10.3.6 server and IDE is eclipse juno Service Release 1.
    Thanks
    Srinivas A

    Thanks for the replies.
    I have done the following as per the link given:
    1.set a debugFlag =true in setDomainEnv.bat in bin folder of weblogic. JaVa options are
    already set with port no 8453 and based on flag value, the debug java options are set at server startup.
    2.I started weblogic. It started successfully in debug mode.
    3.in eclipse I have created remote configuration under remote java application for my project. Gave port as8453 and host as localhost and clicked debug.the server started.
    4..added some break points in code and generated ear file.
    Please correct the above steps whether I missed anything....
    5.I have created separated managed server called production(which run with port no 17010) through admin console and deployed the ear file to the managed server through admin console.
    5.started the managed server and tried to access the url localhost:17010/mystore.
    No debugging is performed.
    Please let me know
    1.how to deploy the ear file in managed serverfrom eclipse and debug the same from eclipse.
    2.should I use the debug port 8453 or the managed server port for debugging?
    3.in my atg app,they are using out of box debug option.do I require to set any flag to enable application level debug or not required.if required let me know the settings
    Thanks
    Srinivas
    Happy new year to all!!!!!!!!!!!
    Edited by: 972474 on 31 Dec, 2012 9:31 PM

  • Debugging ESS applications

    Hi All,
             We are having ESS applications which brings Employees general data on portal. But in general data employees orgnisation unit is incorrect .
             I want to know how to debug this application so as to check where exactly it is picking the wrong org.unit for an employee in R3-HR.
    Regards,
    Ganesh

    Ganesh,
    Instead of debugging the ess application, go to PA30 and check the org unit in infotype 1 which is valid for current date.
    It could be a possibility that you employee is assigned to a position which is in the incorrect org unit.
    check in transaction ppose. Locate the org unit mentioned on ESS application and check if your employee holds any position in the org unit.
    However, if you insist on debugging, you can put external breakpoint in the relevant BAPI to debug. List of RFCs called is mostly documented in SAP help. for eg:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/f6/263359f8c14ef98384ae7a2becd156/frameset.htm
    Find your service in SAP help and find out the relevant BAPI. Put external breakpoint for employee user ID and then login to ESS using same ID. You should be able to debug then
    Regards,
    Ashutosh

Maybe you are looking for