Is it possible to debug a webservice (HTTP session)?

Can I debug an HTTP session? That is, as soon as I call a webservice (which wraps a function module), I want ABAP to stop in the debugger when I have SAP Gui open (similar to what is possible with the JCo abap_debug parameter for RFC calls).
I have been able to trace the HTTP session using se30. Also, in principle it shouldn't be too hard for the backend to detect whether there is a  SAP GUI running on the client that originated the HTTP request. But has this been implemented?
-- Sebastian

Yes it is. You will have to go into SE38 and under Utilities --> Settings, and in the Debugging TAB set the user that is calling the RFC and check the option "Session Breakpoint active Imed.". Then create an external breakpoint for that user in the RFC and it should stop there.

Similar Messages

  • Is it possible to debug "CL_HTTP_PLAIN_OUTBOUND" FROM HTTP RECEIVER ADAPTER

    Hi All,
    In my PI interface the data from R/3 ( using abap proxy ) is getting posted on a external server using HTTP receiver adapter .
    I assume that it triggers this class when you run the HTTP receiver adapter  -CL_HTTP_PLAIN_OUTBOUND
    Please let me know how can i enable debugging for triggering this class.
    Please let me know the steps to debug this class by triggereing from SAP PI system ( when we run the interface on PI system )
    Regards,
    Reddy

    Hi ,
    i am not sure about this,i wolukd prefer developing JAVA Proxy or File Adapter . try this code it read the data from website, try in you stand alone application,it is able to read or not.
    you will face two problems,you have to convert CSC file to XML it is not possible in HTTP Adapter,
    import java.lang.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    class URL2AC
            public static void main(String args[]) {
           try {        
              URL url = new URL("http://www.XXXXXXX.com/raj.txt");
              URLConnection uc = url.openConnection();
              BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
              while (in.readLine()!=null)
                   System.out.println(in.readLine());
           catch(Exception e) {
              e.printStackTrace();
    Regards,
    Raj

  • Is it possible to use a webservice in concurrent programme

    Hi All,
    Is it possible to use a webservice/website in concurrent request?.
    Thx,
    Sandeep.

    What version of the DB are you running?
    Here is a PL/SQL example: http://www.oracle-base.com/articles/misc/xml-over-http.php
    You could also do it in Java: http://www.oracle.com/technetwork/developer-tools/jdev/dbcalloutws-howto-084195.html
    HTH,
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format

    Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format. Siebel wants to send the data as xml to BI but not sure of the BI capabilities on giving WSDL embedded with XSD (input is a hierarchical)

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • It is possible to use a VOD HTTP Stream in an iTunes U Collection and/or Course?

    We wish to better comply with TEACH Act guidelines by using VOD (video on demand as opposed to real-time streaming) HTTP Streaming where an instructor is asserting educational fair use of copyrighted material.  The key component in TEACH guidelines is that the student not be able to retain the materials beyond the duration of the course.  Thus, VOD HTTP Streaming will meet this specification nicely and is supported across all of iOS and MacOS X.
    Thus, the question: It is possible to use a VOD HTTP Stream in an iTunes U Collection and/or Course?

    I knew about that, but my question is, if it is possible to use an europe power adapter.
    Because i dont want to a carry around an power adapter and a plugin adapter.
    I hope you understand what i mean.
    Sorry for my english
    Best.

  • Is it possible to debug the selection screen???

    Hi Frdz,
    Is it possible to debug the selection screen.
    eg: if i want to know what is happening in PBO and PAI modules of the selection screen i am not able to debug that.
    Even in code if i click on MODULES present in PBO and PAI modules it is saying MODULE doesnot exist!!!!. So i can't put the break point. even if i press /h it will go to Report events like INITIALIZATION, AT SELECTION-SCREEN but not PBO and PAI modules!.
    Also what is the meaning of exclamatory mark here(Before select option name)
    MODULE !SO_UDATE.
    MODULE !SO_UNAME.
    Thanks,
    Vinod.

    Hi Vinod,
    Double click on the module and then put the break point for the first statement of it. It will work.
    Reward points if useful.
    Thanks,
    Khan.

  • How it is possible to debug the transfer of an order from CRM to ECC

    Hello,
    how is it possible to debug the coding when a CRM sales order is replicated to R/3?
    The outbound of SCM APO and/or the inbound of SAP R/3?
    Thank you in advance.

    Hello,
    Data flow from CRM to R/3 is like below:
    - Write the data to outbound queue of CRM
    - Wrtie data to Inbound queue of R/3
    - Validation and Save in R/3
    So you can debug from CRM outbound queue, by de-registering the queue in txn:SMQR
    R3AI_<OBJECT-NAME> In case of Initial Load
    R3AR_<Request-Name> In case of Request Load
    R3AD_*                           In case of Delta load
    Similarly you can de-register the queue in R/3 as well to debug the R/3 inbound queue.
    As you might be aware that MW generic module CRM_UPLOAD_TO_OLTP, would be called for any data transfer
    between CRM to R/3. You can start debugging from this point.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • HTTP Session caching possible using WL7 JAX-RPC ?

    We're using WL7, and using the JAX-RPC API to access external webservices.
    Basically, we create the appropriate 'stubs' from the target WSDL using
    clientgen. Then we invoke the target method. Code looks something like this:
    Client_Impl client = new Client_Impl; // implementation of target
    ClientPort_Stub stub = client.getClientPort();
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, url)
    stub.invoke(args);
    Now, when is the actual endpoint URL being created ? Is it when the invoke()
    method is called ?
    It cannot be during the constructor since I pass the target URL after that ...
    My problem is that I have to call the 'invoke' method quite frequently, and hence
    would like the HTTP session to be reused, rather than recreated each time. Right
    now,
    I construct the stub each time I have to call the target method, and I'm wondering
    if
    I just cache the stub and keep calling the target method each time, will the underlying
    HTTP session be reused ? Any ideas ?
    Currently, if I do netstat on my Sun Solaris box (where this runs), I see the
    TCP
    connection being recreated during each invocation ...
    -john

    Hi John,
    You can do multiple invokes on the same stub. There is no
    need to create a new one for each invoke.
    WLS 7.0 use HTTP 1.0 with keep alive. If the server respects
    HTTP keep alive, then WLS will not create a new connection.
    HTHs,
    -manoj
    "john" <[email protected]> wrote in message news:[email protected]..
    >
    We're using WL7, and using the JAX-RPC API to access external webservices.
    Basically, we create the appropriate 'stubs' from the target WSDL using
    clientgen. Then we invoke the target method. Code looks something likethis:
    >
    Client_Impl client = new Client_Impl; // implementation of target
    ClientPort_Stub stub = client.getClientPort();
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, url)
    stub.invoke(args);
    Now, when is the actual endpoint URL being created ? Is it when theinvoke()
    method is called ?
    It cannot be during the constructor since I pass the target URL after that...
    My problem is that I have to call the 'invoke' method quite frequently,and hence
    would like the HTTP session to be reused, rather than recreated each time.Right
    now,
    I construct the stub each time I have to call the target method, and I'mwondering
    if
    I just cache the stub and keep calling the target method each time, willthe underlying
    HTTP session be reused ? Any ideas ?
    Currently, if I do netstat on my Sun Solaris box (where this runs), I seethe
    TCP
    connection being recreated during each invocation ...
    -john

  • Is it possible To Debug (trace) a Pro C program..in UNIX plattform..?

    I want to debug Pro C programs in UNIX plattform. Now i am tracing the program by inserting several printfs in program. its difficult.Please let me know any easier method exists..
    Thanks
    Rinson

         Is it possible To Debug (trace) a Pro C program..in UNIX plattform..? raised question is not related to this forum.

  • Is it possible to call a webservice with just the url to its WSDL

    hi all
    can anyone tell me if it is possible to call a webservice with just the url to its WSDL file. must we create the proxy class for webservice client? thanks

    if you are in the context of a J2EE 1.4 container, you do not need to generate any stub, you can use either a dynamic proxy mechanism or dynamic invocation.
    check JWSDP tutorial.

  • Is it possible to debug a Job which already executed in the Background.

    Hi Friends,
    My Z program has a bug when run it in Quality System.
    If I run this program in foreground to debug, its giving TIME OUT dump.
    If i try to run it in Background and started DEBUG mode using JDBG.
    Still one of the table fetch gives TIME OUT dump.
    Is there any possibility to DEBUG the already executed job?
    Regards,
    VIJI

    Hi,
    If the job is running go to SM50..
    Select the process:
    In the menu..Program/session -> program -> debugging..
    OR
    Fix the break points.
    2) Create job.
    3) Go SM37
    4) Select the job and write "jdbg" in command line.
    1) Use Transaction SM50. This would give you a view of all the background
    processes running in the server.
    2) Choose your background process from the list and got to
    MENU "Program/Mode"->"Program"->"Debugging".
    Regards,
    Suresh Kumar

  • Maintain HTTP Session in Webservice

    Hi,
    I configured a Webservice as an External Resource, just for consume it.
    It works OK for a single method invocation in this webservice, but I need to maintain a HTTP session between more than one invocation to this webservice. How I can configure a Webservice External resource to maintain HTTP session between methods invocations?

    The option that you mentioned is just for WebServices that needs HTTP Authentication.
    Is not my case.
    http://twitpic.com/i2f3h
    Image: !http://web7.twitpic.com/img/30345965-80ad8fb7ebd3282957694547d6e3cda0.4ab27651-full.gif!

  • Is it possible to debug coldfusion source code remotely

    Is it possible to debug coldfusion source code remotely, if
    so can you do it at the same time as debuging a flex app
    remotely(which I can do already)

    What do you mean by "remotely"?

  • Is it possible to debug WL Server via a JPDA

    Is it possible to debug WL Server via a JPDA debugger (such as Kamira
    Bugseeker) when WL Server is running as an NT Service? Are there
    recommended changes to the cmdLine parameter in installNtService.cmd (its in
    the samples)?

    Is it possible to debug WL Server via a JPDA debugger (such as Kamira
    Bugseeker) when WL Server is running as an NT Service? Are there
    recommended changes to the cmdLine parameter in installNtService.cmd (its in
    the samples)?

  • ECATT: Possible to debug inline ABAP?

    Hello eCATT experts,
    I have the following question:
    is it possible to debug inline ABAP (between ABAP...ENDABAP) in the eCATT debugger?
    When trying to step inside an ABAP...ENDABAP block with F5, I always end up after the ENDABAP statement.
    Thanks and best regards,
    Oliver

    >
    Oliver Thomas Niedermaier wrote:
    > Hello eCATT experts,
    >
    > I have the following question:
    > is it possible to debug inline ABAP (between ABAP...ENDABAP) in the eCATT debugger?
    > When trying to step inside an ABAP...ENDABAP block with F5, I always end up after the ENDABAP statement.
    >
    > Thanks and best regards,
    > Oliver
    You can also break command.
    ABAP.
    BREAK USER_ID.
    ENDABAP.
    Where USER_ID is your user id in the SAP system.
    This will help to stop the script for debugging only when you use it and it will continue executing for others without Stopping.
    Hope this info helps.
    Regards,
    SSN.

Maybe you are looking for

  • Acquisition of an Asset with Negative value

    Hi Gurus, How to do acquisition of an asset with negative value? Please tell me the Tcode for doing this transaction. Please revert asap. Thank You

  • Stoping notification: A new Bid for a Bid Invitation has been Received, once a response is submitted

    Dear SRM experts, I need your help in stopping one notification completely. Once a Rfx response is submitted by bidde against a Rfxr, automatically system is sending a below notification to purchaser: A new Bid for a Bid Invitation has been Received

  • How to use a Web-DVD

    Hello, what are the options for a web dvd? Can i add a video on a website (or youtube/vimeo) where you can click on an option within the video, just like a real dvd with an menu. thank you! Simon

  • Wayyyyyy too many jframes opening!!

    hi all! im having a bit of trouble with the application im currently working on. what is supposed to happen is the program reads a text file or the user can start typing in the textarea. if the text file or textarea contains a certain word, a new jfr

  • Web Dynpro Java Internationalization and backend ABAP function modules

    Friends, I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE. I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am fac