Statemanagement Service API via web services

All,
I have been able to get the state property of a resource (i.e. "In Progress") via the KM web service, but have not been able to change the status to "Awaiting Approval" via a web service (SetProperty does not work as the "state" property is read-only).  There are several examples of Java code leveraging the State Management API either via a Repository Service, WD4J, etc., but non of them are via a web service (i.e. callable from ABAP).  Can someone please confirm whether or not the State Managment functionality is available via the KM Web Service API's and if so, which method?
Just want to make sure I've exhausted this approach prior to having to embark on creating a Repository Servce.
Thanks,
Chad

Hello,
No idea of using a web service to get it done from ABAP.
But you know any web service which changes the value of any KM Properties via Web Service.
Regards
BP

Similar Messages

  • Coldfusion admin api via web services?

    Hi There,
    I'm looking ti access the coldfusion admin api using web
    services, but not from coldfusion so I cant use the normal
    createObject("component","cfide.adminapi.administrator").login("admin");
    I've tried using SOAP to request the login method at
    http://mydomain.com/cfide/adminapi/administrator.cfc?wsdl
    but the request fails as coldfusion returns the login dialog (as it
    does if you try to access the WSDL from a browser.
    Does anyone know if it's possible to login and access the
    CFIDE through standard SOAP calls rather than just through
    coldfusion and how I might go about it.
    Thanks in advance,
    Tom

    You can't invoke such admin components as a web service. Even
    if you could it wouldn't work.
    You can only call a method in a component as a webservice if
    its access is
    remote. However, the methods of the system components
    /cfide/adminapi/administrator.cfc, /cfide/adminapi/datasource.cfc,
    etc. have either
    public or
    package access. Verify this by running, for example,
    <cfscript>
    adminObj =
    createObject("component","cfide.adminapi.administrator");
    adminObj.login("your_admin_password");
    </cfscript>
    <cfdump var="#adminObj#">

  • Exposing Portal's User Management functionality via Web Service issue

    Dear experts,
    I am trying to create and deploy a web service that will tap into User Management functionality (UMFactory) of the Portal. I created a Java project with a Java class with one of the methods exposed via Web Service. Since this is a Java project and not a Web Dynpro project, a number of external jars and libraries, but I don't know how to add WD_RUNTIME and I am guessing that my problem is related to that.
    When trying to run the application, I receive the following error message when trying to envoke UMFactory:
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Location
         at com.sap.security.api.UMFactory.<clinit>(UMFactory.java:166)
         at com.hollister.getusers.GetPortalUsers.getPortalUsers(GetPortalUsers.java:75)
         at com.hollister.getusers.GetPortalUsers.main(GetPortalUsers.java:39)
    Please, help.
    Thanks,
    Alex

    Container Managed Authentication. Does everything you need.

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

  • Update key mapping via web service

    Hi ,
    I have a question about edit key mapping. The problem is that we create vendors in MDM and syndicate them to different ERP systems. To decide which system a new vendor/changes must be send to, I need the Edit Key Mapping, but the users do not want to enter this information manually and I do not see how I can create key mapping automatically.
    We are working on a new solution where vendors are entered in sharepoint and updated in MDM via web services. I would like to know if one of you know if key mapping can be maintained via a web service.
    Kind regards
    Jonna

    Hello,
    You may use the document,
    [MDM PI via Web Service Key Mapping|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0812356-e62f-2c10-76aa-9a02d038ba81]
    Hope this helps your scenario
    Regards,
    Abhishek

  • Executing a Job via Web Services using a Server Group?

    When executing a job from Designer or from the Management Console you have the option to select a specific job server or a server group.
    But when executing a job via Web Services it uses the first job server with which the repository was associated (i.e. the first job server listed in AL_MACHINE_INFO).
    Is there a way to get the job to execute using a server group instead simply choosing the first job server in the list?
    Note: We are using FIM to execute the jobs via web services and don't have access to additional parameters.

    Joe
    Here is the where you can change the server group/job server.
    - After you add the Batch/real Time job as a webservice.
    - Go to the Webservice Batch Job Attribute and from the drop down choose the "Enable job Attributes" and hit apply.
    - After this if you use the WSDL URL http://<Data Services Web Server>:<Web server Port>/DataServices/servlet/webservices?ver=2.0&wsdlxml
    - You will see the job attributes that you can change based on the allowed parameters mentioned in the documentation.
    The batch job or real time job is published without the job parameters by default. Once you enable the job attributes, remove and re publish the batch job as a web service. The application making the call to this webservice should be able to read the WSDL generated by Data services and pickup all the input and output parameters of the method.
    Refer to the Data Services Integrator guide (Chapter 3 : pages 25 - 33 ) to get the exact parameter values permitted via Data Services jobs called via web services.
    Hope this helps!
    Thanks & Regards
    Tiji

  • How to download a file via web service in Windows Phone 8.1?

    My project just got 2 part.
    1.Pivot app
    2.Webclient server (provide data for pivot app the view the data)
    My concert that how do i do a download button to download a file via web services in to isolated storage.
    urgent!

    something like this:
    public async System.Threading.Tasks.Task DownloadFile()
    using (var client = new Windows.Web.Http.HttpClient())
    var stream = await client.GetInputStreamAsync(new System.Uri("http://urltomyfile"));
    var file = await ApplicationData.Current.LocalFolder.CreateFileAsync("myfile.txt", CreationCollisionOption.GenerateUniqueName);
    using (var fileStream = await file.OpenAsync(FileAccessMode.ReadWrite))
    IBuffer buffer = new Windows.Storage.Streams.Buffer(1024);
    while ((buffer = await stream.ReadAsync(buffer, buffer.Capacity, InputStreamOptions.None)).Length > 0)
    await fileStream.WriteAsync(buffer);
    await fileStream.FlushAsync();
    how is your webservices offering the file?
    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • How to start a process via web service with automatically run first screen

    Hi guys,
    we want to start the process via web service and skip the inbox presentation of the first human activity of the process. It means that the first activity should start automatically by clicking the link (wsdl link).
    Is there any opportunity to realize this thought?
    THX
    Regrads
    Phil

    Hi Phil,
    You may refer to my blog series for steop by step procedure on how to initiate a BPM workflow through webservice. Below are the links:
    /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-5
    Hope this helps!!
    Regards,
    Arafat

  • How to integrate Oracle BI Publisher via Web Services in Oracle Forms.

    hi
    I hope you fine and happy. I think you hear about the new reporting tool (Oracle BI Publisher).
    Really it is a great tool. I need someone help me; How I can integrate Oracle BI Publisher via Web Services in Oracle Forms.
    I got the guidelines of this integration process from ORACLE.
    But, when I compile the script of publicreportserviceclient.callRunReport - the script running the report -, I get some errors in PL/SQL compiler
    http://www.oracle.com/technology/products/xml-publisher/index.html

    ==========================
    PL/SQL CODE:
    ==========================
    DECLARE
         RAISEDEXCEPTION ORA_JAVA.JOBJECT;
    REPORT_PATH VARCHAR2(200);
    PARAM_NAME VARCHAR2(200);
    PARAM_VALUE VARCHAR2(200);
    UN VARCHAR2(200);
    PW VARCHAR2(200);
    FORMAT VARCHAR2(200);
    TEMPLATE VARCHAR2(200);
    OUT_FILE VARCHAR2(200);
    OBJ ORA_JAVA.JOBJECT;
    BEGIN
    OBJ := PUBLICREPORTSERVICECLIENT.NEW();
    REPORT_PATH := '/LEARN/EMPLOYEES/EMPLOYEES.XDO';
    PARAM_NAME := 'P_DEPTNO';
    PARAM_VALUE := '50';
    UN := 'Administrator';
    PW := 'Administrator';
    FORMAT := 'PDF';
    TEMPLATE := 'Simple';
    OUT_FILE := 'C:\DevSuiteHome_1\j2ee\home\default-web-app\' || 'TEST';
    --PUBLICREPORTSERVICECLIENT.CALLRUNREPORT(OBJ,:REPORT_PATH,PARAM_NAME,:PARAM_VALUE,UN,PW,:FORMAT,:TEMPLATE,OUT_FILE);
    PublicReportServiceClient.callRunReport( REPORT_PATH,
    PARAM_NAME,
    PARAM_VALUE,
    UN,
    PW,
    FORMAT,
    TEMPLATE,
    OUT_FILE);
    WEB.SHOW_DOCUMENT('HTTP://127.0.0.1:8889/j2ee/' || 'TEST');
    END;
    ==========================
    JAVA CODE FOR callRunReport FUNCTION:
    ==========================
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, String
    username, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =
    new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale("en-US");
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);
    else
    repRequest.setParameterNameValues(null);
    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport(repRequest,username,password);
    byte[] baReport = repResponse.getReportBytes();
    FileOutputStream fio = new FileOutputStream(outFile);
    fio.write(baReport);
    fio.close();
    } catch (Exception ex) {
    ex.printStackTrace();

  • Books of business - supported via web services

    Are books of business supported in R15 via web services interface? If we create a new Contact, Account or Opportunity, can we associate it to a specific book? I can't find any documentation on this subject.
    If not, what's the point of using this functionality? We have over 13,000 different zip code ranges in our territory structure in Oracle 11i CRM, and would like to be able to maintain some sort of parallel structure in OnDemand via web services integration.
    Are we stuck with creating Sales Team records for all object types? Seems very cumbersome to have to add a specific user to 100,000 different records, when we could simply assign them to a single book of business and accomplish the same thing.
    Thanks,
    Scott

    Scott, web services will not be supported for book of business in R15. However, I passing this information to our On Demand product marketing. Thanks for the feedback.

  • Sending Data to BAM via web service

    Is it possible to send data to BAM data objects via web service / http soap ? I know we can call extenal web service from BAM, but I was thinking of doing a real time from source application to BAM via http-soap web service.

    Hi,
    I hope it es not too late for an answer ...
    Yes you can do that .... have a look to this example
    procedure UpSert_DO (do_name VARCHAR2, do_key VARCHAR2, xmlload VARCHAR2) is
    begin
    --'&lt;_NAME>HZ.01.10&lt;/_NAME>&lt;/_WS>
    http_post(
    'http://localhost/OracleBAM/Services/DataObject/DataObjectOperations.asmx',
    '<?xml version = ''1.0'' encoding = ''UTF-8''?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://xmlns.oracle.com/integration/bam">
    <env:Body><ns0:Upsert><ns0:dataObject>' || do_name || '</ns0:dataObject><ns0:keyCSV>do_key</ns0:keyCSV><ns0:xmlPayload>' || do_key ||
    xmlload ||
    '</ns0:xmlPayload></ns0:Upsert></env:Body></env:Envelope>',
    'text/xml; charset=UTF-8',
    null,
    null,
    'USER_NAME',
    'PASS_WORD',
    '"http://xmlns.oracle.com/integration/bam/Upsert"'
    end;

  • How could I synchronize databases via web services

    I have two web sites. The first has been build in jsp. The second has been build in php. Each of these sites has database mysql.
    I have managed to communicate these two web sites via web services.
    I would like someone to tell me how could I syncronize these two databases via web services. There is something specific procedure?
    Thanks in advance, sorry for my bad English

    If you can explain us what you actually looking for, then I can extend my help.As we are also using websites in jsp which is having DB connections.
    Cheers
    Rajesh R

  • Inserting Opportunities via web services

    We have 2 sales processes defined for our business, when using the insert method on opportunities we are only able to successfully insert opportunities who use sales stages from the default sales process. Any time we try to insert an opportunity using a sales stage from the other process we get a bounded picklist violation
    Has anyone been able to successfully insert web services via web services ?
    Did you encounter anything similar to this ?

    Unlike the UI, you need to explicitly identify the Sales Process in your Opportunity call.

  • User Management via Web Services

    Hi,
    We are investigating building a user management application that will control user creation and management across a range of applications, including SAP ECC6 and BW.  The idea is to use web services to interact with the systems.  I have seen that a range of BAPIs exist for managing users (e.g. BAPI_USER_CREATE, BAPI_USER_CHANGE) - does anyone have any experience in using these BAPIs via web services that they would be willing to share?
    Thanks

    HI Colin,
    We did that successfully. It was webservice/infopath based Interactive . net form which would do user management and also Workflow funtionality. In summary from my experience
    - Initial cost would be cheaper, however ongoing maintainance on whole infrastructure should be considered.
    - SAP BAPI/FM/webservice development was very easy
    - Integration with Infopath was challange
    - Fronted development was pain as you would need other people to do that for you
    - Once operational, was very easy to managed
    - Future enhancement was limitless
    - Limitation of integration to other technology
    - Should only be justifiable in absence of IDM solution
    - Too much custom development
    - Change management in SAP was easy (Transport, testing, QA etc) however Infopath and Frontend change Management was not easy
    Let me know what other information you need. Finding BAPI's and designing in SAP is the easy part, you should think more about how you are going to deploy Webservice to end users.
    However if your IT department has more bucks to spend, think about more longer term solution and towards IDM or product such as GRC etc.

Maybe you are looking for