ADF BC exposed as REST?
I was wondering if there were any tutorials out there that exposed ADF BC as REST?
I've been successful using SDO to expose my services through SOAP, but I wanted a way to keep them as REST without having to use EJBs and a Java client wrapper. To keep it more lightweight.
This is for my mobile applications.
Any suggestions?
Thanks Shay,
That's what I figured ... I just wanted to make sure it wasn't something undocumented in 11.1.2.4.
Similar Messages
-
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 PMThanks 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 -
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 -
Exposing rest services in custom managed server
Hi everybody,
I want to know how can expose the rest sevices for custom managed server which is created from webcenter custom portal template ????
Thanks.I mean that once i deployed my custom webcenter portal (including web 2.0 services) into managed server. it is possible or not to manage potal services (documents, discussions ..) through rest api using thz following URL: http://myManagedServer:myPort/rest/api/resourceIndex ????
-
Exposing REST Service in Oracle SOA 10g.
Hi,
I have a requirement to expose a REST web service. The environment im working on is Oracle SOA 10.1.3.4.
Please let me know the way of doing the same.
Thanks.
Edited by: user577285 on Sep 24, 2012 10:01 AMYes, it's clear now...
I would say you will have to maintain both infrastructure for a while...
You can proxy the external web service entry points via OSB as I told you before, this way you can migrate the services from .NET to Oracle SOA gradually without affecting your customers, as they will always point to Oracle SOA, never to .NET infra.
Cheers,
Vlad
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
https://forums.oracle.com/forums/ann.jspa?annID=893 -
ADF Mobile - insert data into oracle db from oracle adf mobile application
Hi,
I have to insert data from mobile into oracle database 11g(not in local sqlite database), can somebody tell me how to do it?
Thanks,
AnshulHi, Anshul, one common way is to expose DB data as ADF BC, and then add a service interface on top of ADF BC. This would allow the ADF Mobile app to access server DB through ADF BC. There may be other mechanisms to access server-side DB - I think APEX also expose some REST interface to Oracle DB as well. Another option is to use TopLink - TopLink can also expose some REST services.
Thanks,
Joe Huang -
Oracle Identity Federation or Microsoft ADFS
Hi,
There are two companies A & B having an isolated infrastructure. Currently we have an architecture where Company A is providing OAM-IWA based SSO functionality for its own users and not for Company B users. If Company B also wants to avail the benefits of IWA/SSO for an application hosted in Company AS what should they do? Please advise-
1. Implement Microsoft ADFS? Company B may not like it because they think ADFS might expose confidential attributes to Company A?
2. Implement Oracle Identity Federation? How will that fit in if we have OAM in place? Can OAM authenticate half of the user base and OIF do the rest? Pls advise
3. Implement OVD? I am not sure if OVD can authenticate userbase against AD credentials?
Pls let me know.
Thanks,Since company A and B have isolated infrastructures, I assume they are separate companies and on separate networks, with the internet as the network that will allow users from company B to access the application hosted by company A. And I assume the application is a web application.
First, IWA is a function of the IIS web server and suppported browsers (IE and Firefox) and is independent of OAM or OIF. OAM 10g supports IWA when running a webgate on the IIS web server that is configured to accept IWA authentication. IWA will work on the Intranet, so employees of company A can use IWA to SSO to OAM in their environment. Likewise, if company B has their own deployment of OAM, they can use IWA to SSO their users to their instance of OAM.
If you deploy OAM 11g, there is no longer a dependency on IIS because OAM 11g support Windows Native Authentication. You can read OAM 11g documentation for details on WNA.
1) Regarding use of ADFS, I have no comment as I am not familiar with the details of ADFS.
2) Regarding using OIF, some questions and clarifications
- Does company B own a web SSO and/or federation product? Do they own OAM? Do they own OIF? If not, they'll need something that speaks SAML or another federation protocol supported by OIF.
- For company A, you can buy OIF and integrate with OAM, if necessary. Since company A is hosting the application that company B employees want to get to, they would most likely be configured as the service provider/relying party.
- For company B, you can buy OIF and integrate with OAM. And OAM can integrate with IWA. So a user could use IWA to seamlessy SSO to OAM and then follow a federation enabled link to company A's app and seamlessy SSO to that as well.
- There is some integration work to be done here. Specificaly, company B needs to have a way to send its users over to company A so they can import them into company A's app. You need to exchange some metadata and agree on a unique identifier to identify the users. Or if the app works by having company B users access it as a generic user or something, you need to set something up for that (such as passing the generic userID in the SAML assertion).
- I would probably deploy the app such that there were two entry doors. One door would be for company A's employees and would be internally accessible only and protected by OAM. Then I would have an externally accessible door that relied on OIF SAML and was configured as a relying party for company B's employees.
3) regarding OVD, I don't see how that is going to help you since each company is on a separate isolated infrastructure. -
GPS integration for ADF Mobile
Hey,
How does Google map api can be implemented for My Location in Oracle JDeveloper ADF for Mobile Browser. Please give suggestions.
Thanks
SheenaHi,
You would set up a WebLogic Server with user roles, and then expose a REST JSON API that would expose these user roles. The format for the JSON REST message is documented here:
http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/security.htm#autoId9
Unfortunately the documentation is not clear on how to configure the Access Control Server - we will fix that.
Please ping me directly and I will try to get more details on Access Control Server setup as needed.
Thanks,
Joe Huang -
How to deploy ADF-BC (SDO) with ANT
I have an ADF-BC exposed as an webserivce. I can deploy it via JDeveloper, but how do I deploy it with ANT. Does anyone has an ANT script example, based on ADF-BC
Marc
http://orasoa.blogspot.comI am using JDev 11g (ps1). The link you mentioned, is about deploying artifacts to the MDS. I want to deploy and ADFBC exposed as an webservice , (aka SDO object) to the server via ANT.
Marc -
11gR1 : ADS Support for ADF BC
Hi All ,
Bumped on a few old posts by Jan and found that there is a documentation bug in Oracle Documentation and Oracle doesnot yet support ADF BC with ADS.
See Frank’s comments in this post :
https://forums.oracle.com/thread/2199726
Also , in the same post Frank mentions that below example is the best way if you need to do it using ADF BC :
Example 156 here : https://blogs.oracle.com/smuenchadf/resource/examples (I now remember myself and Amulya trying it and it works though not sure if it’s ok to use a shared AM as a practice).
Also there is another post which describes the same:
https://forums.oracle.com/thread/1030213
These posts are a few years old , so wanted to confirm that the part about Oracle not having support yet for ADS when using ADF BC still holds true.
Can someone please confirm specifically part below -
Frank Nimphius wrote:
... Again, using ADS with ADF BC exposed through the ADF binding layer is not yet supported to work other than what is documented on Steve Muench's website: http://blogs.oracle.com/smuenchadf/examples/ --> sample 156
When you use ADS, then you actually wrap the component binding class. When a push is sent from the server to the client then this does not go through the binding filter (as it is not a client request), which means the FacesContext and the BindingContext (as far as my testings go) are not available. So unlike you hook up ADF BC directly to ADF Faces with using ADS, I suggest you go for sample 156. Note that we are aware of this requirement and there is work done on providing this feature out-of-the box for ADF BC. However, this does not have a release date yet and in fact hasn't left the stage of prototyping.
FrankHi Frank ,
Yes there was a question within the above post -
These posts are a few years old , so wanted to confirm that the part about Oracle not having support yet for ADS when using ADF BC still holds true.
Can someone please confirm specifically part in italics in above post .
Thanks
Sudipto -
OSB : Restful proxy service with basic authentication
Hi,
We want to expose a restful webservice from OSB with Basic authentication (username and password). Let us know what is the procedure for the same.
THanks,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. -
Refresh function - RSS as Rest again
Hello,
Maybe by design but I noticed some strange behaviour
When using Refresh(rss!channel!item) (e.g. refresh RSS when used as REST) it doesn't actually refresh the data or at least it's not visible in the gallery displaying the data.
No errors, viewing the feed directly in browser shows updated articles but the gallery doesn't update till reload of the application itself.
This happens regardless of how the refresh is called (button, timer, etc.).
Some context or guidance would be helpful.
Update:
I've added the same RSS feed as RSS with a refresh and that one does work after a while (assume there is a mandatory delay to avoid too many requests).
Could it be that it's not working because when refreshing Refresh(rss!channel!item) you are actually not targetting the whole feed but just the needed data part?
Regards
StonyArc
http://www.stonyarc.com http://www.xboxlivenation.comHello Ayuba,
This will not work as this is mixing records and tables
Assume http://feeds.mashable.com/Mashable is used to expose complex features of RSS/atom (images / media / nested categories) exposed as Rest Datasoure.
In your formula logic this would become
Clear(RSSREST);Refresh(Mashable); Collect(RSSREST,Mashable!channel!item)
This doesn't work as that's a record and not a table. The table resides in [item] (see also data sources)
To expose the table you would then again use
Clear(RSSREST);Refresh(Mashable!channel!item); Collect(RSSREST,Mashable!channel!item)
which brings you back to the original problem, it's just transfered into a collection.
The data is not refreshed via the refresh function if RSS is used via REST as data source as the data is not reloaded in the refresh function.
Exposing the RSS as RSS datasource with the [rss_1] in the root does refresh as a charm.
Any other suggestions?
Regards
StonyArc
http://www.stonyarc.com http://www.xboxlivenation.com -
Using users and groups from LDAP in ADF application
Hi there,
I'm using WebLogic Server 10.3.5.0 and JDev 11.1.2.3.0.
I configured my WL server to use the users and groups defined in my LDAP server (they display when I select the Users or Groups tab). So this works fine (I think).
Now I want to use 1 group, let's call the group ApplicationGroup, and all it's users to give them access to my ADF Application.
But I can't find proper/up-to-date info about how to do this.
I tried 2 major things:
1) I configured ADF Security to use Authentication and Authorization. Defined an Enterprise Role with the same name as in my WL server (so ApplicationGroup) then defined a
Application Role with a custom name and added the Enterprise Role to it. That Application Role I gave access to all my TF's and Web Pages. When I deploy this, It just doesn't work (Migrate Users and Groups is not checked).
2) Used the Authentication option in the ADF Security and the rest is the same as in 1). This works +-, I can login with all users so the role mapping isn't configured right I guess?
Any help or documentation that could help me?Since we aren't using EM I had to find an other way. And I found it.
In web.xml ADF Security (I suppose) automaticly adds 'valid-users'. In my weblogic.xml I added my enterprise role as a principal to 'valid-users' and this works for me.
Thanks for the help. -
Hello,
I have created an OSB Service(HTTP) which can be exposed as REST service to consumer application. Now, how can i test this OSB Service using SOAP UI/some tool, as its not exactly soap service(wsdl) but a REST Service.
Also, the end point URI in Proxy would be the end point for this OSB Service which can be exposed to consumer application?
ThanksYou can test REST services from SOAPUI.
http://www.soapui.org/REST-Testing/getting-started.html -
SOA 12.1.3: REST Adapter generates run time "unknown media type" Exception
HI All,
We are workig with a client who are looking to migrate from BPEL 10g to Oracle 12c. The current implementation integrates with a number of RESTFUL services via JAVA components that are invoked via BPEL. As part of the migration we are looking to migrate and simplify these with use of the new REST Adapters. The use case and issue is as follows:
We have a client who exposes a REST service via the usual principles. This service is provided by a 3rd Party provider as an external service for out clients 3rd party application. The REST service provides a number of Resources and Operations (GET, PUT, DELETE) to manipluate and retrieve data as per the interface provided.
Based on one of the Simple GET operations, we have attempted to create a new REST adapter based on the interface. The provider does not supply a WADL, hence the REST adapter has been generated by using the REST Adapter within JDeveloper and configuring the resources, operations and request/ response types as required. This generates the required WADL file (see attached).
When testing the WADL via JDeveloper, the response is returned as expected. However when deploying this to SOA Suite 12.1.3, the adapter errors a runtime. The error that is encountered is as follows:
<summary>oracle.fabric.common.FabricInvocationException: java.lang.RuntimeException: Unknown media type : application/atom+xml; charset=utf-8; type=feed</summary>
When reviewing the HHTP response from the service through SOAP Ui I can see the content type is set to application/atom+xml.
After reviewing the Oracle Documentation it does not seem to provide any insight into this issue or any possible reasons for its occurence.
Has anyone had similar issues or provide any insight into this issue? It appears on face value the Adapters are not compatiable with this media type, which may prove to be a big limitation
Regards DaveHi Dave,
REST Adapter in SOA 12.1.3 currently only supports the following media types...
1. application/json
2. application/xml
3. application/www-form-urlencoded
Since the service you are calling is using application/atom+xml, hence you are getting the error.
Regards,
Ankur
Maybe you are looking for
-
I have a movie that is 2 hr 23 min. In iMovie HD 6.0.4, I added chapters every 15 minutes. When I import into iDVD 7.0.4, of course it says that the project is too big. I change to "Double-Layer 7.7 GB" I also change Encoding to "Professional Quality
-
How to make field u201CMPN materialu201D visible in in transaction MEQ1
Hi, All! In layout of screen 215 in transaction MEQ1 I see field u201CMPN materialu201D, but see this field is invisible for users. How to make this field visible? Thank's, Liza
-
JDBC driver configuration for sybase in XI 3.0
my client vendor upgraded sybase database version 8 to 11, then after we are facing connectivity problem. i deployed new JDBC for sybase ver 6.05.. jconn3.jar i am not sure this is the right version to deploy for sybase 11... still have the connecti
-
Hi Friends, In my workflow, the requirement is like that all of the agents who have been sent the work item should be able to process it. But the moment work item is executed by one of them, it disappears from the inbox of all others. Please advise i
-
Prob in string...
I have the following table in database. i have a jsp page in which i have used the following declaration: I have used String in for pay_post column, which is declared CHAR in database.Is it OK or not.(In form it is a radio button) and another is i ha