Flex and Restful Services

Hello,
I'm new to the whole Flex system and I'm trying to integrate with WCF Rest Services
I see that Flex doesn't support PUT and DELETE which is fine because we can use the x-http-method-override header which I assume you set in Flex with the headers property of the HttpService object?
httpService.headers["x-http-method-override"] = "DELETE"
The other thing is the HTTP Status code - it seems that Flex can't give you the HTTP Status code returned by the HttpService and that codes over 200 cause an exception. Is this correct and is this going to be resolved in Flex 4?
Thanks,
Dave

I had a similar problem with 302 codes.  Firefox gets HTTPStatusEvent.HTTP_STATUS and IE gets Event.COMPLETE.  Can you check HTTPStatusEvent in Safari?
Basically the HTTP stuff is a total disaster because of all the inconsistencies in the browser plug-in interfaces.  So much for "write once run anywhere"!  More like write once, test everywhere, pray...
If you're in control of the server returning the 204 I'd say change it to not do that but I understand that may not be an option.

Similar Messages

  • 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.

  • OAM and RESTful services

    All,
    I'm looking for some advice regarding the consumption of REST services (from the users browser) in an environment that utilizes OAM security and the Oracle Service Bus. Let me set the stage.
    We've configured an instance of OAM with OHS acting as a proxy to our applications. One of our apps wants to pull some data (using an AJAX call) from a service directly to the browser. The service is currently protected using HTTP Basic authentication. This works fine for Java apps that want to make those service calls directly, but not so well when it is the browser that wants to make the call.
    My assumption (up to this point) had been that I would be able to utilize the OAM Identity Asserter on the service bus in much the same way that we have been using it to propagate identity to our application servers. After speaking with some of the service developers (guys more intimately familiar with the OSB than I am) we haven't tried to do this before and are unsure of the proper implementation to acheive our goal.
    So, with all of that being said, am I barking up the wrong tree? Would it be incorrect to have a REST service written that is serviced by two different OSB proxies? One that enforces HTTP Basic, and one that (somehow) uses the OAM_REMOTE_USER and an appropriate identity asserter to pass identity in such a manner that the OSB would be able to enforce security in that manner?
    Is there a better way to secure REST services being made from the browser?
    Thank you for any help/direction you can provide.
    --james                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    There is, but its not great. Publish your Siena app, then turn it into a Visual Studio project per
    the links at the top of the forum. On the project's Debugger page, ensure "Allow Local Network Loopback" is set. When you run the app with F5, your app can then hit a server on the same machine via localhost.
    This is a Windows restriction for published store apps (eg Siena). By turning your app into a local-deployed app, and enabling the loopback option, you can avoid this policy. See
    http://msdn.microsoft.com/en-us/library/windows/apps/Hh780593.aspx

  • Siena and RESTFUL services

    I have a web api project, when I make a call to the service (in a browser):
    http://localhost:55060/Api/Values it works. I am using the WADL tool to generate the WADL file. Once the file is created and I try to use it in my Siena project: I get an error message "Error : Unable
    to reach service" I know the service is available and using fiddler I can verify I am getting the correct data in JSON format. Is there a restriction to use
    http://localhost:55060/ does it have to be a www.  URL?
    Thanks

    There is, but its not great. Publish your Siena app, then turn it into a Visual Studio project per
    the links at the top of the forum. On the project's Debugger page, ensure "Allow Local Network Loopback" is set. When you run the app with F5, your app can then hit a server on the same machine via localhost.
    This is a Windows restriction for published store apps (eg Siena). By turning your app into a local-deployed app, and enabling the loopback option, you can avoid this policy. See
    http://msdn.microsoft.com/en-us/library/windows/apps/Hh780593.aspx

  • How to store and display Response from REST Service

    Hi,
    My WADL has defined the response that my REST service returns back as below :
    <object name="Get_Root">
            <property name="RequestId" type="number" />
            <property name="Name" type="string" />
            <property name="fromPlace" type="string" />
            <property name="toPlace" type="string" />
            <property name="fromDate" type="string" />
            <property name="toDate" type="string" />
    </object>
    I want to store this response; response is a single entry of the above type and not a collection (I am making the request on a button click) and then display it on the screen in multiple labels.
    How can I do this? Will I have to use a collection and a gallery, even though I have a single response?
    Thanks,
    Pragya

    Okay.. got it. So MyRestData has a Get function taking some n arguments and it responds back with an object of the type I had mentioned before.
    From what I understood, I have to write the below code for each label
    MyRestData!Get(.....)!Name
    MyRestData!Get(.....)!fromPlace
    MyRestData!Get(.....)!toPlace ...and so on
    Wouldn't that translate to different REST calls? Is there a way to get and store the entire response object
    in the app and access each of its properties/subelements locally?
    Also when you wrote the below before
    Text: "The name is: " &  MyRestData!Get_Root!Name
    it seems that I can access the response object Get_Root using MyRestData. This is not the case for me. MyRestData only lets me access the Get function using "!", and not the response object in any way.
    Thanks for your help!

  • Role Assignment Discovery Issue for Files and Folders through Sharepoint REST services

    To preface, I am a decided Sharepoint newbie in every sense. I am trying to use the Sharepoint REST services (Sharepoint 2013) to walk the folder and file structure of my Sharepoint server and, determine as I go, the Role Assignments (and subsequently
    Permissions) on those folders and files. I'm using an Administrator credentials and I'm actually able to successfully do it but I've run into some caveats. All the caveats begin with this; when I'm examining a folder, for example:
    /_api/Web/GetFolderByServerRelativeUrl('/sites/cmisdev/Development')/ListItemAllFields
    I receive either an empty list or an error response doc when following the link supplied for ListItemAllFields.  When following that kind of link for folders, I either get:
    <d:ListItemAllFields
    m:null="true"
    />
    or an error response document that says "The object specified does not belong to a list." When I hit the /ListItemAllFields endpoint for files, I receive a response with a link for Role Assignments which subsequently also works and I get the
    info I need. So, is this a bug? Why does the link returned from Sharepoint work for files and not folders? So, google, google, google, and I discover that there is another possible way to get at the Role Assignments (and that the object does, indeed, belong
    to a list!).
    If I know the Title (or the guid) of the folder in question, I can use the following endpoint:
    /_api/Web/Lists/GetByTitle('Development')
    If I use that endpoint, I get the information I would have expected to get from following /ListItemAllFields and the subsequent Role Assignments links all work and I get what I need. If there's a bug and this is how I have to work around it, that's fine
    but I have yet to discover how to dynamically determine the Title of a given folder nor am I sure if all Titles are supposed to be unique within a given Sharepoint server. I'm assuming that the folder name as represented in the server relative URL and the
    Title may be different and this is where my newbishness may start to shine if I'm misunderstanding what a "List" is supposed to be in Sharepoint. Anyway, I did find that I could use the Properties endpoint to perhaps get the Title, for example:
    /_api/Web/GetFolderByServerRelativeUrl('/sites/cmisdev/Development')/Properties
    gives me:
    <d:vti_x005f_listtitle>Development</d:vti_x005f_listtitle>
    whose value I assume I could then supply to the /GetByTitle endpoint and be golden. However, "vti_x005f_listtitle" just sounds a little too deep to be something I should be relying on but maybe that's kosher. That's part of what I'm trying to
    find out. Also, if there is a way to use the Sharepoint REST API to discover the guid of a given object, then I could look it up in that way.
    So, in summary:
    1. Am I going about getting folder Role Assignment information in the wrong way? Based on the CSOM examples I've seen, I believe I'm doing it correctly and that the answer to #2 below is a resounding "Yes!" :)
    2. Is it a bug if I'm not able to use /ListItemAllFields on folders using the server relative url?
    3. If I'm supposed to use GetByTitle as a workaround, am I discovering that Title correctly through /Properties? Seems quite circuitous and awkward. Are Titles required to be unique throughout a given Sharepoint server?
    4. If I'm supposed to use the guid, how can I use the REST interface to discover an object's guid? Once we get down to the Role Assignments and other links, the guid appears in those links but I don't know how to discover it independently if that's the
    path I should use to get the data I described above.

    Upon further research, I'll answer my own question for the benefit of some other potential future newbie.  The answer to question number 1 above is "Not exactly.".  The server relative URLs I was using corresponded to lists (which are
    returned as a collection through /_api/web/lists).  I was treating them mentally like regular folders.  That, coupled with the fact that accessing their data as I showed above returns a ListItemAllFields link, made me think that was the way to get
    the Role Assignments just as I would for files and, as it turns out, "real" folders and sub-folders created under these lists.  That was the other problem with thinking of these lists as regular folders.  So, ListItemAllFields works on
    all files and folders in a list.  However, if you want Role Assignments for the lists themselves, you can keep track of the Titles and\or Guids from the /_api/web/lists that you're interested in (in my case, all non-hidden "document library"
    type lists) and then access those Role Assignments as I discussed in questions 3 and 4 above.  For example, from the /_api/web/lists collection from my test server, the "Development" document library Role Assignments are accessable via /_api/Web/Lists(guid'cd242eeb-aafa-4efa-aecc-9bbdf8e3d459')/RoleAssignments
    or /_api/Web/Lists/GetByTitle('Development')/RoleAssignments.

  • Flex and SAP Netweaver Web Service Security

    HTTPS should just work, please repost here if it doesn't.  In regards to the username and password, the browser will prompt you just like it would when you log into a normal system.  The "challenge" box will come up and you can log in there.  If you have already signed in and navigated to the page using SSO2 tickets the flex app will use that token to gain access to the system.
    More broadly, I never use the AS proxy generator or the MXML webservices to do this.  I find that that directly using the actionscript classes is easier to debug, see my post:  http://www.danmcweeney.com/57

    >
    Irvan Bastian wrote:
    >
    > 1. I really don't know know to connect from Flex to web service when it's run in the SSL HTTPS way. Can you give me a sample code ? (i think it will use DEFAULT_DESTINATION_HTTPS component from mx.rpc.soap.WebService)
    I believe just using https as the location of the WSDL will make the Flex framework switch to use https, that and make any destinations https.
    >
    Irvan Bastian wrote:
    > 2. About the user and password, I alerady using
    > fooService.setRemoteCredentials("username", "password"); but the browser still prompt the username and password. I must type it once again to pass the HTTP Basic Authentication. How can I type the use and password in the program only to pake the browser doesn't prompt anything and pass the HTTP Basic Authentication silently.
    setRemoteCredentials does not do what you think it does, this method is used for, quoting the Flex Docs, "These are passed from the proxy to the endpoint.  If the useProxy property is set to false, this property is ignored."
    I have to look into setting the "Authorization" header directly, for a version you couldn't do it, I think you can now, but can't remember if it is restricted to certain HTTP verbs.
    >
    Irvan Bastian wrote:
    > 3. What is "SSO2 tickets" ??
    These are the SAP single sign on tickets, they show up in headers as MYSAPSSO2 values.

  • REST and ODATA service

    Hi,
    I am using PI 7.4.
    I have few queries regarding REST and ODATA service -
    What is REST based services in PI?
    If there is an ODATA service in SAP, how can we use that in PI for mapping needs?
    Where we need to use BAPIs and where we can consume odata services that are being built for SAP UI5 project.

    Hi
    Kindly check the following links:
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.4 (Release Notes) - SAP Library
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.3 EHP1 (Release Notes) - SAP Library
    https://www.advantco.com/product/REST
    PI REST Adapter - Blog Overview
    Regards,
    Xineohpi

  • WCF and WP8.1: Can I only use WCF REST services? Then better WCF or Web API?

    I am trying to create a simple application to test WCF with WP8.1. I have created my service. Later I create my WP8.1 silver light application and I try to add a reference to my service Project. The problem is that I get an error that says that I have only
    add reference to projects that are Windows pone 8.
    I have read some solutions, but all of them are creating a WCF REST service, so my doubt if the WP8.1 applications only can connect to WCF REST services.
    In this case, if this is true, it not would be better to use Web API instead of WCF?
    Thanks so much.

    You can use any type of rest service with windows phone 8.1 because rest services can be called via the httpclient class.  You dont need a service reference.  Personally I prefer the web api but there is no reason you can not use a wcf rest service.

  • HTTP Adapter and Other Approaches to Call REST services

    Hi,
    We are coming up with a BPEL process to call the REST service using GET and POST methods. When i tried using HTTP adapter, we have got the error REPLACE_WITH_ACTUAL_URL so we went to another approach given in the blog https://blogs.oracle.com/reynolds/entry/oracle_http_adapter.
    This is working fine in BPEL 10g, when we did in the same way in 11g and tried to test we are getting the NullPointerException. Following is the error trace that is shown in the diagnostic log file. Please do let me know if anybody faced this issue and have insight on the same.
    java.lang.NullPointerException
    at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
    at java.util.regex.Matcher.reset(Matcher.java:291)
    at java.util.regex.Matcher.<init>(Matcher.java:211)
    at java.util.regex.Pattern.matcher(Pattern.java:888)
    at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:557)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:154)
    at sun.reflect.GeneratedMethodAccessor1172.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy327.request(Unknown Source)
    at oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:820)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:263)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1059)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:586)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2543)
    at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1165)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1071)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4430)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4361)
    at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:698)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:555)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:673)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:293)
    at sun.reflect.GeneratedMethodAccessor1166.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1064.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)

    I tried using the HTTP adapter which is the straight forward way for calling the REST based services. But when we use XSD complex type we are getting the error REPLACE_WITH_ACTUAL_URL. We have to use GET method. when we tried from the browser it's working fine as expected but erroring out from BPEL.

  • RESTful service with POST, GET, PUT and DELETE

    I'm implementing a RESTful service, but mod_plsql only gives me GET, POST and HEAD commands.
    However, if I try to use the PUT command, the response is:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>501 Method Not Implemented</TITLE>
    </HEAD><BODY>
    <H1>Method Not Implemented</H1>
    PUT to *** not supported.<P>
    mod_plsql: request method not supported<P>
    <HR>
    <ADDRESS>Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at *** Port 80</ADDRESS>
    </BODY></HTML>Is it possible to add support for PUT and DELETE in mod_plsql?
    I've search all packages and code, but I haven't found anything that specifies the valid HTTP commands or the source for generating the above error message.

    AIR supports all the specified HTTP methods, but there seems to be a bug in the HTTPService class. Instead you should use URLLoader and URLRequest. If you change to that you won't even need to use the Method Override header.
    Read more here : http://spy6.blogspot.com/2009/06/adobe-air-put-delete-head-http-methods.html .

  • Name and Directory Service (Soap, Rest)

    Hello everyone,
    i would like to implement a directory service for Web-services (like UDDI) that supports SOAP and Rest. My question is can i use JNDI to do that. When yes, muss I write a Plug in for JNDI SPI to support this Protocols(SOAP, Rest). When no, what would you recommend me.
    Thank you very much
    Rodolfo

    oops,thought i was replying to the PgP question:)
    I think you should be able to achieve this via adapter module but i m not really sure how exactly it will be done .
    Thanks
    Aamir
    Edited by: Aamir Suhail on Jul 28, 2009 1:42 PM

  • RESTful service and BLOB with bind variable

    Hi,
    Has anyone successfully created a RESTful service with bind variable to retrieve a BLOB field and render it in an Apex app? I can create RESTful web service and render BLOB field for a record with no bind variable (single row). As soon as I add bind variable my RESTful service fails -- I get 404 Error. Without bind variable it renders both in TEST tool of Workspace and direct URL. As soon as I add a bind variable it fails either way. I have reported this in an SR to Oracle support, but thought I would post here too.
    I would also like to retrieve the photo into an Apex application. Any hints would be appreciated.
    Thanks,
    Pat

    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

  • WCF rest services STS and JavaScript

    Hello
    I want to have rest services that are claims enabled, the token should be issued by the STS after the user log in to the web app. This token shall be saved and used by JavaScript calls to the rest services. Is this possible? if so kindly provide a sample
    or explanation, since I have been through a lot of examples for STS and rest and trying to build this scenario but it seems very complex. I have spent a lot of time on this.
    Thank you in advance
    Regards,
    Moe

    Hi Don Hamdan,
    >>I want to have rest services that are claims enabled, the token should be issued by the STS after the user log in to the web app. This token shall be saved and used by JavaScript calls to the rest services. Is this possible?
    Yes, it is possible, I will recommand you build the claims enabled WCF Services using WIF, the following is the scenario of it:
    In this way the client will use the WIF to send credentials to the STS and upon successful authentication, the agent is issued a token by the STS and the agent sends this STS-issued token to the WCF service.The claims enabled WCF service is configured
    to trust the STS and the tokens it issues. Besides, the claims enabled WCF service uses WIF to validate the token and to parse it.
    For more information, please try to refer to the following article:
    #Understanding Windows Identity Foundation (WIF) 4.5:
    http://www.codeproject.com/Articles/504399/Understanding-Windows-Identity-Foundation-WIF .  
    #Using WIF for securing REST Service:
    http://zamd.net/2010/07/31/using-wif-for-securing-rest-service/ .
    #Secure your REST-based WCF service with WIF:
    https://waysec.wordpress.com/2011/12/28/secure-your-rest-based-wcf-service-with-wif-part-1/ .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Call rest services and populate ViewObject

    Hi All,
       I have scenario where i need to populate the view object data from rest services and while loading the task flow i need to call the rest service and load data into view object.
      So i marked java bean method as default activity in task flow where i am calling my rest service. Now i want to call a view object method in side my java bean method which is marked as default acity in task flow.
      So could any body tell me how can i call a view object method in java bean method which is added as method activity in task flow?
    Note: I am using jdeveloper version 11.1.1.6
    Regards
    Murali.

    Any inputs please?

Maybe you are looking for