Is exposing ADF BC as RESTFul service supported by current JDev?

According to the presentation at http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf-service-integ/adf-service-integ.html, Frank mentioned that Jdev will support RESTFul services for ADF BC in future. Is it available now? If no then is there any tentative version number when it might be available?

Hi Frank
Is this why the "ADF Model RESTful WebService Project" option in the New Gallery is greyed out in the 12.1.2c version of JDev.
Eddie

Similar Messages

  • How to Expose SOA component as Rest Service

    Hi,
    Is there a example to show how to expose SOA component as Rest Service using Http Binding adapter ?
    or
    How to call Rest Service from BPEL/Composite application ?
    Thanks,
    Naveen
    Edited by: 975104 on Dec 21, 2012 1:57 AM

    Please refer Real Web Services with REST and ICF for creation of rest services in sap. The BAPI will have to be called in your handler class.
    I think your best bet would be to transfer the data in the body of the http request and use simple transformation(with multiple roots) to convert the xml data to sap formats. GZIP can also be used to compress the data that is being sent. We have done this successfully in one of our projects.
    However this approach(RESTful Service) would involve more work when compared to the approach suggested by Vikram. If SOAP based services are ok, then you should go ahead with Vikram's approach.

  • Expose REST service in PI

    Hi all,
    I kindly ask if it's possible to expose a REST web service with PI to be called from an external application.
    I've created many scenarios in wich I created a SOAP service (from service interface) in PI and I was able to call the service from an external application (e.g. SOAPUi).
    Is it possible to make the same thing exposing a REST service (the url should contain parameters).
    I've seen some discussions and blogs with examples of usage of "SOAP Axis" but it seems it's be possible only to invoke an external service.
    Is it possible also to create a REST web-service?
    If yes could you please provide examples or step-by-step procedure?
    Thanks in advance for any help.
    Stefano.

    Hi Stefano,
    please check the below link where REST adapter key features.
    >>>I kindly ask if it's possible to expose a REST web service with PI to be called from an external application.
    It can be used to expose internal applications as REST services or to consume external REST services by calling these services from SAP PI.
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/11/08/rest-adapter-for-netweaver-sap-pi
    Thanks and Regards,
    Naveen    

  • Expose ADF Business Components as Web Service

    Hi,
    In order to expose ADF BC as Web Services, and return a set a rows from a table, I have followed the tutorial on this page :
    http://www.oracle.com/technology/tech/webservices/htdocs/series/pattern/
    However, the set of rows returned are un-typed XML elements, because the method is :
    public Element getEmp(int empNo)
    getEmpView1().setWhereClause("empno = ?");
    getEmpView1().setWhereClauseParam(0, new Number(empNo));
    return (Element)getEmpView1().writeXML(1,Row.XML_OPT_ALL_ROWS);
    As a consequence, in the WSDL the response port is returning a complex type with an "<any />" element. Instead, I would like the response complex type to be an Employee type.
    How can I get the AppModule method to be something like :
    public Employee getEmp(int empNo)
    < what is here ? >
    Can I generate the Employee class automatically with ADF BC and serialize it to expose the method as a Web Service ?
    Thanks.

    up

  • Expose Orchestration as RESTful service in Biztalk Server 2013

    Hello all,
    I am having BizTalk application (orchestration)where I am receiving few info and sending it back some info to requestor.
    I want to expose this orchestration as RESTful service, to do that I know we can use BiztTalk WCF Publishing wizard and select "WCF Web Http" but what needs to add in other fields ? can some one tell me ?
    or point me to some example...
    Note : I tried this example but no use ......http://seroter.wordpress.com/2012/11/12/exploring-rest-capabilities-of-biztalk-server-2013-part-1-exposing-rest-endpoints/
    Thanks,
    Nilesh Thakur.
    Thanks and Regards, Nilesh Thakur.

    Hi Nilesh,
    I have do it by following way .Links are listed below
    http://code.msdn.microsoft.com/BizTalk-Server-2013-WCF-e3e4a4f9
    http://vikasbhardwaj15.blogspot.co.uk/2014/01/publish-rest-service-from-biztalk-server.html#!/2014/01/publish-rest-service-from-biztalk-server.html
    Thanks
    Abhishek

  • Intermittently getting 404 while accessing RESTFul Service

    Hi,
    I am using apex.oraclecorp.com and exposed simple not secure RESTFul Service. Some user of it in different geographic location are getting error 404.
    Any idea why? Also how can I enable debug or look at the logs etc?
    Thanks,
    -Abhi

    Hi Srinivas
      Try putting the port of your portal
       http://<ip>:<port>/irj/portal
    good luck
    Joshua
    Message was edited by: Josue Cruz

  • External REST Service Authentication

    Hello everyone.
    Often creating complex business application using SharePoint Online, I need to externalize business logic to external service in order to use .net code and third-party assemblies.
    In my case I'm developing a Rest Service hosted by an Azure Web Site.
    My question is:
    Can I obtain an access Token from SharePoint, containing the current user information, pass it to external Rest Service and then reuse it to return to SharePoint using the current user credentials?
    Can you give be documentation about it?
    Thanks,
    Sergio
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

    Can you give me more details on this.
    Currently i am assuming it like this
    You have a SharePoint online where you are running workflow from where you call an external rest service request.
    from this rest service you want to query sharePoint online using Current user context.
    if that is the case the above method can be also and cannot be ni will explain how
    when you care an app than you can get data from sharePoint using 2 authentication context 1 is User 2nd is App Only.
    but to create a user context / access token user must be present as it uses browser redirection to generate a token and pop up a dialog to user to provide credentials. 
    but to  get the app only context you can do it without any pop or user interaction where you call the sharepoint using app client ID and Secret.
    now it depends on your requirement what you want to do if your external rest service just require current user information from sharepoint than you can modify your Opeartion contract so that you can pass current user name in Rest method body param. and use
    the app only access token to get data filtered by current user Name.
    So there are possibility if you can explain in detail what exactly you want to do than we can figure out a solution for you.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • ADF Mobile: JSON support for REST services?

    Will the JSON format be supported for REST services using ADF Mobile? Is there a workaround for now that can be used?

    For now you can write a Java class to communicate with your JSON service, and expose it as a data control.

  • Do SMP3.0 supports JSON based RESTful services exposed via JBOSS server??

    Hi All,
    We are working on a PoC for a customer to consume JSON based RESTful (exposed via JBOSS Server) service from SMP 3.0. We were not able to get the DataSet. the below are the steps which we performed and the respective result.
    1) Created a SMP Application - Able to ping the application with the base URL
    2) Tested the connections - Able to create a Registration using Firefox POSTMAN client
    3) Data Consumption from the service - We are not able to get the response for the service when we try the same via SMP,but we are able to get the data when we try the REST service URL directly from the browser.
    How do we achieve this? Do SMP3.0 support JSON based RESTful service? Can Integration Gateway Help?
    Thanks, Prem

    hi Jitendra,
    attached are the screen shots of both SMP service from postman we tried and the original service from the browser.
    1- postman ping for SMP URL and header says success.
    2- Response body with entity set structure and empty data there is no data inside the collection named "Connection" as well and if i call this i fails with 501, that not implemented, so i guess SMP3 is unable to create the entity set out the JSON REST services while converting it into Odata service internally.
    3- i can view data if run directly the REST service from browser.

  • RESTful Service: Expose BLOB file inside DB as RESTful service ??

    Hello,
    With Oracle Cloud we can expose the Data as RESTful Web Service, but how about exposing BLOB... we need to generate a link for that file which is stored in the DB.
    To make it clearer:
    Two Tables:
    Properties (Property_ID number PK, Project varchar2(40), Property_number varchar2(20) ...)
    Images  (ID number PK, Property_ID number FK, content blob,
    mimetype varchar2(200), filename varchar2 (200), filesize varchar2 (200))And I would like to expose this query as RESTful :
    Select p.property_id, p.project, p.property_number, i.content
    from properties p inner join images i on (p.property_id = i.property_id)Usually we use: [url http://docs.oracle.com/cd/E14373_01/apirefs.32/e13369/apex_util.htm#CHDICGDA] apex_util.get_blob_file_src  , but that one should be called from a valid apex session !!!!! ( in that query "i.content" should give a link.)
    How can we do it ???
    Another point, since we expose the data as JSON:
    Suppose I have a property with 10 images, then it does not make sense to get 10 rows fro the same property just to give different image. I think we need another level (nested level) for images !!!
    I hope that my point is clear,
    Thanks in advance ....
    Fateh

    Hi Fateh -
    Good question. You would identify the source type as a Media Resource, and use an SQL statement with the primary key and the BLOB column. When you use Media Resource, you are essentially telling your Database Cloud Service not to marshall the data, just to send it - which is exactly what you are looking for.
    With this implementation, you would have to have a separate SQL call for each BLOB retrieval. However, you might be able to use a PL/SQL block as the end point for the RESTful Service and take care of multiple BLOB processing in the block.
    Hope this helps.
    - Rick Greenwald

  • 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

  • SMP3.0 Kapsel support for SOAP and REST services(not ODATA) and Symbian platfrom

    Dear Experts,
    Can we develop apps using Kapsel on SOAP and REST services?
    As phonegap supports Symbian platform, will Kapsel apps work on Symbian???
    Regards
    Srini
    7730801444

    I think you should reconsidering the Phonegap supports Symbian part.
    As Phonegap is based upon Cordova, PG basically supports what Cordova supports. Cordova dropped Symbian a while ago. The latest release does not support Symbian: Apache Cordova
    The Platform section does not mention Symbian, but does some "exotic" ones like WebOS, Tizen, FirefoxOS.
    Same for PG: PhoneGap API Documentation -> no Symbian
    Sure, PG 2.x listed Symbian, but 2.x is based on another architecture than PG 3 and Cordova 3. As Kapsel is a set of SAP plugins for Cordova 3, Kapsel needs Cordova 3.
    As long as Symbian is not in the list of platform Cordova runs on, there won't be Kapsel for Symbian.

  • Getting "Origin is not allowed" When Trying to Invoke RESTful Service from Another Domain

    I am having problems trying to invoke my RESTful web service from a different domain. I'm well aware of the normal restrictions of cross-site / cross-domain scripting but in Oracle documentation it says that all origins are allowed by default when creating a RESTful service without using authentication.
    I have created a very simple service and am trying to invoke it using jQuery.Ajax calls from a different domain and I am getting XMLHttpRequest cannot load http://address_to_my_web_service. Origin http://calling_from_address is not allowed by Access-Control-Allow-Origin.
    I understand that using JSONP instead of JSON is actually the best practice around cross-site scripting but it appears as though APEX does not support JSONP because with JSONP, there are URI parameters added to the base request (callback).
    I am stuck and would greatly appreciate any help.
    I'm starting to wonder if this could be a bug because Oracle documentation says all origins should be allowed when using a service that does not require authentication. I also tried to force the origin to be allowed by typing it in and also using the wildcard '*' and it still did not work.
    Thanks,
    Mark Williamson
    EDIT: It is now working after adding a URI prefix to my web service module.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • 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

  • ADF BC: integrating REST API

    Using JDev 11g PS4
    The model of my application has a mix of different sources. Some entities are stored in my database.
    Other entities are coming from a call to an external REST API.
    I am wondering what the best solution is to integrate those REST API objects into my model project because I don't want to expose them as rest api to my view. In my view project, I want to hide the complexity of those API's by exposing data controls.
    Now, what is the best way?
    1) Creating POJO's and creating data controls out of them. These pojo's will have a signature like this:
    public class Foo {
       public List<FooObject> getFoos();
       public void addFoo(FooObject foo);
       public void removeFoo(FooObject foo);
    }This will be exposed to my view so I can easily use it in my view project.
    2) Create view objects to map the entities from my rest API and implement the REST API calls in the custom implementation of the view objects.
    3) ...
    Any other suggestion is more then welcom.

    Hi,
    if the rest of your model is ADF BC then it would feel natural to use prgrammatic view objects to access the REST service. However, if the data is unrelated then using a a POJO DC also appears to be a solution. For simple REST requests that return XML formatted data, you could use the URL Data Control which in 11g R1 allows for read access and in 11.1.2 the full REST CRUD cycle
    Frank

Maybe you are looking for

  • Regarding creation of node element

    Hi i hav a doubt regarding creation of node element. u can create new node element using method create(cn)Element available either directly from wdContext or from wdContext.node(cn) where cn is any context node. can any one plz explain me what's the

  • Design view in FB 4.5 not working

    I have multiple projects that when viewed in FB 4, show in design view perfectly. I have custom skinning and it all looks like it should. I moved these projects over to FB 4.5, and they all look terrible. It basically makes the design view unusable.

  • IPhone 5S manual network selection

    Hi all, I have an unlocked iphone 5S and seem to have an issue with the manual selection mode. I was travelling outside my resident country and switched to manual network selection mode to choose my preferred roaming network in the foreign country. A

  • How to create a moveable holiday and assign it to a Holiday Calendar?

    Hi Experts, How to create a moveable holiday and assign it to a Holiday Calendar? Regards, Tomesh

  • OWB Expert - Insert Operator in a mapping - To Share

    Hi All, Designed an expert to insert one of the following operators (aggregator, set_operation, deduplicator, expression, joiner, splitter, sorter, filter) anywhere in a mapping, if logically possible. Expert retains all the connections on insertion