Forum Stats

  • 3,827,278 Users
  • 2,260,758 Discussions
  • 7,897,196 Comments

Discussions

ADF Mobile Client : PageBinding Error

761579
761579 Member Posts: 7
edited May 21, 2010 2:05AM in JDeveloper and ADF
Hi all,

I have created a sample ADF Mobile client application with 2 screens. Page1 has a link to Page2. And, Page2 has a URL Data Control for a webservice, which is giving me an XML. I have in place the corresponding XSD in my Model Project too. Now, after deploying the app on BlackBerry / Windows Mobile, I am getting the following error on clicking the Link in Page1.

Am I missing something here?

Please find the corresponding stack trace as below:

initializing default resource loader
adding jar rep
oracle.adfnmc.bindings.dbf.BindingContext.get: [oracle.adfnmc.bindings.dbf.BindingContext.get] BindingContext cannot contain a key for: URLDataControl1, only keys declared in application metadata (*.cpx) are allowed.
[oracle.adfnmc.bindings.dbf.BindingContext.get] Error retrieving BindingContainer: 'mobmgr_mobile_AlertsPageDef'
at oracle.adfnmc.bindings.dbf.BindingContext.get(Unknown Source)
at oracle.adfnmc.bindings.dbf.InitializeBindingContainerVisitor.getDataControl(Unknown Source)
at oracle.adfnmc.bindings.dbf.InitializeBindingContainerVisitor.visit(Unknown Source)
at oracle.adfnmc.bindings.dbf.InitializeBindingContainerVisitor.visit(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.MethodAction.accept(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.PageDefNode.accept(Unknown Source)
at oracle.adfnmc.util.parse.Visitor.visitEach(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.PageDefVisitor.visit(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.Bindings.accept(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.PageDefNode.accept(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.PageDefVisitor.visit(Unknown Source)
at oracle.adfnmc.bindings.dbf.InitializeBindingContainerVisitor.visit(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.PageDefinition.accept(Unknown Source)
at oracle.adfnmc.bindings.xmlmetadata.PageDefNode.accept(Unknown Source)
at oracle.adfnmc.bindings.dbf.InitializeBindingContainerVisitor.populateBindingContainer(Unknown Source)
at oracle.adfnmc.bindings.dbf.BindingContainerImpl.initialize(Unknown Source)
at oracle.adfnmc.bindings.dbf.BindingContext.createAndInitBindingContainer(Unknown Source)
at oracle.adfnmc.bindings.dbf.BindingContext.get(Unknown Source)
at oracle.adfnmc.bindings.dbf.BindingContext.pageChanged(Unknown Source)
at oracle.adfnmc.app.UIModule.loadScreenId(Unknown Source)
at oracle.adfnmc.app.UIModule.showScreenId(Unknown Source)
at oracle.adfnmc.app.Navigation.execute(Unknown Source)
at oracle.adfnmc.component.ui.ExecuteActionHelper$NavigationRunner.run(Unknown Source)
at oracle.adfnmc.util.async.BackgroundWorker.doWork(Unknown Source)
at oracle.adfnmc.util.async.BackgroundWorker.doWork(Unknown Source)
at oracle.adfnmc.util.async.BackgroundWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Answers

  • We do not (yet) support an abstracted layer for invoking web services from the device. You would need to use the native libraries on WM/BB to make these calls on the specific platforms until we add the abstracted code that would remove the developer from performing platform specific calls. It is coming but its not ready yet.
    Denis T-Oracle
  • 761579
    761579 Member Posts: 7
    Denis, Thank you very much for the clarification.

    Can you please point me to a few helpful resources for making these Web service calls on WM / BB?
This discussion has been closed.