How to Call webservice by another webservice

Hi all,
Anybody knows how to call a webservice by another webservice.

Yep. Have a look at [Developing Java EE 5 Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/44/c778033d5360eee10000000a155369/frameset.htm] and [Creating J2EE 1.4 Applications in SAP NetWeaver Developer Studio|http://help.sap.com/saphelp_nwce10/helpdata/en/46/69364d53070ea1e10000000a155369/frameset.htm].
HTH!
\-- Vladimir

Similar Messages

  • How to call Reportwriter in another report

    Hi All,
            Can we call report writer in another custom program
    using submit statement.
    How can i achive this?
    We can call using Call transaction, but i require the output in my called report for comparison of data.
    How to call the report writer and get the output generated by this into my report.

    Hi,
    Using se93 i got name got the name of the report for a given report writer.
    I used report name of report writer in submit statement.
    I am getting short dump as report name does not exists.
    Is there any function module that calls transaction and returns the result.

  • How to call  Screen in another program from exsisting program

    Hello Frieds,
    Can any one help me how to call  a screen  in another program (Say "test2") from exsisting program(say "test1')
    If above case is possible then how to access the fields in the target screen?
    Your responce is greatly appreciated.
    Best Regards,
    Rakesh

    Hi Rakesh,
    If you wish to use ONLY the screen of another program, call transaction  will not help you, because the called transaction will be fully executed (and not only the screen), and the acess to screen field wil be difficult.
    When you wish to access the same screen from more than one program, you can create this screen in a function module and in this way you can call the function (to display the screen) in many programs.
    Best regards,
    Leandro Mengue

  • OC4J_10.1.3 (Exception while calling a webservice from another webservice)

    I have the following situation --
    1. I have two WebServices A and B deployed onto OC4J_10.1.3
    They both work when I test them using the test service
    2. My real need is to call webservice A from B. So I created a proxy for A using JDEV
    and deployed into OC4J. Now when I use the test service and call methods on B as before it does not work. I get the following exceptions when I try to instantiate the stub.
    WebServiceASoapHttpPortClient myPort = new WebServiceASoapHttpPortClient();
    SEVERE: caught exception while handling request: java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml
    /namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/String;Z)V java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml/namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/Stri
    ng;Z)V
    It seems as though OC4J is not able to find LiteralFragmentSerializer methods. But wsclient.jar must be available on OC4J's CLASSPATH.
    My webservice is very simple and the encoding is SOAP1.1 (Document/Literal).
    Any insights ?
    Thanks very much.
    --venkat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Have you tried downloading and installing wsclient_extended.jar instead of wsclient.jar?

  • How to call java servlet using webservice in webdynpro abap?

    hi all,
                  we have a requirement to connect to non - sap database through webservices. But they do have a java servlet which has a data to get. please help me in this regard.
    Regards,
    Murthy.

    This is not a web dynpro ABAP related question.  Please only post questions in this forum that are directly related to Web Dynpro ABAP.

  • Any direct way to call webservice from another webservice ?

    Hi All,
    We have two java web services. One web service calls the another.
    Currently, we have created a proxy of one web service and jar the proxy project and using it in caller web service.
    Do we have any other ways to acheive it? or the way we are doing is the only approach?
    Thanks
    Saikrishna Panugant

    No,
    I didn't realize that there was a limit of 10 for remap data. As a work-around, can you remap 10 of the columns during export, and then 10 during import? Not sure if you want to give someone a dumpfile with sensitive data in it. If you could, you could at least double the limitation to 20 rows.
    Dean

  • How to call method in another swf file

    Hi. I am at the moment making a website in Flash 8. The
    website consists of a main file with the buttons and then
    additional files for each page. Each of the buttons uses code
    similar to this:
    content.loadMovie("home page.swf");
    where content is the movieclip I am using to load the swf
    file into. In the main file I have a search box where a user can
    type some search terms. I have written some code that will search
    through the text field(s) on the page and highlight any words that
    appear matching the search terms. The only problem is that I cannot
    get to the text fields on the other files. So what I want to be
    able to do is attach some code to the search button that will call
    a method in another swf file using the parameters that I the user
    has specified in the search box. How would I go about doing this?
    Any help is much appreciated
    JM Young

    Place functions in the external swf. Then you can call them
    through the container clip
    content.yourFunction(args);
    Realize however, you cannot call code in an external swf
    until the frames with the functions are loaded. Timing would be an
    issue if the user can beat the loading clock or if you have code
    that is executed automatically after you start the load.
    So if timing becomes an issue, use MovieClipLoader and the
    onLoadInit method.

  • How to call jsp from another jsp

    Hi, All,
    I have several jsp files in my pagelet. I need to put a link in one jsp file. When client click the link, it will show another jsp file. Could anybody tell me how to do that?  i have tried to use following code in page1.jsp,
    IPortalComponentURI componentURI= componentRequest.createPortalComponentURI();
    componentURI.setContextName("pagelet/page2.jsp");
    String docuri = componentURI.toString();
    <body>
    click  '<a href="<%=docuri %> ">here</a>' to link to pages.
    But it does not work. Any help will be great appreciated.
    Marea
    Message was edited by:
            Marea Yang
    Message was edited by:
            Marea Yang

    HI Yang,
    You can achieve it through eventhandliling in jspdynpage.
    Go through this link ,
    i.<a href="http://help.sap.com/saphelp_nw70/helpdata/en/2e/d2a441cd47a209e10000000a155106/content.htm">eventhandling</a>.
    ii.<a href="https://forums.sdn.sap.com/thread.jspa?threadID=103335">method to call jsp</a>.
    iii.<a href="https://forums.sdn.sap.com/thread.jspa?threadID=393522">calling  resource JSP in Portal Compoent</a>
    Hope It'll help you.
    Regards ,
    Malini.V

  • How to call scriptlogic from another application

    Hi
    In BPC 7.0 NW, how would I call scriptlogic defined in another app from my current app. The MDX *RUN:OGIC is not supported. Is there anther way to do this and if so, how?
    Thanks
    L.

    Hi,
    The Script Logic File is assigned to Data Manager Package which in backend will call the process chain.
    So in your case you will be assigning the name of the Script file(in different application), to the DM Package of some other application from where you will be calling the logic.
    The Dynamic Scriptin that case will be as below if you are using FXRESTATEMENT Process chain,
    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,<Name of App where the>)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,QTYOFRM.LGF)
    Hope this helps,
    regards,
    G.Vijaya Kumar

  • How to call method in another mxml component

    HI to all friends out there. I am stuck at some point . I need to call public method which is in other mxml component file in another mxml component.
    So please tell me how i achieve this . I need to call inside event method which activate when user click on mu advancedatagrid item.
    So please tell me how to acheive this.
    Thank you in advance.

    If the functionality you need is self-contained within the component, you can dispatch generic event to the main application, and over there define the handler function.
    If you need more specific interaction triggered by the component, you have to create custom event Class and then dispatch custom event.
    I believe there are some clear tutorials in Flex in a week: http://www.adobe.com/devnet/flex/videotraining/?devcon=f2
    HTH,
    FTQuest

  • HANA Server site JavaScript how to call functions in another .js file? thanks

    In HANA Studio, I have created a .js file and a server site javaScript .xsjs file. The .js file and .xsjs file are in the same path .I create function F1() in js file. Then I want to call function F1 in xsjs file. But it always through an error “f1 was used before it was defined”. Any suggestion? Thanks very much
    .js file:
    .xsjs file:

    Hi Jim,
    Now I have found the method how to use external library. If we want to outsource some of xsjs functions to an external library, XSEngine provides a special format for this, called “.xsjslib”. Then in xsjslib file, we define functions need to be outsourced.
    In .xsjs file, we can import a library using the following code:
    $.import("<Package_Library_was_deployed>","xsjslib File Name");
    The Package_Library_was_deployed please refer to:
    Access functions inside library by this path:
    $.Package_Library_was_deployed.xsjsFileName.FunctionName();

  • How to call ABAP in another client ?

    hi there,
    i have one abap in client 100. i want to call an abap, which should
    be executed in client 101 on the same system.
    how to handle this ?
    reg, martin

    Hi,
    For this you need an RFC connection between the two clients;
    Then you can execute a FM(that is RFC enabled) in the other(target client) by specifying the rfc destination(created above in SM59) as:
    Call <Function module> destination <rfc destination>
    IMPORT
    EXPORT
    Regards
    Shiva

  • How to use once SC in Another SC, and How use one DC in another DC

    Hi all,
    I am new to DC and SC's concetp.
    we have got two  abc.sca  and xyz.sca files which contains  some DC's kind of the functionality. So, now we need to create new SC called MyComp.sca and i need to create one new DC caleed "display_dc" in this.
    So this DC need to call the DC's which are available in the above .sca files. how to build this.
    How to use once .sca file in another.
    How to call dc from another sca of the dc.
    how to use from one dc to another dc.
    do i need to define the depency in the SLD when i am create the new SCA with using SCA files.?
    REgards
    Vijay

    I will try to give you a place to begin...
    SC are Software Components. Think of them as development products, like MS Word or Adobe Reader. They include sets of DCs, development components. DCs are smaller units, like programs and libraries in the SCs.
    Software architects define SCs in SLD and also define two types of dependencies between them:
    - build time (required to compile and build)
    - runtime (required during execution)
    SCs themselves are "buckets" for DCs, so dependencies between SCs describe dependencies between DCs they include. Think of that the same way as we we say "SAP Visual Admin (SC) depends on JDK (SC)". It means that swing apps of Visual admin (DCs) need java classes packaged in JDK (DCs).
    This will help:
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/d27865d006136ae10000000a1553f7/frameset.htm
    DCs interact between themselves by exposing "public parts" (SAP webdynpro terminology), allowing one DC to access objects of another DC.
    Here it explained in more details:
    http://help.sap.com/saphelp_nw70/helpdata/EN/62/06108b6af0264a9a5393fd787ea3c9/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/3b/13d6de881a8f4daac3d28e1652a2bb/frameset.htm
    I tried to explain it in asimple terms.
    Hope it helped.
    Regards,
    Slava

  • How to call SAP Webservice in standalone java program

    Hi,
    In our Java application, we want to use the SAP Webservices. I dont know much about authentication mechanism used by SAP. Can any one please help me with any sample code how to Call SAP webservice in Standalone Jave Program. I searched alot on the web regarding this, but helpless. Please help me.
    Thanks,
    Mohan

    Hi Mohan,
    You need an account for the ES Workplace. I'm afraid this is not free, e.g. check [SAP NetWeaver, Composition Subscription|https://www.sdn.sap.com/irj/sdn/subscriptions/composition].
    But I thought you wanted to play with a WSDL [you already had at hand|Sample code to access BAPI Web services from JAVA required;?

  • How to Call Webservices in ABAP(Syntax) created in abap ,java etc

    All Champs,
       Can some one explain me(programatically) that how to access webservices in following cases.
    case 1: A webservice created in ABAP (FM,BAPI,FUNCTION GROUP) by using wizard . How to call this webservice in report or in any bsp or webdynpro application.
    case 2: A webservice created in JAVA,.NET  or in any third party technology , how to use in abap(by considering that endpoint has been created for third party webservice)
    points will be rewarded .
    regards
    panky

    Hi,
    case 1: for WDP, you can create the web service model via "Import Adaptive Web Service" or "Import Web Service Model (deprecated)" by supplying wsdl URL.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2bweb%2bservice
    case 2: In ABAP, create a proxy object at trx code SE80.
    http://help.sap.com/saphelp_nw04s/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
    Both cases are wizard-based. It's pretty intuitive.
    - julius

Maybe you are looking for