How to use/consume/call a webservice

Hello All,
    I have created a webservice from the inbound proxy. i can test this using tcode wsadmin.
  but i donno how to consume this service.
for eg: i ahve created a PurchseOrderCreate webservice now i wnat to use this serivce to create PO.
can usomeone please tell the procedure?
Thanks & Regards
Amarener Reddy B

Amarender,
sorry to say that, but your question is rather strange.
it seems you do not have any concrete requirement or use case at all.
such a requirement would for instance be:
I have system A and a system B, latter being my SAP system. I want to allow system A to create purchase orders in my system B my means of webservices.
to achieve this you
1) enable system B by creating a suitable webservice, e.g. PurchaseOrderCreate
2) test the webservice on system B and make sure it works well
3) create a webservice consumer on system A using the tools of that system's development environment
4) run the consumer on system A and transmit a purchase order to system B
it seems you have sucesfully performed 1) & 2) and now recognize you don't have any specific requirement at all, most of all no system A.
<i>Thou shalt not offer a service if you don't know anyone to use it...(Konfuzius)</i>

Similar Messages

  • How to use RIDC calls in webcenter application

    hi,
    We have lot of portlets developed in weblogic portal and consuming content using RIDC calls. How to consume data from UCM repository (site studio pages) in Webcenter JSF pages.
    Thanks
    Manu

    Hi Manu,
    Take a look at our whitepaper - Integrating Oracle ECM with Portal Technologies.
    We showed this integration at the recent Collaborate Conference in April.
    link: http://www.fishbowlsolutions.com/StellentSolutions/ContentManagementResources/index.htm
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • "HOW to use Labview call Dll compiled by VC++"

    "hello,I use VC++ compile a DLL,and i want to call DLL Function in LABVIEW program.But there is a dll function
    when i call it in labview.There is error.The prototype of Dll Function that make error is "USHORT DLLFUN __stdcall IBWRT(unsigned short dev_address,const char *pstrWrite)",The second paramenter is a char pointer,
    and the paramenter pass a command which content is
    "MEASURE:CURRENTC? 1A,0.001MA".
    When i use VC++ to call this function,i program followed:
    CString m_wrt;
    int ReturnW;
    m_wrt="MEASURE:CURRENTC? 1A,0.001MA";
    char buffer[40];
    strcpy(buffer,m_wrt);
    ReturnW=IBWRT(4,buffer);
    and this call is correct.
    But when i use labview to call this function.ther
    e is
    error.So, who can help me,to tell me how to call this
    function.Thanks."

    Are you asking about porting code or calling C++ code in LabVIEW?  As far as porting code, there's no easy way to move code back and forth between LabVIEW and C++.  However, if you are trying to call C++ code in LabVIEW, you can compile it as a DLL and call it in LabVIEW using the Call Library Function node.
    Chad B. » National Instruments » ni.com

  • How to use system call in assembler

    I write codes to display the dictionary using C,
    and it can run well,and then I want to use system call
    in assembler to realize the same function ,but it doesn't
    display the dictionary,how to correct it?
    Look:
    //C
    #include <stdio.h>
    int main()
    char *name[2];
    name[0]="/bin/ls";
    name[1]=NULL;
    execve(name[0],name,NULL);
    return 0;
    //Assembler
    .data
    msg:.string "/bin/ls"
    .text
    .global _start
    _start:
    movl $0xb,%eax
    movl $msg,%ebx
    mov $msg,%ecx
    movl $0,%edx
    int $0x80
    movl $1,%eax
    movl $0,%ebx
    int $0x80

    If you compile with -Wwrite-strings, as I like to do for new code, you'll notice it warns about assigning the address of read-only memory to a plain char *. You might want to declare name as follows to avoid accidentally trying to modify it:
    char const *name[2];
    But as for your question. The execve system call requires a pointer to a list (array) of pointers to strings in %ecx. You are passing it a pointer to a single string, which means it will try to interpret the string ("/bin/ls")as a series of pointers to strings, with potentially disastrous (and certainly weird) results.
    Last edited by Trent (2012-12-28 15:31:38)

  • ? how to use something called quicktime. i click on its icon and it does nothing! i just bought quicktime 7 pro and have a registration

    i just bought a macbook pro and never used apple before. i am trying to convert my movie clips and need to use something called quicktime. i click on its icon and it does nothing! i just bought quicktime 7 pro and have a registration # and it says open quicktime and enter the reg# - how do i do this?

    When you start QT 7 player, under the first menu there is a "Registration" menu item.
    Enter your name and Registration code, THEN hit the TAB KEY. Do not click the "Buy..." button.
    That should do it.
    Make sure you have the CORRECT version of QT 7:
    http://support.apple.com/kb/HT3678

  • How to use HTTPS for my Webservices

    Hello,
    I'm devoloping one SIte of a Webservice-based Interface.
    - My Webservices have to to consumed using HTTPS
    - My Invoker(Oracle 10g PL/SQL-Procedure) has to invoke a Webservice over HTTPS
    So i have seen how to create Secure-SOAP-Webservices, but I don't find a tutorial, which shows the whole Process: Create the Webserver-Certificate (SAP WAS 6.40), tell the Webservice to use this certificates, etc...)
    It would also be graet, to get a link to tutorial..
    Greetings,
    Chris

    I don't use Oracle PL/SQL, but I can give you an idea how it can be done via eg PHP (pear soap in this case) consumer.
    I presume that you you have on the WAS already an FM which is webservice enabled.
    First you need to set up an array with all credentials
    $proxy = array('user'=>'someuser', 'pass'=>'somepass','proxy_user'=>'someuser', 'proxy_pass'=>'somepass');
    Then you set up the client with the wsdl and this proxy info
    $wsdl=new SOAP_WSDL("https://someuser:somepass@someurl",$proxy);
    $wsdl->proxy=$proxy
    $client->$wsdl->getProxy();
    $result=$client->someFMonWAS();
    It's that easy.

  • How to use loop inside mx:webservice tag

    Hi to all,
    I'm using some webservices. i just want to pass XMLChildren
    to the request element of webservice tag.
    for that,
    <mx:WebService id="WES3" destination="applicantws"
    useProxy="true" fault="Alert.show(event.fault.faultString) ,
    'Error'" >
    <mx:operation name="ZhrFunApplicantCreate"
    result="onResult2(event)" resultFormat="e4x" >
    <mx:request>
    <education>
    { samplexml.children() }
    </education>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    but the problem is samplexml contains many children when i
    embed that samplexml inside websrvice it is taking only the
    firstchild of that samplexml.so i need to loop through the
    samplexml inorder to fetch & bind all the childs of that
    samplexml.
    How do i do that??
    can anyone please please please bring me the solution...
    Thanks in advance..
    regards,
    Thenmalar. v

    Hi,
    You can achieve this by UDF,
    inputs are E1IDB02 BA-FIIKWAER,E1EDKA1 BE-NAME1
    yes then suggest MIDE(E1EDKA1 BE - STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER = CNY
    then MID(E1EDKA1 BE-NAME1,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)<=35
    then MID(E1EDKA1 BE-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1EDKA1 BE-NAME1)>35
    then MID(E1EDKA1 BE-NAME1,36,35)
    Regards
    Chilla

  • How To use or call dll ?????

    Hi !
    I have created one programm and i have genetared dll of that ( Using
    LabVIEW) now i want to call that from vb.net how i can Do it
    please help
    Thanks in advance

    tst wrote:
    Lycangeek wrote:
    But you can't get a front panel control integrated into a VB.NET panel.
    Brian,
    this is obviously impossible when the control is part of a running
    program, but don't the LV style control appear in the list of
    registered ActiveX controls as ComponentWorks controls? I'm
    not near a computer with LV at the moment to check.
    No
    almost all LabVIEW controls are native implementations in LabVIEW
    itself. They have nothing to do with Component Works or Active X at
    all, although I guess the Component Works developers did get some
    inspiration from LabVIEW controls but even more probably from
    LabWindows/CVI controls.
    Exception to this is the 3D graph which is a Component Works control
    incorperated into LabVIEW through the Active X control container (and
    my own private opinion about this control is that it sucks in several
    aspects, being an Active X control is not the least of its faults).
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to use  or call component in custom script expression

    i want to use component in custom script expression .(custom script expression is located at :
    when yow will click on one of the steps in criteria workflow
    1)there is a tag named as event on clicking the event tag,there are two buttons named edit and clear on clicking edit.there is a screen having custom as a tag,on clicking that tag there is written custom script expression, here i hav to write a code to include a component).

    you can define code in a component (a service or an IDOC Include) that you can then call from the workflow "custom" tab.
    So if your component has an include like this:
    <@dynamichtml myInclude@>
    <$do Some Stuff$>
    <@end@>
    Then in your workflow step event "custom" tab you can write:
    <$include myInclude$>
    The workflow event will then execute the <$do Some Stuff$> line.
    With a service, you would define the service in your component then call <$executeService("MYService")$> in the step event custom code.
    You cannot define includes or services in the custom script tab for workflow.

  • How to use sql call a pl/sql function

    Hi there,
    I have a pl/sql function package as below:
    Create or Replace package test10 as
    P_DESFORMAT VARCHAR2(10);
    DESFORMAT VARCHAR2(10);
    function m_tot_u1Formula(m_o_uns number,m_t_uns number,m_v_uns number)return NUMBER ;
         function m_tot_res1Formula(m_o_res number,m_t_res number)return NUMBER;
         function m_occ_u1Formula(m_o_uns number,m_t_uns number)return NUMBER ;
         function m_onrpun1Formula(m_o_uns in number,m_o_res in number)return NUMBER ;
         function m_tenpun1Formula(m_t_res in number,m_t_uns in number)return NUMBER ;
         function m_occpun1formula(m_occ_u in number, m_tot_res in number) return number ;
         function m_vac_rate1formula(m_v_uns in number,m_tot_u in number) return number;
         function m_onrpha1Formula(m_o_res in number,m_area in number) return NUMBER;
         function m_tenpha1Formula(m_t_res in number,m_area in number)return NUMBER ;
         function m_occpha1Formula(m_area in number,m_tot_res in number)return number;
         function P_DESFORMATValidTrigger return boolean;
    END test10;
    CREATE OR REPLACE PACKAGE BODY test10 AS
    function m_tot_u1Formula(m_o_uns number,m_t_uns number,m_v_uns number)return NUMBER is
    begin
    RETURN m_o_uns + m_t_uns + m_v_uns;
    end;
    function m_tot_res1Formula(m_o_res number,m_t_res number)return NUMBER is
    begin
    RETURN m_o_res + m_t_res;
    end;
    function m_occ_u1Formula(m_o_uns number,m_t_uns number)return NUMBER is
    begin
    RETURN m_o_uns + m_t_uns;
    end;
    function m_onrpun1Formula(m_o_uns in number,m_o_res in number)return NUMBER is
    begin
    IF m_o_uns > 0 THEN
    RETURN m_o_res / m_o_uns;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function m_tenpun1Formula(m_t_res in number,m_t_uns in number)return NUMBER is
    begin
    IF m_t_uns > 0 THEN
    RETURN m_t_res/m_t_uns;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function m_occpun1formula(m_occ_u in number,m_tot_res in number) return number is
    begin
    IF m_occ_u > 0 THEN
    RETURN m_tot_res / m_occ_u;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function m_vac_rate1formula(m_v_uns in number,m_tot_u in number) return number is
    begin
    IF m_tot_u > 0 THEN
    RETURN 100 * m_v_uns / m_tot_u;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function m_onrpha1Formula(m_o_res in number,m_area in number) return NUMBER is
    begin
    IF m_o_res > 0 THEN
    RETURN m_o_res / m_area;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function m_tenpha1Formula(m_t_res in number,m_area in number)return NUMBER is
    begin
    IF m_t_res > 0 THEN
         RETURN m_t_res / m_area;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function m_occpha1Formula(m_area in number,m_tot_res in number)return number is
    begin
    IF m_area > 0 THEN
    RETURN m_tot_res / m_area;
    ELSE
         RETURN NULL;
    END IF;
    end;
    function P_DESFORMATValidTrigger return boolean is
    begin
    DESFORMAT := P_DESFORMAT;
    return (TRUE);
    end;
    END test10 ;
    the package is compiled successfully.
    And my sql statement will call those function in this package such as:
    select test10.m_tot_u1Formula(m_o_uns ,m_t_uns ,m_v_uns) m_tot_u,
    test10.m_tot_res1Formula(m_o_res,m_t_res)m_tot_res,
    test.m_occ_u1Formula(m_o_uns ,m_t_uns)m_occ_u,
    test10.m_onrpun1Formula(m_o_uns ,m_o_res )m_onrpun,
    test10.m_tenpun1Formula(m_t_res ,m_t_uns )m_tenpun,
    test10.m_occpun1formula(:m_occ_u , :m_tot_res )m_occpun,
    test10.m_vac_rate1formula(m_v_uns ,m_tot_u ) m_vac_rate,
    test10.m_onrpha1Formula(m_o_res ,m_area ) m_onrpha,
    test10.m_tenpha1Formula(m_t_res ,m_area ) m_tenpha,
    test.m_occpha1Formula(m_area , :m_tot_res ) m_occpha
    from ..... where.....
    Is it right to call those functions? Thanks in advance.
    Appcat

    I spoke too soon on the impracticality of a function-based index on a view. My recollection was that the CBO wasn't smart enough to recognize that a FBI on an expression like (col1*col2) could be used to resolve queries that involved a simple transform (i.e. col2*col1), which tended to force you to have a user-defined function behind the FBI to make sure that someone cleaning up code didn't accidentally make the index unusable. Now that I've actually tested it, my recollection, at least on 10.2, is clearly incorrect.
    There's certainly a matter of personal taste here. If I knew what these variables were intended to represent, I'd have no problem maintaining either syntax because it should be relatively obvious whether either piece of code is suspect. I do have to confess that I had to look up the syntax for the NULLIF function yesterday in order to reply to this thread-- my wager is that if I had to look it up, a good fraction of the PL/SQL programmers out there would have had to look it up as well and might not immediately recognize this as an inverted division by 0 test.
    From a maintenance standpoint, I would personally rather have the package where I can zoom in on the particular function I'm interested in, rather than looking at a view that may be doing a dozen rather similar calculations. I'm a bit more confident that I (or some new maintenance programmer on my team) could change the logic in the function without inadvertently screwing up any of the other functions in the package than I would be that I (or they) would accidentally screw up the view. Clearly, robust test scripts and an automated test suite would help tremendously in either case, and neither change should be too difficult, but my experience is that the package is the easier construct to modify or add to. I certainly believe that other people/ organizations would have different experiences and other people might prefer the view approach. I certainly wouldn't oppose a view-based approach, just as I wouldn't oppose a package.
    There's also still the matter of having a table with every valid input if a view is to be practical. It's certainly possible that such a table exists, but it seems equally possible that there are either many such tables, that these functions are doing calculations on values that aren't stored in tables, etc., in which case a package would be the better solution.
    Justin

  • How to use HOST call DOS continuous running problem but NOT hold Forms scre

    In my Forms, I have a Button a start a MP3 recorder program to record voice, I use HOST command to init the program successfully. However, since the MP3 recorder program in continuous running, the HOST command hold my Forms screen until the MP3 program stop.
    I have try to use Open_form to open another form to start this MP3 program. It still hold the whole Forms system.
    Is there any solution to start a continuous running DOS program but NOT hold the Forms screen?
    Thank You !

    You didn't provide your host-command, so i simply guess its something like
    HOST('"c:\Program Files\mp3.exe" someoptions');instead of calling the program directly, you could use a commadn batch along with the start-command, for this should launch the program asynchronously:
    HOST('cmd /c start "c:\Program Files\mp3.exe" someoptions');hope this helps.

  • How to use WinAppRegisterInterface call?

    Hi,
    I'm trying to implement some COM support into my plug-in and access that functionality via GetInterface() method, so that plug-in is loaded already into the Acrobat host application and could utilize for example Cos layer functions.
    For that to work I'm trying to fill COMServerRec structure in form like that:
    ComServerRec comServer;
    comServer.size = GetNameLength();
    comServer.GetName = &GetName;
    comServer.GetIDispatch = &GetIDispatch;
    BOOL res = WinAppRegisterInterface(&comServer);
    where GetNameLength() returns the lengths of my plugin's name, let say of "CompanyName:TestPlugin" and GetName/GetIDispatch are my defined functions.
    So, that call always returns me false and I'm not sure what is wrong, cause there is no documentation on size field and any sample as well.
    Currently I'm trying that with Adobe Acobat 8.0 Pro, but later I'd like to use that with v9 as well.
    Any help would be highly appreciated.
    Andrejus

    Hangouts is AWFUL!! Quality of video is ZERO - also sound quality is Zero - just couldn´t make out of words! Skype has video quality about the same as iPhone´s FaceTime. I wonder if anyone using Hangouts - at least their ad is BS - they used other app than Hangouts. So blur and jerky video in Hangouts - it is really substandard - same bad as Line video call. Fortunately Skype is good to go - otherwise would have said good bye to Android. Skype messaging is OK but pictures couldn´t be sent with it - it´s gonna load a picture week or two - really awful - only text goes quickly. Seems like Apple is king - they have their own messaging (iMessage) - no matter picture or text it´s fast like a NATO missle and their FaceTime works smoothly and the video is sharp. Yes I tested Hangouts, Skype and FaceTime one after each others many times and results were the same every time, so you can´t blame internet connection.
    I got the good results as follows:
    Video calls: Skype
    Messaging: Line and Whatsapp
    SMS: Sony´s own app

  • How to use a WSDL file to call webservice? Help!

    Hi Experts,
         I have exposed a SAP function module as webservice using the
         Utilities -> More Utilities -> Create Web Service -> From Function module
         What does this step actually does? Does it create some kind of web application like BSP for the function module in the background?
         After creating the web service I have released the service definition for the SOAP runtime using the transaction WSCONFIG.
        Finally I have generated the WDSL file ofr the webservice using WSADMIN transaction.
        After this how will my third party application like Java will use the WSDL? Will I need any connector software to be installed in Java side.
        How exactly will java call my webservice using WSDL?
        What actually happens or what is the message flow when java application calls by webservice?
        Kindly help.
    Thanks
    Gopal

    Hi, Your solution should be correct and it's a quite common approach for Login authentication.Informatica's webservice provider also need 2 steps for calling its webservice1. Getting the session ID using username and password 2. Use the session ID to call any active operation 3. Use the session ID to log out if webservice do not have any time out settings for each session. SOAP standard is listed in the WSDL of saleforce webservice. It affects if you cannot find/call any operation in PowerCenter level. My lastest information is for PWC 9.1 version only, I don't know if they have enhanced this function in 9.5. If you can call the operation, you can just put it (SOAP standard) way first. Regards,Felix

  • How to call a webService from WebDynPro ABAP ?

    We are trying to call a webService from WebDynPro-ABAP application. It is not working, While if we are calling the WebService from a Report, it is working.
    How exactly do we call a WebService from a WebDynPro-ABAP application?
    What are the main steps involved ?

    Hi Phani,
    You will need to create a service call as follows.
    Right click on your WD component name and select Create->Service Call
    The wizard will guide you through a series of steps to make a Web Service Call. On the 3rd screen, it will give you options such as Function Module, Web Service, etc
    Before making a service call, you will need to create a proxy for the Web service in the ABAP Workbench using a WSDL document as a basis. To create or consume Web services, you will need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN.

  • How to use session in webservice?

    In C#, can use session variable in a webservice object.
    How to use session in Java webservice?
    Who can give me a example?
    Thanks a lot

    Did I use session in a wrong way?No, you are using the session correctly. The code looks fine.
    Check
    - your spelling of the attribute names - obviously they must match
    - the ids of the sessions you get both times: session.getId(). If they have different ids, then most probably the session is being lost somewhere.
    There are a number of reasons to lose a session. If you close the browser, invalidate the session in code, or lose the cookie recording the id. This happens when you change from https to http, so a session can be lost that way.
    The session is normally maintained by session cookies. If you close your browser you lose the cookie. If you have disabled cookies on your machine then it also might not work.
    In cases such as that you should be using the method response.encodeURL() to maintain the session for you in any hyperlinks you produce. Struts normally handles that for you though if necessary.
    Hope this helps,
    evnafets

Maybe you are looking for

  • Background job getting failed every day

    Hi, This background job getting failed every day.But this job was running fine initial periord.Please help me out this issue. SAP_REORG_UPDATERECORDS SAP_WP_CACHE_RELOAD_FULL SLCA_LCK_SYNCHOWNERS Regards Naanas.

  • Backup a remote location

    I have a quick question, I would like to back up one of our servers (to an external HD, for safety reasons) remotely using time machine. Is that possible? If so how would that be done and if its not possible with timemachine is there any other softwa

  • Display problem in JAVA

    Hi I am displaying a page with large set of records say 100-150 and when i dispay the records in the form of table only after all the records are retreived i get the full table. for example out.println("<table>"); while(rs.next()) out.println("<tr><t

  • Computer freezes while running Endeca Tools Service

    Hello, We are  facing a problem while running  Endeca Tools Service  with  Experience Manager (v3.1.2 ) on Windows 7. My computer freezes recurrently while the service is running. The same issue is happening to all of my colleagues who have installed

  • Could not find the main class JRE 1.6 only with console program into Contro

    Hi, I want replace JRE1.5-11 with JRE 1.6. Applet is running correctly with JRE 1.6. But when i want launching Java program located into "Parameters/Control Panel" I have following error message "Could not find the main class JRE 1.6 " Regards Philip