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.

Similar Messages

  • Problem start a BPM process, No ADF binding is defined for the service.

    Hi,
    I am trying to use oracle.soa.management.facade.Service.request method to start a BPM process.
    The service works fine while being tested using Enterprise Manager. But while I am trying to invoke the service from a java client, exception occurs.
    The Service toString:
    Service {
    name = TechDocModifyProcess.service
    properties = {}
    bindings = [Binding {
    Name = WSBinding
    Type = ws
    Mode = entryPoint
    Properties = null
    WSDL URL = /TechDocModifyProcess.wsdl
    WSDL URL = http://eis-bpm-server.eis.smec-cn.com:8001/soa-infra/services/default/TechDocModifyProject!0.2*soa_fee2a899-b630-4c7c-8bbb-c740d37a1b03/TechDocModifyProcess.service?WSDL
    Below is the java code I used to call the service.
    try {
    NormalizedMessage input = new NormalizedMessageImpl();
    String uuid = "uuid:" + UUID.randomUUID();
    input.addProperty(NormalizedMessage.PROPERTY_CONVERSATION_ID,
    uuid);
    // payload is the partname of the process operation
    input.getPayload().put("creator", "jcooper");
    input.getPayload().put("notificationId", 1L);
    input.getPayload().put("title", "test");
    // process is the operation of the employee service
    NormalizedMessage res = null;
    try {
    svc.post("operation", input);
    } catch (Exception e) {
    e.printStackTrace();
    } catch (ProcessMetadataServiceException e) {
    e.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    Below is the exception stack trace:
    oracle.fabric.common.FabricInvocationException: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: No ADF binding is defined for the service.!
         at oracle.soa.management.internal.facade.ServiceImpl.post(ServiceImpl.java:178)
         at com.smec.eis.bpm.api.SOASvcProvider.main(SOASvcProvider.java:84)
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
         java.lang.RuntimeException: No ADF binding is defined for the service.!
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1035_WLStub.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.EJBLocatorImpl.executeServiceMethod(EJBLocatorImpl.java:837)
         at oracle.soa.management.internal.facade.ServiceImpl.post(ServiceImpl.java:174)
         ... 1 more
    Caused by: java.lang.RuntimeException: No ADF binding is defined for the service.!
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeServiceMethod(FacadeFinderBeanImpl.java:982)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         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 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.GeneratedMethodAccessor2129.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.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy411.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.executeServiceMethod(Unknown Source)
         at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    fusion order demo to the rescue ..
    specify binding.adf within the <service> in composite.xml and you are good to go ..

  • JBO-27122 error in ADF mobile client application for blackberry

    Hi,
    I am trying to develop a simple ADF mobile client application for blackberry. Currently, working only with Blackberry 9700 simulator. I am using the following for development:
    - Jdev 11.1.1.3
    - Oracle database lite 10.3.3
    I have done all the steps as given in the oracle demo. But when I try to run the application in blackberry simulator, the page shows the following error:
    ERROR: failed to change page
    oracle.jbo.server.DBTransactionImpl.createPreparedStatement: JBO-27122: SQL error during statement preparation. Statement: select po_header_id from po_headers_all where po_header_id=1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Encountered exception executing query on ViewObject: header1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Error retrieving BindingContainer : 'mobile_twoPageDef'
    oracle.adfnmc.java.sql.SQLException:
    oracle.adfnmc.java.sql.SQLException:net.rim.device.api.database.DatabaseException: select po_header_id from po_headers_all where po_header_id=1 : SQL logic error or missing database
    Unable to create/prepare native statement with SQL select po_header_id from po_headers_all from po_header_id=1
    Unable to create PreparedStatement with SQL select po_header_id from po_headers_all from po_header_id=1
    Please suggest what could have been wrong while developing or deploying the application.
    P.S. : The view object (header) shows data successfully when run in the application module. Also, a .db file gets created in the SD card folder. The synchronisation is a success when mSync.exe file is run in the <Oracle_Home>/Mobile/Server/Sdk/bin.

    Sorry my content got repeated.
    you can go through this thread FOD mobile db sync with base adf server db not working
    there is link that you can follow for synchronization (check second last message)
    Edited by: Nikhil Gokhale on Apr 17, 2011 3:55 AM

  • Is there any commercial support for LCCS services? What are the associated SLAs

    Hi,
    Following are some queries regarding LCCS.
    Is there any commercial support for LCCS services? What are the associated SLAs of the support and the cost?
    Can I Using applications developed using LCCS for commercial purpose?
    Does Adobe allows its LCCS service customers to offer applications developed using LCCS API for 3rd party commercial usage.
    Thanks & Regards
    Amit

    Hi,
    We were selling LCCS to enterprise customer under a different licensing program, but have since stopped the sale of that.
    You should check out this thread - http://forums.adobe.com/message/4110049#4110049 for a discussion on this.
    Jeff

  • Does Websphere(WAS) V3.5 has support for web services ??

    Hi all,
    Please let me know whether Websphere Application Server V3.5 supports Web Services. If any one has used it for V3.5 then please let me know.
    Thanks
    -Satyendra

    I suppose not, as out of the box.
    If you look into the classpath and the lib directories, there are no traces of any support for Web-Services.
    However, you can set up the environment to do so, It seems to be easy to handle.
    Cheers, and keep posting your progress.

  • Getting error while writing JUnit test case for RestFul Services

    Hi All,
    I have written Restful services in Netbean 6.8.
    It's running well...no issues.
    {color:#0000ff}While writing JUnit test cases for them, I am getting following error:
    {color}{color:#993300}Testcase: testGetAuthenticated(com.ct.services.LoginServicesTest): Caused an ERROR
    Implementing class{color}
    java.lang.IncompatibleClassChangeError: Implementing class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:160)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
    at com.ct.services.LoginServices.getAuthenticated(LoginServices.java:205)
    at com.ct.services.LoginServicesTest.testGetAuthenticated(LoginServicesTest.java:84)
    Test com.ct.services.LoginServicesTest FAILED
    F:\NetbeanProjectsWorkspace\DemoProject\nbproject\build-impl.xml:972: Some tests failed; see details above.
    BUILD FAILED (total time: 11 seconds)
    {color:#0000ff}Strange thing is that when I am commenting below lines and its related calls:
    {color}
    {color:#ff0000}EntityManagerFactory mEmf = Persistence.createEntityManagerFactory("AnyName");
    EntityManager mEm = mEmf.createEntityManager();
    {color}
    {color:#0000ff}from my code, JUnit test cases are working fine.
    {color}Anybody having any idea about this ?
    Thanks
    Avi
    Edited by: Avi007 on Aug 28, 2010 5:17 AM

    Hi All,
    [http://stackoverflow.com/questions/2778295/test-driven-development-problem]
    Please refer the above link for the solution
    Thanks
    Avi
    Edited by: Avi007 on Aug 30, 2010 12:33 AM

  • Performance Point 2010 Support for Analysis Services 2012

    Can someone tell if me Analysis Services 2012 is support for PerformancePoint 2010 (SharePoint Server 2010). Could not find a definite answer when I search the web.
    Thanks,
    Don

    Yes, you need to install the right ADOMD client and OLEDB Provider on SharePoint servers.
    Install the Analysis Services OLE DB Provider on SharePoint Servers
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • ADF mobile: Reuse taskflows for different device models (resolutions) ?

    Hi,
    ADf 11.1.2.3.0 + mobile extension.
    What's best practice to create the same mobile app for different device models (= different screen resolutions = different layout)?
    I mean an app on a smartphone may use different gui components and layout than on a tablet device.
    In adfmf-feature.xml the content of a feature can be either a amx page or a task flow.
    Here I can add a constraint to determine e.g. the device.model and use different amx pages depending on the device model.
    But how to reuse the task flow (assumtion: the taskflow is independent from the device model) and just create specific amx page per device model?
    regards
    Peter

    Replying to an old thread.
    With ADF Mobile 11.1.2.4.0, to display different content views for different devices,  it is recommended that we use following property as a constraint on the content of the feature.
    Property
    Operator
    Value
    hardware.screen.diagonalSize
    more
    6
    It applies this constraint on the devices which have screen size more than 6 inches. Which is applicable for the tablets.
    For more details, look at the HR sample found at the following location in your JDev after installing the ADF Mobile Extension
    jdev_install/jdeveloper/jdev/extensions/oracle.adf.mobile/Samples

  • On Plus support for Voice services

    Hi Friends,
    I am trying to explore use of onplus for Config, Monotoring and reporting for voice services (example UC50,ISR with CME/CUE cards as well as use of SRST).
    Could you please sugget any documentation I can refere for this req.
    Suresh

    Hi Suresh,
    The UC500 is a supported device. Please see this link for a feature summary of supported Cisco devices with OnPlus:
    https://supportforums.cisco.com/docs/DOC-17501
    Currently, we do not have any monitoring or reporting specific to voice services. The standard monitoring and reporting available for any device may be applied. In a future release, we may have additional voice features.
    Thanks,
    The OnPlus Team

  • HTTP Adaptor for RESTful service calls -- Proxy Settings?

    Hi Guys,
    I have successfully configured an HTTP Adaptor on my Access Server, imported a REST service function, set up DTDs etc etc all ok.
    Now, when it comes to calling this function in a data-flow, the run of the job just times out while calling the function. I have tried this via another route and this time-out occured their too until I entered my proxy server login details.
    I am assuming I need to do this for the HTTP Adaptor but there is no parameter/setting around for me to do this.
    Could you please tell me how I can get my proxy settings in place for the HTTP call? If the solution involves the "axis2" file, please could you give me clear/step-by-step instructions on how to use this and deploy it as that area is all new to me.
    Thanks very much for any help.
    Flip.

    you can set the proxy server details in the Additional JVM Arguments of the HTTP Adapter Configuration using the following syntax. Add this to existing memory setting args
    -Dhttp.proxyHost=<enter proxyserver name> -Dhttp.proxyPort=<enter proxy port>
    have no idea how to specify the credentials, not sure if that can be done using Java arguments, if you are on windows try running the Jobservice under named user, and see if it works

  • Form digest for REST service

    Hi <o:p></o:p>
    I have created a rest service to update list items in share point 2013. This needs to be consumed by a java application.I understand that any
    POST request should have form digest in the header<o:p></o:p>
    I tried to test this with a C# console application.I used /_api/contextinfo with a POST request with proper credentials,but i get 401unauthorised
    error.<o:p></o:p>
    How to get form digest by passing credentials from a java application.<o:p></o:p>

    See if this helps:
    http://msdn.microsoft.com/en-us/library/jj164022(office.15).aspx#WritingData
    "You can retrieve this value by making a POST request with an empty body to
    http://<site url>/_api/contextinfo"
    Then extract the "d:FormDigestValue" node in the XML that was returned.
    Also see here: (these aren't Java examples, but may give you an idea.)
    http://blogs.msdn.com/b/nadeemis/archive/2012/10/23/tip-handling-http-403-forbidden-when-querying-the-search-rest-service-using-the-postquery-method.aspx
    http://www.c-sharpcorner.com/UploadFile/d2ee01/how-to-modify-sharepoint-2013-objects-using-rest-calls/
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Flex/ActionScript3 support for web services using WS-Security

    Does Flex/ActionScript3 have support for connecting to a web
    service using WS-Security (Policy Creation). I've tried using the
    Flex Data Service "Import WSDL" method and it does not allow me to
    connect. Is there Flex/AS3 package that can handle creating the
    Policy information for a web service that utilizies WS-Security?
    Thanks,
    Tom

    quote:
    Does Flex/ActionScript3 have support for connecting to a web
    service using WS-Security (Policy Creation).
    Yes and no. The "Import WSDL" doesn't create AS3 classes that
    allow header injection of the appropriate WS-Security elements.
    I've managed to work around this using straight mx:webservice tags
    and AS3. There is an open bug at
    https://bugs.adobe.com/jira/browse/SDK-15398
    that I voted on, the more the merrier.
    http://www.jroller.com/wookets/entry/ws_security_in_flex
    Has a useful class for creating the soap header elements for a
    username token,
    In general though, it's been a challenge to get the simplest
    of WS-Security pieces working.
    -Brett

  • Firefox mobile not supported for lg optimus zip

    Hello, I recently switched over to straight talk and was sad to find out that firefox mobile is not supported for the lg optimus zip. I hope in the future that will change.

    hello moon_serenity, firefox won't run on your device because it has to little RAM memory (150 MB instead of the 384 MB that would be needed for firefox to run). in the past there have been efforts to make firefox on android run on more low-spec devices, but the 384 MB seem to be the bottom limit that has been reached of what's possible to achieve. so unfortunately i fear that there will be no way to make firefox run on the lg optimus zip.
    https://www.mozilla.org/firefox/mobile/platforms/

  • Support for REST based storage systems

    Hi,
    I have a question on the target storage for the movies served by the Flash Media server. In your FAQ you mention that data can be stored on a local server or remote location. I assume you are referring to CIFS and NFS mountpoints? Do you support any REST based storage solution as a backend for the Adobe Streaming server? For example could I store my data on an Amazon S3, OpenStack,... compliant storage solution.
    Referring to the following FAQ:
    How does Flash Media Server integrate into my network?
    Flash Media Server runs on either Windows or Linux 64-bit operating systems. The XML-based configuration and C++ plug-ins allow a great deal of customization. Media files can be stored on the local server or in remote locations. Plug-ins can be configured to provide access control, directory/file mapping, authentication, or additional security features.
    Thanks,
    Stefaan

    Hi Thanks for your answer.
    As more and more object storage systems come into the market I strongly recommend you to integrate with a native Amazon S3 and OpenStack API instead of recommending a FUSE implementation.
    Can you tell me if that is on the roadmap by any chance?
    Thanks!

  • Why is there still no NFL Mobile app support for the Z30?

    This device has been out for a year now. I upgraded months ago from the Q10 to the Z30 fully expecting to be able to access this only to find out it;s not available. I contacted your Facebook page about this today advising I am paying for this and the response I got was to basically stop paying for it as you're apparently not going to support this device.
    I'd like an answer as to why. It's been over a year since this device has been available. It's not like VZ hasn't had time to do it. Why have I been paying for this all these months if you're not going to do anything about it? Why haven't you mentioned that you're not going to support this device if you're going to sell it? NFL Mobile is exclusive to VZ and is one of the biggest reasons I left ATT. Are you going to leave your business customers to do without?
    I'd like an answer to all of this.

    I'm sorry, seems it didn't reply from my email inbox.
    The reason you didn't answer the other question is because the answer is none. So why would a customer have to make sure VZW is keeping up with the products they offer? This service is advertised as being available in BB World. If you go this website and click on the "compatible devices" link, you'll CLEARLY see that the Z30 is listed.
    Here it is in fact.
    http://www.verizonwireless.com/insiders-guide/inside/nfl/
    So......now can I get a better response than some smart aleck?

Maybe you are looking for

  • BADI for purchase order item confirmation?

    Hi all, In Purchase Order change mode (ME22N), we want to calculate the delivery date based on the confirmation date that was entered in the PO item detail, confirmation tab (instead of based on the PO creation date). Please help by specifing Which B

  • My 2G USB stick crash after Pacman -Syu

    I want my 2G usb stick install a archlinux. It is very difficult to install a workable GUI interface with just 2G bytes. Finally, I succeed by choosing minimal package set carefully. I only left a few M bytes space. When I 'pacman -Syu', my file syst

  • How to use bounding theme with jdbc theme

    Hello I'm using oracle maps javascript API to locate geometry with jdbc theme based foi, so how to use bounding theme with jdbc theme? Give me help, thanks.

  • Management access and history for the Web Survey

    Hi to all, I've two questions on the Web Survey. 1- Is possible the access on the Web Survey compiled from someone? If yes, what? 2- The History is managed? Regards, Marco

  • Hi,i want to import a folder of songs but itunes will not do it?

    hi, i cant import a folder of songs into my library? they are in mp3 format. i have even tried to convert them to acc & import, but to no avail? can someone help please? normally have no problems,this is the first time i have encountered this. many t