Publish a Rest JSON Service through SAP PO

Hello:
We've some Rest Full JSON services, which will be published to be consumed for an external system.
We're discussing about the convenience of passing it throught SAP PO or consuming it directy.
If we pass it throught SAP PO, it implies an HTTP > XML > HTTP conversion, and it's possible that the performance may be affected.
What do you think about this scenario?.
Thanks in advance for your suggestions.

What is your PI version?
You can directly host the restful services form PI itself -
PI REST Adapter – Exposing a function module as RESTful service
If the restful services are already available but you would like to use PI as a middleman instead of directly communicating with third party then that makes sense too.
You can make use of PI monitoring functionality to monitor the traffic along with Transformation capabilities if required.
>>> it's possible that the performance may be affected.
I don't think so but what is the avg message size that you are looking at?

Similar Messages

  • Can we publish Flows as Web Services in SAP BODS ? How ?

    Hello Friends,
    Can we publish Flows as Web Services in SAP BODS ? How ?
    Best Regards,
    Bheem.

    Hello
    Batch jobs and real-time services can be published via the Data Services web service.  See the Integrator Guide for full details - http://help.sap.com/businessobject/product_guides/sbods42/en/ds_42_integrate_en.pdf
    Michael

  • Publish internet service through SAP ITS Standalone

    Hi all,
    I have installed SAP ITS 6.20 standalone (Patchlevel 38) in conjunction with SAP R/3 Enterprise (SAPKB62063).
    We have developed our own custom-build RF transaction and want to access this transaction from a mobile scanner through the ITS.
    We have used ITSmobile to publish the RF screens as a Internet Service from SAP R/3 to SAP ITS. The html templates and service file for ZMOB00 have been published successfully to the local ITS.
    Now I am trying to call the internet service using the following URL: http://<server>:<port>/scripts/wgate/<ZMOB00>/!
    Using this URL I am reaching the logon screen for the internet service. However, after logging in the RF transaction is not started and a empty screen is displayed.
    Did I miss something in the configuration? Is the URL correct? How can I make sure my RF transaction is called successfully through standalone ITS?
    Thanks in advance for your replies.
    Regards,
    Kenny

    Hi Kenny,
    What are the parameters that you have set in the "ZMOB00.srvc" service file?
    What generation style did you use to generate teh templates in SE80 - before publishing them to the ITS 6.20 agate/wgate server/s?
    URL is correct
    Regards,
    Oisin

  • Issue in Consuming Rest/JSON Service from Netweaver gateway system

    Hello Experts,
    We are trying to consume the Rest/JSON web service from NetWeaver Gateway System.
    But we are getting HTTP Communication failure error.
    URL: 'http://sgpvmc0031.apac.bosch.com/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'
    The Host system of Serve is a Non-SAP System.
    In web browser, it ask for user id and password, by passing them, it provide the response.
    Please find my code details.
    DATA: lo_http_client TYPE REF TO if_http_client,
             lv_service TYPE string,
             lv_result TYPE string,
             lo_ixml TYPE REF TO if_ixml,
             lo_streamfactory TYPE REF TO if_ixml_stream_factory,
             lo_istream TYPE REF TO if_ixml_istream,
             lo_document TYPE REF TO if_ixml_document,
             lo_parser TYPE REF TO if_ixml_parser,
             lo_weather_element TYPE REF TO if_ixml_element,
             lo_weather_nodes TYPE REF TO if_ixml_node_list,
             lo_curr_node TYPE REF TO if_ixml_node,
             lv_value TYPE string,
             lv_node_length TYPE i,
             lv_node_index TYPE i,
    *        ls_weather TYPE zweather,
             lv_node_name TYPE string,
             lv_bin            type xstring,
             lv_node_value TYPE string,
             lo_conv           type ref to cl_abap_conv_in_ce,
             lv_response       type string,
             l_client type string.
    DATA: result_tab TYPE TABLE OF string,
              w_result TYPE string .
       lv_service = 'http://sgpvmc0031.apac.bosch.com/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'.
    *  lv_service = 'https://rb-wam-q.bosch.com/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'.
    *BREAK-POINT.
    CALL METHOD CL_HTTP_CLIENT=>CREATE
       EXPORTING
         HOST               = 'sgpvmc0031.apac.bosch.com'
         SERVICE            = '80'
    *    PROXY_HOST         =
    *    PROXY_SERVICE      =
    *     SCHEME             = SCHEMETYPE_HTTP
    *    SSL_ID             =
    *    SAP_USERNAME       =
    *    SAP_CLIENT         =
       IMPORTING
         CLIENT             = lo_http_client
       EXCEPTIONS
         ARGUMENT_NOT_FOUND = 1
         PLUGIN_NOT_ACTIVE  = 2
         INTERNAL_ERROR     = 3
         others             = 4
    IF SY-SUBRC <> 0.
    * Implement suitable error handling here
    ENDIF.
        lo_http_client->request->set_method( if_http_request=>co_request_method_get ).
        lo_http_client->authenticate( username = 'portal' password = 'portal' ).
        cl_http_utility=>set_request_uri(
            request = lo_http_client->request
            uri = '/ActivityManager2/rest/v1/query/employees/amh1sgp/workItems/pending'
        call method lo_http_client->request->set_header_field
           EXPORTING
             name = 'content-type'
             value = 'text/plain'.
        call method lo_http_client->send( ).
        call method lo_http_client->receive( ).
    Kindly help us to understand where to check.
    Regards,
    Nitin

    Hi,
    Try to test the url in the standard report RSHTTP20.
    Regards,
    Felipe

  • Consuming RESTful web service in Apex app

    Hi,
    I have created a RESTful Web service through an Apex application (4.0) and published as a public web service. Can someone point me to an example of how to then consume that service in another Apex app? The output is straightforward XML that I can retrieve just by pointing the browser to the URL of the service created, but when I go to create the REST Web Reference for the receiving application, I am not sure what to put for the Response Xpath or Response Namespace. The service is meant to just return report records that were created in the REStful Web service with no input required.
    The service XML looks like this:
    <ROWSET>
    <ROW>
    <PROJ_ID>132</PROJ_ID>
    <PSL_NETID>xxxxxxxx</PSL_NETID>
    <PROJECT_TITLE>11g- Oracle Upgrade to RAC 11g</PROJECT_TITLE>
    <CUSTOMER>OIT</CUSTOMER>
    <DIVISION>EIS</DIVISION>
    </ROW>
    <ROW>
    <PROJ_ID>132</PROJ_ID>
    <PSL_NETID>xxxxxx</PSL_NETID>
    <PROJECT_TITLE>11g- Oracle Upgrade to RAC 11g</PROJECT_TITLE>
    <CUSTOMER>OIT</CUSTOMER>
    <DIVISION>CSS</DIVISION>
    Any help would be appreciated.
    Thanks,
    Pat
    Edited by: patfmnd on Dec 7, 2012 3:04 AM

    Hi,
    I have made progress in this. I created the RESTful report service in an Apex 4.1 application. (previous attempt was with 4.0 version of Apex)
    I then created a separate application and created a RESTful web service reference that I tested and it was successful in bringing up XML. However in Apex 4.1, when I create a report following the Wizard for creating a report based on that Web service reference I get the error: ORA-31013: Invalid XPATH expression Which I don't know how to get past. The Xpath provided in the Web service reference test gave output below and brought back a result. There was no where during the Report creation to provide an Xpath. Am I missing something or is 4.1 not quite Web service ready??
    This is what I get from the test of the Web service reference in the Apex App from which I want to create a report: (I see in this XML the data I was expecting from the test of the RESTful web service but it looks like the output I get from the Web service test is more like the Report xml itself.)
    <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com"> <head> <title>Author</title>
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_4_1.css" type="text/css" /><![endif]--> <script type="text/javascript">
    //<![CDATA[
    var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;
    //]]>
    </script>
    <script src="/i/javascript/apex_4_1.min.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    //<![CDATA[
    apex.security.framebreaker("D");
    //]]>
    </script>
    <!--[if IE]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie.css" type="text/css" /><![endif]--><!--[if IE 6]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie6.css" type="text/css" /><![endif]--><!--[if IE 7]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie7.css" type="text/css" /><![endif]--><!--[if lte IE 6]><div id="outdated-browser">You are using an outdated web browser. For a list of supported browsers, please reference the Oracle Application Express Installation Guide.</div><![endif]-->
    <form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm"><input type="hidden" name="p_flow_id" value="140" id="pFlowId" /><input type="hidden" name="p_flow_step_id" value="1" id="pFlowStepId" /><input type="hidden" name="p_instance" value="6146802068150520" id="pInstance" /><input type="hidden" name="p_page_submission_id" value="1940235134399423" id="pPageSubmissionId" /><input type="hidden" name="p_request" value="" id="pRequest" />
    <div id="header">
    <div id="app-logo"><a href="f?p=140:1:0"></a></div>
    <div id="navbar">
    <div class="navbar-entry">Logout</div>
    </div>
    </div>
    <div id="tabs">
    <div class="frame">
    <div class="bg">
    <div class="tab-holder">
    <div class="first-current">
    <div><span>Author</span></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div id="topbar">
    <div class="breadcrumb-region" id="R170908223330421512">
    <div>
    <div id="breadcrumbs">
    <ul class="breadcrumb-list">
    <li class="current">Author</li>
    </ul>
    </div>
    </div>
    </div>
    </div>
    <div id="messages"></div>
    <div id="body">
    <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td class="tbl-main" width="100%">
    <div class="rounded-corner-region" id="books">
    <div class="rc-blue-top">
    <div class="rc-blue-top-r">
    <div class="rc-title">AUTHOR</div>
    <div class="rc-buttons"><button value="Reset" class="button-gray" type="button" id="B170907622885421490"><span>Reset</span></button></div>
    </div>
    </div>
    <div class="rc-body">
    <div class="rc-body-r">
    <div class="rc-content-main">
    <table id="apex_layout_170907030238421484" border="0" class="formlayout" summary="" role="presentation" datatable="0">
    <tr>
    <td align="right"><label for="P1_REPORT_SEARCH" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('170907422375421487','6146802068150520')" tabindex="999">Search</a></label></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="170907422375421487" /><input type="text" id="P1_REPORT_SEARCH" name="p_t01" value="" size="30" maxlength="2000" class="text_field" /></td>
    <td align="right"><label for="P1_ROWS" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('170907508375421490','6146802068150520')" tabindex="999">Display</a></label></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="170907508375421490" /><select name="p_t02" id="P1_ROWS" size="1" class="selectlist">
    <option value="10">10</option>
    <option value="15" selected="selected">15</option>
    <option value="20">20</option>
    <option value="30">30</option>
    <option value="50">50</option>
    <option value="100">100</option>
    <option value="200">200</option>
    <option value="500">500</option>
    <option value="1000">1000</option>
    <option value="5000">5000</option>
    </select></td>
    <td align="left"></td>
    <td colspan="1" rowspan="1" align="left"><button value="Go" class="button-gray" type="button" id="P1_GO"><span>Go</span></button></td>
    </tr>
    </table>
    <div id="report_170907030238421484_catch">
    <table cellpadding="0" border="0" cellspacing="0" summary="" id="report_books">
    <tr>
    <td></td>
    </tr>
    <tr>
    <td>
    <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">
    <tr>
    <th id="AUTHORID" class="header">
    <div class="rpt-sort">Authorid<img align="absmiddle" src="/i/arrow_up_gray_dark.gif" width="13" height="12" alt="Sort by this column" /></div>
    </th>
    <th id="LNAME" class="header">
    <div class="rpt-sort">Lname</div>
    </th>
    <th id="FNAME" class="header">
    <div class="rpt-sort">Fname</div>
    </th>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">A100</td>
    <td headers="LNAME" class="data">AUSTIN</td>
    <td headers="FNAME" class="data">JAMES</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">A105</td>
    <td headers="LNAME" class="data">ADAMS</td>
    <td headers="FNAME" class="data">JUAN</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">B100</td>
    <td headers="LNAME" class="data">BAKER</td>
    <td headers="FNAME" class="data">JACK</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">F100</td>
    <td headers="LNAME" class="data">FIELDS</td>
    <td headers="FNAME" class="data">OSCAR</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">J100</td>
    <td headers="LNAME" class="data">JONES</td>
    <td headers="FNAME" class="data">JANICE</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">K100</td>
    <td headers="LNAME" class="data">KZOCHSKY</td>
    <td headers="FNAME" class="data">TAMARA</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">M100</td>
    <td headers="LNAME" class="data">MARTINEZ</td>
    <td headers="FNAME" class="data">SHEILA</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">P100</td>
    <td headers="LNAME" class="data">PORTER</td>
    <td headers="FNAME" cla
    Edited by: patfmnd on Dec 12, 2012 5:59 PM
    Edited by: patfmnd on Dec 12, 2012 6:07 PM

  • [Integrated SOA Gateway] Publish Java based web service

    Welcome!
    Lately I have been trying to publish Java based web service through Integrated SOA Gateway. The documentation states that:
    +"Custom interface definitions can be created for various interface types including custom interface definitions for XML Gateway Map, Business Event, PL/SQL, Concurrent Program, Business Service Object, Java (except for Java APIs for Forms subtype) and Composite Service for BPEL type."+ (Integrated SOA Gateway Developer's Guide Release 12.1, "Creating and Using Custom Integration Interfaces")
    After familiarizing myself with $FND_TOP/bin/irep_parser.pl and $FND_TOP/bin/FNDLOAD tools, I have started coding my POJOs. Initially I have come up with three classes - request/response objects and service implementation. Service implementation has been annotated with "@rep:X" descriptors according to "Java Annotations" section of the documentation. While invoking $FND_TOP/bin/irep_parser.pl I have received errors about class resolution. My solution was to transform request and response types to static inner classes. This way I ended up with one *.java source file (see below).
    * Sample ISG Service.
    * @rep:scope public
    * @rep:product AP
    * @rep:displayname My Custom ISG Service.
    public class MyService {
    public static class Request {
    private String id;
    public void setId(String id) {
    this.id = id;
    public String getId() {
    return id;
    public static class Response {
    private String data;
    public void setData(String data) {
    this.data = data;
    public String getData() {
    return data;
    * Sample operation.
    * @param request Request Object.
    * @return Return Object.
    * @rep:displayname Test operation.
    * @rep:category BUSINESS_ENTITY SAMPLE_SERVICE
    public MyService.Response testOperation(MyService.Request request) {
    MyService.Response response = new MyService.Response();
    response.setData("Some Data");
    return response;
    ILDT file has been successfully created and uploaded. However, I could not see the "Generate WSDL" button on Integrated Repository website. Is there any particular interface or superclass that my service implementation should extend? I have reviewed "PurchaseOrderSDO" example posted in the developer's guide (page 407), but I couldn't come up with a working solution. Could you provide me with more detailed tutorial/example? Which documentation sections should I read again?
    After searching through forum, I have spotted $FND_TOP/bin/soagenerate.sh script, and thought that lack of "Generate WSDL" button was an EBS defect. After running the script, I have received an error:
    Error in Service Generation.
    ServiceGenerationError: Interface Type (JAVA) Interface SubType (null) is not supported.
    oracle.apps.fnd.soa.util.SOAException: ServiceGenerationError: Interface Type (JAVA) Interface SubType (null) is not supported.
         at oracle.apps.fnd.soa.provider.wsdl.ArtifactsFactory.getArtifactsGenerator(ArtifactsFactory.java:55)
         at oracle.apps.fnd.soa.provider.wsdl.WSDLGenerator.generateServiceWSDL(WSDLGenerator.java:128)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.generateSOAService(ServiceGenerator.java:75)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.generateSingleService(ServiceGenerator.java:88)
         at oracle.apps.fnd.soa.provider.wsdl.ServiceGenerator.main(ServiceGenerator.java:419)
    I would be grateful for any suggestions. Has anyone published Java based web service through ISG?
    Best regards,
    Lukasz

    I tried the following as per Oracle support and able to generate the wsdl though, but not invoke the webservices.
    1. Applied the patch 8607523
    2. Took the translator.jar file from the patch 8857799 and replaced the current translator.jar file
    3. Deploy the adapters.
    $FND_TOP/bin/txkrun.pl -script=CfgOC4JApp -applicationname=pcapps
    -oc4jpass=welcome -runautoconfig=No

  • OWSM Custom Assertion for OSB RESTful Proxy Service

    Hello,
    I have implemented a Custom OWSM Assertion to authenticate requests with a custom token placed in a HTTP header. I can assign this assertion to a SOAP proxy service as a security policy. However I am not able to assign the very same policy to a Restful JSON service (Proxy service defined as messaging service with text message type). I am getting this error:
    [OSB Kernel:398128]One of the Web service policy attached is not allowed on service default/RESTful because the service binding does not support it
    My policy:
    <wsp:Policy xmlns="http://schemas.xmlsoap.org/ws/2004/09/policy"
        xmlns:custom="http://custom"
        orawsp:status="enabled"
        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" orawsp:category="security"
        orawsp:attachTo="binding.server" wsu:Id="http_customtoken_authentication_policy"
        xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
        wsp:Name="custom/http_customtoken_authentication_policy">
        <custom:customTokenHttpAuthentication
            orawsp:Silent="true" orawsp:Enforced="true"
            orawsp:name="Http custom token Authentication" orawsp:category="security/authentication" >
            <orawsp:bindings>
                <orawsp:Config orawsp:name="authenticationassertion"
                    orawsp:configType="declarative">
                    <orawsp:PropertySet orawsp:name="headerName">
                        <orawsp:Property orawsp:name="headerName"
                            orawsp:type="string" orawsp:contentType="constant">
                            <orawsp:Value>CustomToke</orawsp:Value>
                        </orawsp:Property>
                    </orawsp:PropertySet>
                </orawsp:Config>
            </orawsp:bindings>
        </custom:customTokenHttpAuthentication>
    </wsp:Policy>
    My OSB version is OSB 11g PS6 and in this version, OWSM policies are supported for Restful services. Interesting is, that the built-in policy oracle/http_basic_auth_over_ssl_service_policy can be assigned to my Restful service. Do you know a solution for the problem, how can I assign my custom assertion to the Restful service? Anything special is needed in the policy definition?
    Thanks.
    Marian

    Hi Vinoth,
    The users/groups are picked up from the LDAP configured in Security Realms->myRealm->Providers
    You basically have 2 options:
    - You can configure your LDAP in Providers
    - Use the DefaultAuthenticator that weblogic provides you by default.
    If you do not want to configure an LDAP, and want to use weblogic's default, then all you have to do is add users and groups in Security Realms->myRealm->Users and Groups
    Do mark this as useful or answered, if this has helped.

  • Accessing Restful Web Services in APEX?

    Hi I am new to this forum so I hope you will bear with me. I have been looking at how to create RESTful web services through the SQL Workshop Resful Services wizard but every single article I look at refers to a test button which I cannot see anywhere (I am using APEX 4.2) so how do I test the service?
    Also, how can I get the URL of the service so I can call it from another application?
    Thanks in advance
    Malcolm

    Oracle® Application Express
    SQL Workshop Guide
    Release 4.2
    RESTful Service Requirements
    In order for the RESTful Service utility to be available and function properly, the
    following requirements must be met:
    ■ The instance administrator must enable RESTful Services for this Application
       Express instance. See Oracle Application Express Administration Guide.
    ■ The Oracle Application Express Listener version 2.0 or higher must be used. The
      Oracle XML DB HTTP Server with the embedded PL/SQL gateway and Oracle
      HTTP Server with mod_plsql do not support this functionality. See Oracle
      Application Express Listener Installation and Developer Guide.
    Regards
    Zack

  • Want to access RESTful Services through Java Program

    We are trying to access RESTful Services exposed by Oracle database cloud through our Java code, with authentication enabled for a particular user.
    Till now, we have completed below steps:
    1) We have a working account with Oracle database cloud (Username – xxx.xxx)
    2) We log in using the credentials for above account, and navigate to Oracle Apex ? SQL Workshop ? RESTful Services
    3) We create a new “RESTful Service Module” by filling out the details as below:
         Name:                                  SampleTest 
         URI Prefix:                            test
         URI Template:                       /getallemp
         Pagination Size:                    25 (kept to default)
         Required Privilege:                 TestGroupPrivilege
         Resource Handler Details:
                    Method:              GET
                    Source Type:      Query
                    Format:               JSON
                    Source:               select * from emp
    After creating the above module and testing it, it works fine and the data is retrieved in JSON successfully.
    The resulting URL for above RESTful Service Module is: https://<HOST_URL>/apex/test/getallemp
    Note that “TestGroupPrivilege” is a privilege assigned to the user group “RESTful Services” and the user “xxx.xxx” is a member of “RESTful Services” user group.
    4) We are unable to call the RESTful services from Java program. We are passing username and password in request header as basic authentication. But, we are getting: Error 500--Internal Server Error
    5) If we change the “Required Privilege” to default i.e. no privileges present on the module, we can get the response through Java code and everything works perfectly fine.
    Please suggest us in: How to access RESTful Services through Java code by passing user credentials in HTTP header for authentication. Also let us know if we have to do any settings through Apex, in case we are missing any.
    Message was edited by: NeerajGirolkar
    - When we are logging in to Oracle cloud on browser and execute the Oracle cloud RESTful service in another tab of same browser, we are able to get the result. But when executed the same RESTful service from a different browser or java program we get internal server error.
    - After investigation, we found that when user logs in to oracle database cloud, a cookie is set in browser with name s “OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443” and value as some random token. This cookie is passed in the subsequent requests to the RESTful Service calls when using same browser and as a result, we are able to get the results
    - In the Java program, we copied the same cookie with random token in the HTTP Request header and we got the proper response from REST APIs.
    - It seems that this cookie is created by an Oracle Middleware tool/server called as OAM – Oracle Accounts Manager, which sends the authentication token after successful authentication and creates the cookie.
    - We found that the cookie that OAM creates on authentication is exactly in the same format i.e. ‘OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443’. So, we are guessing that Oracle cloud uses OAM for authentication. Please refer to following link for same : http://docs.oracle.com/cd/E14571_01/doc.1111/e15478/sso.htm
    Can anyone please suggest:
    1.     How to provide authentication to Oracle Cloud REST APIs from java program?
    2.     How to pass the username and password in Java code to OAM (or how to communicate with OAM using Java) so that we can receive the unique token from OAM. We can use the token in the further requests? 3.     Also in Oracle cloud white papers , it is mentioned that they support OAuth2.0. But we didn’t find any URLs for same. Can anyone please confirm?
    Thanks
    ~ Neeraj Girolkar

    Hi Nilesh,
    We tried to connect to Oracle Cloud Database using the way you suggested above, but unfortunately it is not working as well.
    Can you let us know the authentication process with Oracle Cloud Database? We found in documentation that it uses OAM (Oracle Access Manager) for authentication. Can you tell us a bit about that? That will be extremely helpful.
    Thanks,
    - Neeraj

  • BPEL service(SOAP) expose as RESTFul Service through OSB

    I am trying to invoke simple HelloWorld BPEL process exposed as SOAP Web Service through OSB as RESTFul service but always getting XML parsing exception in response action.
    Could any body give me steps how to implement it?
    Thanks
    Edited by: user10475179 on Dec 4, 2011 9:44 PM

    Thanks for your reply. I was able to manage to get xml, is there a simple way with simple steps to use JSON? If you have any steps/screenshots I would appreciate.
    Thanks
    Edited by: user10475179 on Dec 6, 2011 2:24 PM

  • Consume JSON rest web services

    Hi experts,
         I have a requirement to Consume rest web services from a URL, which is in JSON format. Help me out to make it.
    Thanks
    ~Faseeh

    Hi Faseeh,
    As Anthony has mentioned earlier, you need to specify the accept header as application/json. The Business Intelligence platform RESTful web service SDK also supports providing responses in JSON format. Please refer to the document links which Ludek has pointed out. There are 2 formats which are supported - XML (BIP SDK follows ATOM specification) and JSON.
    For eg. for a particular request, below are the responses in 2 formats:
    XML format:
    <entry xmlns="http://www.w3.org/2005/Atom">
    <title type="text">5432</title>
    <id>tag:sap.com,2010:bip-rs/AfRWaT5_131NlLLf5bRMLKY/relationships/receivedAlerts/5432</id>
    <author>
    <name>Administrator</name>
    <uri>http://commandcom-lcm:6405/biprws/infostore/12</uri>
    </author>
    <link href="http://commandcom-lcm:6405/biprws/infostore/5432" rel="related"></link>
    <content type="application/xml">
    <attrs xmlns="http://www.sap.com/rws/bip">
    <attr name="id" type="int32">5432</attr>
    <attr name="markedAsRead" type="bool">false</attr>
    </attrs>
    </content>
    </entry>
    JSON format:
    "related":
    "__deferred":
    {"uri":"http://commandcom-lcm:6405/biprws/infostore/5432"}
    "id":5432,
    "markedAsRead":false
    Hope this clarifies.
    Regards
    Sumitesh

  • How we can use existed REST data services with JSON to create MBO??

    Web site having REST web services with JSON format data interchange. By using these service call how we can create MBO ( MOBILE BUSINESS OBJECT ) in SAP Mobile Platform. Any Limitations are there for hybrid application development in SMP?? 

    You would need to parse the XML feed into your site with PHP or JavaScript. 
    http://www.w3schools.com/php/php_xml_simplexml.asp
    Nancy O.

  • How to publish a SAP Web Service in SAP XI/PI 7.0

    Hi,
    First I've to say that I'n new in this deals with SAP Web Services and SAP XI/PI.
    I've created a Web Service with TX SE80 using a standard BAPI.
    I've created the Client Proxy with TX SE80.
    I've created a Logical Port wiht TX LPCONFIG.
    I've tried this is SOAMANAGER but I have this error...
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    I would like to publish this service in my SAP XI/PI 7.0
    How can I solve the error in SOAMANAGER?
    How can I publish de SAP WS that I've created in SAP XI/PI?
    Thanks a lot.
    Waiting for your news.
    Fernando.

    Hi Dimitri,
    I had the same problem:
    "SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL"
    And by following Nags hints I got solution:
    1, On the system where is your service provider, run transaction SICF
    2, Execute this transaction
    3, Go to node: default_host/sap/bc/srt/wsil
    4, Right click on "wsil" -> choose "Test service" - web browser should open with XML definition of service
    5, Find your service provider. In my case it looks like this:
    <service>
    <name>ZTEST_WS</name>
    u2212
    <wsdlNamespace>
    urn:sap-com:document:sap:soap:functions:mc-style/service
    </wsdlNamespace>
    <wsdlName>service</wsdlName>
    u2212
    <wsdl>
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    </wsdl>
    </service>
    5, Look for WSDL link -> in my case:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/srvc_DF838C999AA282F18829001CC4D74176/wsdl11/service/ws_policy/document?sap-client=800
    I dont know why, but this link is different like WSDL link in service definition which I can see in SE80:
    http://xxx.yyy.com:8000/sap/bc/srt/wsdl/sdef_ZTEST_WS/wsdl11/ws_policy/document?sap-client=800
    6, Use this link (from "wsil") instead of link from SE80 in SOAMANAGER to create logical port
    7, Yours logicall port should be created without errors.
    My question - have anybody idea, why this links are different and why only that second one works?
    Peter

  • How to send the sap data to mobile service through custmozed object

    Dear ABAPer,
      I have developed the customized object. But , I want to send the data to radio frequency service( Example: Mobile No ) through sap customized object.
    if you have any idea , please send the document with example roughly.
    advance thanks.
    with best regards,
    velmurugan.S

    Hello,
    you can create a Report that accepts the search parameters from the Forms mask and generates a PDF. You also have the option to send the report via mail.
    Personally I would generate the report with a tool like as_pdf
    http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/
    Then you can send the mail using utl_mail or utl_smtp.
    www.google.com/search?q=site:forums.oracle.com+utl_mail+utl_smtp
    Regards
    Marcus

  • How to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.

    Hi,
    I am trying to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.
    For this, first i will get the Dataprovider information,
    Example:
    URI: http://localhost:6405/biprws/raylight/v1/documents/11111/dataproviders/DP0
    Expected result;
    <dataprovider>
         <id>DP0</id>
         <name>Query 1</name>
         <dataSourceId>1234</dataSourceId>
         <updated>2014-04-18T11:55:21.000-08:00</updated>
         <duration>1</duration>
         <isPartial>false</isPartial>
         <rowCount>113</rowCount>
         <flowCount>11</flowCount>
         <dictionary>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO1</id>
                    <name>EmpID</name>
                   <description>Employee ID.</description>
                    <dataSourceObjectId>DS0.DO1</dataSourceObjectId>
              </expression>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO2</id>
                   <name>EmpName</name>
                   <description>Employee Name.</description>
                   <dataSourceObjectId>DS0.DO2</dataSourceObjectId>
              </expression>
         </dictionary>
         <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee</query>
    </dataprovider>
    Then Changing the above dataprovider's Query to some thing like below,
    <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee where Upper(Employee.EmpName)='RAJ'</query>
    Please let me know the RESTful Call required to do this.
    Thanks in advance.
    Thanks,
    Mahendra.

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

Maybe you are looking for

  • Full width glitch on Chrome

    Hi, I am trying to make a portfolio website but I ame xperiencing many glitches across different browsers. I specifically am trying to have a full width page for my site but even though I make sure that my elements click on each end of the canvas, it

  • ITunes Producer doesn't complete upload?

    Hello, I completed the process of adding my book through iTunes Producer. I click the "Deliver" button and it appears to upload. I get a big green check mark but the "Next" button never becomes clickable. When I log in to iTunes Connect and click on

  • What are all the tables used? experts help me

    hi what r all the tables used for this report. <b>Delivery Performance Report - to compare the customer delivery schedules with the deliveries created in SAP to determine whether they are early, on-time, or late. This measurement is done by comparing

  • Comparing  Two Items in javascript

    I TRY BELOW CODE BUT IT IS NOT WORKING , PLEASE HELP ME TO COMPAR TWO VALUE OF ITEM WITH JAVASCRIPT WHAT CHANGE I HAVE TO DO , IN BELOW CODE. LOGIC IS IF P25_VAL1 = P25_VAL2 THEN MQTY = SQTY function mfgsal() function getVal(item){ if($x(item).value

  • Downgrading to Older Software

    could anyone instruct me how to change my ipod software back from 1.2 to an older version such as 1.1.2? i think 1.2 is the cause of some problems. i was able to download the older version from the apple website but could not install it neither thru