Web Service Data Control ADF

Hi,
I am trying to create an application using Web service Data control in Jdeveloper 11g TP4. This web servcie returns complex data type: that is an object.
while creating data control using wizard : Web service Data control, I am able to get the data control having input patrameter and return object and on exapnding that in data control palette I am able to get all atrribute of that objects.
Data control Palette:
operation : viewRequest(String)
Parameter
REQID
Return
viewrequest_result
ReqID
Product Code
Quantity
Price
I have created a simple JSF form by draging and droping the components fron Data control palette. There are two problems that I am facing while running the application:
1. Getting NullPointerException for the input parameter stating that input parameter can not be null: Error while building SOAP request
oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider setParameters
Value for parameter 'USRID' cannot be null
2. Setting that parameter with a default value I am able to call the web servcie and web service is successfully get invoked too and returns the response but the problem is that on Jdeveloper JSF screen it is not showing the output. I have created a read only form by dragging and dropping the return parameter from Data control palette. Even though the reponse is not getting dispalyed.
Do i need to do anything more or I am missing any step. I have referrrd the link http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html : stating the complex return type handling in Jdeveloper 10.3. Do I need to create a Java Bean for the complex type even though data control is having all object attribute of complex data type.
Thanks in advance.

Please make sure that the service's return strcture follows the same strutre as described in the WSDL file. In almost all of the cases like this, I found that service returns doesn't exactly match the structure definition. In that case the WSDC fails to parse the output the way it's told to and the EL used in the pages will fetch nothing, hence a black page shows up.

Similar Messages

  • Binding LinkedList to ADF Web Service Data Control

    Hi guys,
    I would like to ask about how to bind a LinkedList (consumed from webservice) to ADF web service data control, in order to display it in JSF page. This LinkedList contains java beans that hold information I need. I've tried to ask google and search this forum, but still got no luck.
    <p>
    Yes I found article about dealing with complex input params, but seems not what I'm looking for.
    <p>
    Anybody has hint or idea on this ?
    <p>
    Thanks

    Take a look at this blog entry from Susan Duncan: Dealing with Complex Input Params in ADF Web Service Data Controls.
    It looks like what you are asking for.
    Hope it helps,
    -Eric

  • JDeveloper - ADF Mobile - Web Services Data Control

    Hello,
    I'm new to ADF mobile (newer than ADF mobile itself :) I watched Shay's excellent you tube videos which makes it look really easy to create a mobile projects. I was successfully able to create a simple project and deploy it on my iphone and ipad. The next step is to get data from a web service. I am trying to create web service data control from this wsdl: http://msrmaps.com/TerraService2.asmx?wsdl.
    However I keep getting an unusual error with a dialog of heading: "Invalid WSDL URL" and the dialog says: "oracle/adfinternal/model/adapter/webservice/utils/WSUtils$DefaultAuthPrompter" with an OK button. I tried quite a few things and other applications like Flex Builder and Soap UI and was able to successfully use this wsdl: http://msrmaps.com/TerraService2.asmx?wsdl.
    A few things about my environment:
    I am working on mac OS X 10.8.2
    I have JDeveloper Studio Edition Version 11.1.2.3.0 (Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1)
    Java version installed: 1.6.0_37
    I'm at a loss here and not sure what am I missing? I tried googling "DefaultAuthPrompter" and nothing shows up.
    Any help is much appreciated.
    thanks,
    Rahul

    Hi Arun,
    I'm not behind a firewall and access the wsdl directly. I can also use other applications to generate proxy classes from this wsdl url.
    I am starting to wonder if there is missing library on my mac installation of Jdeveloper?
    Rahul

  • Oracle ADF web services data control reconfiguration problem....

    We fallow instruction below
    http://www.oracle.com/technology/products/jdev/viewlets/1013/bpelfromadf_viewlet_swf.html
    That was our test environment.
    we need to change web service url according to our production environment.
    But we can't find ADF web services data control configuration pages.
    do we need to manually change XML file.
    Thanks..

    sorry. I miss the structure windows..
    I see the menu.
    in my opinion this setting need to be done on the item.
    Also We can't refresh Web servise parameter list from there.
    is tehre any where to refresh parameter list.

  • ADF  Page Web service Data Control

    Hi,
    I am using JDeveloper 11.1.1.3
    I am trying to create a WSDC from an URI using WSDC Wizard(File --> New --> Web Services --> Web Service Data Control)
    It lets me through the last page, When i click finish it is throwing the following error
    I am getting Create Data Control Failed Dialog and it Says
    DCA-29000: Unexpected exception caught:
    java.lang.NullPointerException, msg=null
    Please Let me know what can be the problem. I have tried adding the EJB3.0 library but still no luck
    Thanks,
    Srini

    There might be something invalid in your WSDL.
    Try to create a Java Web Service Proxy for this WSDL in JDeveloper and see if that works.

  • Unable to find Web Service Data Control in Menu

    Hi
    I am trying to call a web service from ADF. For that, I want to create a web service data control
    As I understand, if I right click on the Model project, I should see the Web Service Data control under Business Tier > Web Services. (as shown in Sec 2.1 of -- http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html#WsProxyPojoControl)
    However, I am not able to find this entry in there.
    I have tried the following things:
    I have tried with Jdev 10.1.3.5, 10.1.3.4 and 10.1.3.1
    I have tried selecting all the technology templates available for creating applications
    - No Template
    - Web Application [ JSF, EJB, Toplink]
    - Web Application [ JSF, ADF]
    - Web Application [ JSF, EJB
    - Web Application [ JSF, Struts,ADF] ......and everthing else...
    I still cant see the web service proxy.
    I next opened the Sample ADFToystore application, and I could see the Web service Data control there !....that means my jdev is not faulty...something else is missing.
    So I tried to see what all libraries are selected.... I saw that a library named 'Web Service Data Control' is there in the project, which is not there in the model project of applications I created. So I added this library to the project but still it did not work..
    Next I added ALL libraries that I could see in the libraries section of Project Properties....still no luck
    I am sure I am missing something basic. Can anybody please help.
    Rgds,
    Amit

    Hi Amit,
    try to set filter above in New Gallery to Filter By: All Technologies
    regards,
    Branislav

  • How can I create a query with web service data control?

    I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.

    Hi,
    This might help
    *054.     Search form using ADF WS Data Control and Complex input types*
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • Getting errors when creating Web Services Data Control in Jdev 11.1.2.4.0

    Hi
    I am on Jdev 11.1.2.4.0 Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
    When I am trying to create Web Services Data Control for SOAP, it gives 'Invalid WSDL File' for any WSDL file and shows following error:
    oracle/adfdtinternal/model/adapter/webservice/utils/WSUtils$DefaultAuthPrompter
    and in 'feedback' tab:
    Already logged bug for [NoClassDefFoundError in o.j.webservices.wsdl.CachedWSDLReader:394]
    Also if I try to create a new Request in HTTPAnalyzer and give a WSDL it shows following exception:
    java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
         ... 4 more
    followed by "The string <WSDL URL> is not a valid WSDL".
    If I try to create a REST WS Datacontrol, it shows error:
    NoClassDefFoundError in o.adf.model.connection.url.HttpUrlConnection:146
    Entire stack trace is attached.
    Please let me know if these are known issues and if there is any workaround.
    Thanks

    Don't see any way to attach file. So here is the entire trace:
    Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (1046) Create New Request [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
    oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 4:46:51 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
    WARNING: A problem has been found building the mdds model
    java.io.IOException: java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
         ... 4 more
    Caused by: java.lang.ClassNotFoundException: HTTPClient.AuthorizationPrompter
         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         ... 31 more
    oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 4:47:52 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
    WARNING: A problem has been found building the mdds model
    java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
         ... 4 more
    Performing action (13) Save All [ from SOAPMessageEditor ] [ for ( HTTP Analyzer : Unsent Message, <none>, <none> ) ]
    Invoking command: [ from SOAPMessageEditor ] [ for ( HTTP Analyzer : Unsent Message, <none>, <none> ) ]
    Performing action (388) JDeveloper Forum [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Performing action (388) JDeveloper Forum [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Performing action (79) About [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Invoking command: [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (279) Clear [ from MessagePage ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (9) Open... [ from MessagePage ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
    Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (455) HTTP Analyzer [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
    Performing action (1046) Create New Request [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
    oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 5:02:23 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
    WARNING: A problem has been found building the mdds model
    java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
         ... 4 more
    oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 5:03:39 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
    WARNING: A problem has been found building the mdds model
    java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
         at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
         at java.lang.ThreadLocal.get(ThreadLocal.java:131)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
         at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
         ... 4 more
    Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
    java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
    java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
    o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
    o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
    o.ji.connection.url.dialogs.ConnectionPanel.testConnection(ConnectionPanel.java:551)
    o.ji.connection.url.dialogs.ConnectionController.actionPerformed(ConnectionController.java:174)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    j.a.Component.processMouseEvent(Component.java:6297)
    jx.s.JComponent.processMouseEvent(JComponent.java:3275)
    j.a.Component.processEvent(Component.java:6062)
    j.a.Container.processEvent(Container.java:2039)
    j.a.Component.dispatchEventImpl(Component.java:4660)
    j.a.Container.dispatchEventImpl(Container.java:2097)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
    j.a.Container.dispatchEventImpl(Container.java:2083)
    j.a.Window.dispatchEventImpl(Window.java:2489)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
    j.a.EventQueue.access$400(EventQueue.java:81)
    j.a.EventQueue$2.run(EventQueue.java:633)
    j.a.EventQueue$2.run(EventQueue.java:631)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$3.run(EventQueue.java:647)
    j.a.EventQueue$3.run(EventQueue.java:645)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:644)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    j.a.Dialog$1.run(Dialog.java:1052)
    j.a.Dialog$3.run(Dialog.java:1104)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1102)
    j.a.Component.show(Component.java:1591)
    j.a.Component.setVisible(Component.java:1543)
    j.a.Window.setVisible(Window.java:843)
    j.a.Dialog.setVisible(Dialog.java:987)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    o.ji.connection.url.dialogs.URLConnectionDialog.runDialog(URLConnectionDialog.java:117)
    o.ji.connection.url.dialogs.URLConnectionDialog.invoke(URLConnectionDialog.java:85)
    o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.launchURLConnectionDialog(RestConnectionPanel.java:427)
    o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.access$000(RestConnectionPanel.java:93)
    o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel$1.actionPerformed(RestConnectionPanel.java:201)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    j.a.Component.processMouseEvent(Component.java:6297)
    jx.s.JComponent.processMouseEvent(JComponent.java:3275)
    j.a.Component.processEvent(Component.java:6062)
    j.a.Container.processEvent(Container.java:2039)
    j.a.Component.dispatchEventImpl(Component.java:4660)
    j.a.Container.dispatchEventImpl(Container.java:2097)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
    j.a.Container.dispatchEventImpl(Container.java:2083)
    j.a.Window.dispatchEventImpl(Window.java:2489)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
    j.a.EventQueue.access$400(EventQueue.java:81)
    j.a.EventQueue$2.run(EventQueue.java:633)
    j.a.EventQueue$2.run(EventQueue.java:631)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$3.run(EventQueue.java:647)
    j.a.EventQueue$3.run(EventQueue.java:645)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:644)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    j.a.Dialog$1.run(Dialog.java:1052)
    j.a.Dialog$3.run(Dialog.java:1104)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1102)
    j.a.Component.show(Component.java:1591)
    j.a.Component.setVisible(Component.java:1543)
    j.a.Window.setVisible(Window.java:843)
    j.a.Dialog.setVisible(Dialog.java:987)
    o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
    o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
    o.adfdtinternal.model.adapter.webservice.wizard.WSDCWizard.runWizard(WSDCWizard.java:553)
    o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invokeDCWizard(JdxPKWSAddin.java:155)
    o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invoke(JdxPKWSAddin.java:91)
    o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
    o.i.wizard.WizardManager$1.run(WizardManager.java:530)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:672)
    j.a.EventQueue.access$400(EventQueue.java:81)
    j.a.EventQueue$2.run(EventQueue.java:633)
    j.a.EventQueue$2.run(EventQueue.java:631)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:642)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by:
    java.lang.ClassNotFoundException: HTTPClient.HTTPConnection
    org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    j.lang.ClassLoader.loadClass(ClassLoader.java:247)
    o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
    o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
    o.ji.connection.url.dialogs.ConnectionPanel.testConnection(ConnectionPanel.java:551)
    o.ji.connection.url.dialogs.ConnectionController.actionPerformed(ConnectionController.java:174)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    j.a.Component.processMouseEvent(Component.java:6297)
    jx.s.JComponent.processMouseEvent(JComponent.java:3275)
    j.a.Component.processEvent(Component.java:6062)
    j.a.Container.processEvent(Container.java:2039)
    j.a.Component.dispatchEventImpl(Component.java:4660)
    j.a.Container.dispatchEventImpl(Container.java:2097)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
    j.a.Container.dispatchEventImpl(Container.java:2083)
    j.a.Window.dispatchEventImpl(Window.java:2489)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
    j.a.EventQueue.access$400(EventQueue.java:81)
    j.a.EventQueue$2.run(EventQueue.java:633)
    j.a.EventQueue$2.run(EventQueue.java:631)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$3.run(EventQueue.java:647)
    j.a.EventQueue$3.run(EventQueue.java:645)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:644)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    j.a.Dialog$1.run(Dialog.java:1052)
    j.a.Dialog$3.run(Dialog.java:1104)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1102)
    j.a.Component.show(Component.java:1591)
    j.a.Component.setVisible(Component.java:1543)
    j.a.Window.setVisible(Window.java:843)
    j.a.Dialog.setVisible(Dialog.java:987)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    o.ji.connection.url.dialogs.URLConnectionDialog.runDialog(URLConnectionDialog.java:117)
    o.ji.connection.url.dialogs.URLConnectionDialog.invoke(URLConnectionDialog.java:85)
    o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.launchURLConnectionDialog(RestConnectionPanel.java:427)
    o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.access$000(RestConnectionPanel.java:93)
    o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel$1.actionPerformed(RestConnectionPanel.java:201)
    jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    j.a.Component.processMouseEvent(Component.java:6297)
    jx.s.JComponent.processMouseEvent(JComponent.java:3275)
    j.a.Component.processEvent(Component.java:6062)
    j.a.Container.processEvent(Container.java:2039)
    j.a.Component.dispatchEventImpl(Component.java:4660)
    j.a.Container.dispatchEventImpl(Container.java:2097)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
    j.a.Container.dispatchEventImpl(Container.java:2083)
    j.a.Window.dispatchEventImpl(Window.java:2489)
    j.a.Component.dispatchEvent(Component.java:4488)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
    j.a.EventQueue.access$400(EventQueue.java:81)
    j.a.EventQueue$2.run(EventQueue.java:633)
    j.a.EventQueue$2.run(EventQueue.java:631)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    j.a.EventQueue$3.run(EventQueue.java:647)
    j.a.EventQueue$3.run(EventQueue.java:645)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:644)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    j.a.Dialog$1.run(Dialog.java:1052)
    j.a.Dialog$3.run(Dialog.java:1104)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1102)
    j.a.Component.show(Component.java:1591)
    j.a.Component.setVisible(Component.java:1543)
    j.a.Window.setVisible(Window.java:843)
    j.a.Dialog.setVisible(Dialog.java:987)
    o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
    o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
    o.adfdtinternal.model.adapter.webservice.wizard.WSDCWizard.runWizard(WSDCWizard.java:553)
    o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invokeDCWizard(JdxPKWSAddin.java:155)
    o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invoke(JdxPKWSAddin.java:91)
    o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
    o.i.wizard.WizardManager$1.run(WizardManager.java:530)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:672)
    j.a.EventQueue.access$400(EventQueue.java:81)
    j.a.EventQueue$2.run(EventQueue.java:633)
    j.a.EventQueue$2.run(EventQueue.java:631)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:642)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)

  • Web service data control

    how to web service data control security username and password with executewithparams or bean ?

    hi Abdelkader
    After you find the wizard ...
    ... this post by Shay Shmeltzer could be relevant
    "Re: ADF binding on Web Service Data Controls "
    Re: ADF binding on Web Service Data Controls
    "Indeed there seem to be a problem with this in 10.1.3.2 - I'll bug this."
    success
    Jan Vervecken

  • Web service data control based on SOA flow

    Hello,
    I have an ADF application developed with JDev 11.1.1.2.0. This application uses some web service data controls based on a SOA flow that receives a complex data type as an input parameter and also returns a collection of complex data type.
    I have a page that has some comboboxes boundto the input parameters for the flow, a button that is bound to an operation exposed by the web service and a table binded to the return of the web service.
    The problem is that when i press the button, multiple instances of the SOA web services are created.
    Can you please help with this problem?
    Thanks,
    Daniela

    Daniela,
    Are you executing the method programatically from bean? Can elaborate on what you mean by
    The problem is that when i press the button, multiple instances of the SOA web services are created. Also, check out this blog on executing the method programatically by constructing the parameters to be passed.
    https://blogs.oracle.com/aramamoo/entry/executing_put_operation_of_rest
    -Arun

  • Mobile app based on web service data control and VO with VC runtime error

    Hi,
    Jdev 11.1.2.3.0 + mobile extension.
    Windows 7, 64 bit.
    Reproduceable with Android emulator but not on iOS and iOS emulator.
    I can not test on real Android device because we do not have it in our office.
    So I don't know wether this issue is related to android emulator only or to android in general.
    Also not reproduceable by Oracle support.
    I have a VO "Employees" with a VC "department_id = :departmentIdVariable" and exposed the find method for this VO via service interface in AM.
    (see demo video from https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile?utm_source=dlvr.it&utm_medium=facebook).
    In a ADF mobile app I create a parameter form and amx:listView like demoed in the mentioned video.
    Whenever I test this app on android emulator I get the error below.
    Exact the same page used in a second feature works fine.
    I found out that the problem only occures on the first attept (this means when I open the page on the second feature first then this will fail and the subsequent call of the first page will be successfull).
    The problem does not occure when the web service data control does not contain a method based on VC with bind variable.
    [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Unable to load Data Control testDataControl due to following error: ERROR [oracle.adfmf.framework.exception.AdfException] - Unable to load definition for testDataControl.Types.findEmployeesView1DepartmentIdCriteria.findCriteria.childFindCriteria.findAttribute.
    ERROR [oracle.adfmf.framework.exception.AdfException] - Unable to load definition for testDataControl.Types.findEmployeesView1DepartmentIdCriteria.findCriteria.childFindCriteria.findAttribute
    at oracle.adfmf.metadata.bean.transform.TransformCacheProvider.fetch(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
    at oracle.adfmf.cache.SimpleCache.get(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;(Compiled Method)(Unknown Source)
    at oracle.adfmf.metadata.cache.MetaDataCache.getByLocation(Ljava/lang/String;)Loracle/adfmf/util/XmlAnyDefinition;(Unknown Source)
    at oracle.adfmf.metadata.cache.MetaDataFrameworkManager.getJavaBeanDefinitionByName(Ljava/lang/String;)Loracle/adfmf/metadata/bean/JavaBeanDefinition;(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.ws.WebServiceObject.registerBean(Loracle/adfmf/metadata/dcx/AdapterDataControlDefinition;Loracle/adfmf/metadata/dcx/soap/SoapDefinitionDefinition;)V(Unknown Source)
    at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadDataControlDefinition(Loracle/adfmf/metadata/dcx/AdapterDataControlDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.GenericJavaBeanDataControlAdapter.loadDataControl(Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.setDataProvider(Ljava/lang/Object;)V(Unknown Source)
    at oracle.adf.model.adapter.DataControlFactoryImpl.createDataControl(Loracle/adfmf/bindings/dbf/AmxBindingContext;Loracle/adfmf/util/XmlAnyDefinition;Ljava/util/Map;)Loracle/adfmf/bindings/DataControl;(Unknown Source)
    Does anyone has seen the above error ?
    I have recreated the model and mobile app more than 20 times, re-installed Jdev, re-created Jdev settings (integrated WLS & Co), ran the web services on a different machine.
    On my site this problem is 100% reproduceable with android emulator.
    regards
    Peter

    Hi, Peter, this could be an issue with proxy server setting. Are you behind a firewall when you test this?
    iOS simulator would use Mac's proxy setting. Android Emulator has its own proxy setup - it's a bit complicated to get to and varies based on the Android emulator you are using. For 4.1 emulator (you should always use 4.x or above emulators), you would need to go into the emulator itself, and go to settings - Wireless & Networks - click More... - Mobile Networks - Access Point Names. You should see an Access point used by the emulator to simulate network connection. Mine says "T-Mobile US". You click on it, and then you can select the proxy attribute and set it according to your office's settings.
    Hope that resolves the issue.
    Thanks,
    Joe Huang

  • Request parameter of Web Service Data Control shows up as an Object

    I have deployed a simple web service on a peoplesoft instance.
    The request message is:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="SSR_CLASS_SEARCH_REQ">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="INSTITUTION" type="xsd:string" nillable="true"/>
    <xsd:element name="TERM" type="xsd:string" nillable="true"/>
    <xsd:element name="CAREER" type="xsd:string" nillable="true"/>
    <xsd:element name="SUBJECT" type="xsd:string" nillable="true"/>
    <xsd:element name="CLASS_NBR" type="xsd:int" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    While the response message has a depth of three levels:
    In jdev 11g (Studio Edition Version 11.1.1.1.0, Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) the one available for download on OTN, I perform the following steps.
    Create a Web Service Data control using the WSDL url, generated from the PSFT end.
    The Data control creates successfully. The problem is:
    - In the service operation method (in the data control) the request parameter is shown as an Object.
    - The entry under the service operation parameter tree, is 'paramater'
    The data control looks like:
    - <datacontrolname>
    - <serviceOperationName>_parameters
    - parameter
    - CAREER
    - CLASS_NBR
    - INSTITUTION
    - SUBJECT
    - TERM
    - <serviceOperationName>(Object)
    - Parameters
    - parameter
    - Return
    - <Return type>
    The return type shows up fine, with collections in hierarchy of a depth of tree.
    How do I create a parameter form for this data control.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • [Solved]Web Service Data Control operation not visible in Data Controls

    Hi!
    I've created Web Service Data Control (named MyDataControl ) in my DataModel project for my web application (ADF BC 10.1.3.3). I've finished the wizard successfully (added initiate operation to the right side in step 2: Data Control Operations) but when the wizard finishes the initiate operation is not visible in the Data Controls (MyDataControl is visible without the operation). I'm using CVS so I think maybe some files were write protected while creating the control.
    These are the files where Data Control is written to:
    DataControls.dcx:
      <AdapterDataControl id="MyDataControl" FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
                          ImplDef="oracle.adfinternal.model.adapter.webservice.WSDefinition" SupportsTransactions="false"
                          SupportsSortCollection="false" SupportsResetState="false" SupportsRangesize="false"
                          SupportsFindMode="false" SupportsUpdates="false" Definition="MyDataControl"
                          BeanClass="MyDataControl" xmlns="http://xmlns.oracle.com/adfm/datacontrol">
        <Source>
          <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice" name="MyDataControl" version="1.0"
                      provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider"
                      wsdl="my_wsdl_location">
            <service name="MyService" namespace="urn:eu.emsa.ssn" connection="MyDataControl">
              <port name="MyServicePort">
                <operation name="initiateMyService">
                  <dataformat format="XML"/>
                </operation>
              </port>
            </service>
          </definition>
        </Source>
      </AdapterDataControl>and MyDataControl.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="10.1.3.41.57" id="MyDataControl"
              BeanClass="MyDataControl" isJavaBased="false">
      <MethodAccessor id="initiateMyService">
        <ParameterInfo id="ReplyTo_Address" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="ReplyTo_PortType" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="ReplyTo_ServiceName_PortName" Type="java.lang.Object" isStructured="false"/>
        <ParameterInfo id="ReplyTo_ServiceName" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="MessageID" Type="java.lang.String" isStructured="false"/>
        <ParameterInfo id="payload" Type="java.lang.String" isStructured="false"/>
      </MethodAccessor>
    </JavaBean>A couple of days ago I've created a Data Control for another BPEL process the same way and everything was OK.
    Any ideas why this is not working?
    Regards!
    BB
    Message was edited by:
    Brokenbone

    Found out the reason. The problem was in ...MyApp\.adf\META-INF\connections.xml file which had write protection.
    BB

  • Web service connection problem via web service data control (SOAP/REST)

    Hi
    I developed a simple "hello word" web service that I deployed on Integrated WLS.
    Web service works fine - I tested it from SoapUI.
    I created another application to call "hello word" using  "web service data control (SOAP/REST)" in JDeveloper.
    When I test it via "Oracle ADF Model Tester" application works as I'm expecting, but when I create JSPX page,
    drag and drop webservice method as ADF parameter form and run it receive notification (screenshot):
    "WSM-07620 : Agent cannot enforce policies due to either failure in retrieving polices or error in validations, detail= "WSM-02557 The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(@appliesTo~="WS-CONNECTION()")(policysets:global/%)" is queued for later retrieval. "."
    What I'm doing wrong?
    Why I'm able to access web service from any other application but not from jdeveloper?
    Regards

    Hi,
    I am not sure which JDev you are using, but looks like you have some policies setup for WSDC using GPA (global policy attachment) and your policy manager(wsm-pm) is not running. Can you check if the wsm-pm application is properly deployed in your Integrated WLS. You can see this from the list of deployed apps in WLS console.
    -Vishal

  • Web Service Data Control XMLDOMException exception

    This issue is produced when we have Web Service Data Control (D.C.) used as reference data provider and is used as List Data Source in selectOneChoice. This happens only when we have the data control created directly from the WSDL. If we create a WS Proxy first and then we create a D.C. from the proxy interface, we don't have this issue. How can we use the D.C. directly without creating a WS proxy ?
    Here are some snippets:
    from page definition file
    <executables>
    <accessorIterator MasterBinding="EmployeeIterator"
    Binds="workedForDepartments" RangeSize="25"
    DataControl="EditTaskUI_EditTask"
    BeanClass="EditTaskUI_EditTask.DepartmentType"
    id="workedForDepartmentsIterator"/>
    <methodIterator Binds="getDepartments.result"
    DataControl="ReferenceDataServiceWebServiceDC"
    RangeSize="25"
    BeanClass="referencedataservicewsdc.ReferenceDataServiceWebServiceDC.getDepartments"
    id="getDepartmentsIterator"/>
    <accessorIterator MasterBinding="getDepartmentsIterator" Binds="Department"
    RangeSize="-1"
    DataControl="ReferenceDataServiceWebServiceDC"
    BeanClass="referencedataservicewsdc.ReferenceDataServiceWebServiceDC.getDepartments.Department"
    id="DepartmentIterator"/>
    </executables>
    <bindings>
    <list IterBinding="workedForDepartmentsIterator" id="departments"
    DTSupportsMRU="true" StaticList="false" ListIter="DepartmentIterator">
    <AttrNames>
    <Item Value="id"/>
    <Item Value="name"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="key"/>
    <Item Value="value"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="value"/>
    </ListDisplayAttrNames>
    </list>
    <methodAction id="getDepartments" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="getDepartments"
    IsViewObjectMethod="false"
    DataControl="ReferenceDataServiceWebServiceDC"
    InstanceName="ReferenceDataServiceWebServiceDC"
    ReturnName="data.ReferenceDataServiceWebServiceDC.methodResults.getDepartments_ReferenceDataServiceWebServiceDC_getDepartments_result"/>
    </bindings>
    snippet from jsf page
    <af:selectOneChoice value="Departments"
    label="#{bindings.departments.label}"
    required="#{bindings.departments.hints.mandatory}"
    shortDesc="#{bindings.departments.hints.tooltip}"
    id="soc5">
    <f:selectItems value="#{bindings.departments.items}" id="si9"/>
    </af:selectOneChoice>
    and the wsdl used to create service, from which the D.C. is created
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="urn:ReferenceDataService"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:ReferenceDataService"
    xmlns:types="urn:ReferenceDataService/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    <types>
    <xsd:schema targetNamespace="urn:ReferenceDataService/types"
    xmlns:types="urn:ReferenceDataService/types"
    elementFormDefault="qualified">
    <xsd:element name="AddressList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="types:Address" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="DepartmentsList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="types:Department" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Address" type="types:KeyValue"/>
    <xsd:element name="Department" type="types:KeyValue"/>
    <xsd:complexType name="KeyValue">
    <xsd:sequence>
    <xsd:element name="key" type="xsd:string" maxOccurs="1" minOccurs="1" />
    <xsd:element name="value" type="xsd:string" maxOccurs="1" minOccurs="1" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="ListAddressesReqMsg"/>
    <message name="ListAddressesRespMsg">
    <part name="response" element="types:AddressList" />
    </message>
    <message name="GetAddressesReqMsg"/>
    <message name="GetAddressesRespMsg">
    <part name="response" element="types:AddressList" />
    </message>
    <message name="ListDepartmentsReqMsg"/>
    <message name="ListDepartmentsRespMsg">
    <part name="response" element="types:DepartmentsList" />
    </message>
    <message name="GetDepartmentsReqMsg"/>
    <message name="GetDepartmentsRespMsg">
    <part name="response" element="types:DepartmentsList" />
    </message>
    <portType name="ReferenceDataPort">
    <operation name="listAddresses">
    <input message="tns:ListAddressesReqMsg"/>
    <output message="tns:ListAddressesRespMsg"/>
    </operation>
    <operation name="getAddresses">
    <input message="tns:GetAddressesReqMsg"/>
    <output message="tns:GetAddressesRespMsg"/>
    </operation>
    <operation name="listDepartments">
    <input message="tns:ListDepartmentsReqMsg"/>
    <output message="tns:ListDepartmentsRespMsg"/>
    </operation>
    <operation name="getDepartments">
    <input message="tns:GetDepartmentsReqMsg"/>
    <output message="tns:GetDepartmentsRespMsg"/>
    </operation>
    </portType>
    <binding name="ReferenceDataPortSOAP11Binding" type="tns:ReferenceDataPort">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="listAddresses">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/listAddresses"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="getAddresses">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/getAddresses"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="getDepartments">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/getDepartments"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="listDepartments">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/listDepartments"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    </binding>
    <service name="ReferenceDataService">
    <port name="ReferenceDataPort" binding="tns:ReferenceDataPortSOAP11Binding">
    <soap:address location="http://service/ReferenceDataService"/>
    </port>
    </service>
    </definitions>
    Error log in the server consle
    <May 15, 2012 2:59:48 PM CEST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: invalid character : in name
    oracle.xml.parser.v2.XMLDOMException: invalid character : in name
         at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:530)
         at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:416)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.<init>(ElementImpl.java:80)
         at oracle.j2ee.ws.saaj.soap.BodyElementImpl.<init>(BodyElementImpl.java:20)
         at oracle.j2ee.ws.saaj.soap.soap11.BodyElement11.<init>(BodyElement11.java:19)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createBodyElement(SOAPImplementation11.java:120)
         at oracle.j2ee.ws.saaj.soap.BodyImpl.createChildElement(BodyImpl.java:160)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:827)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.addChildElement(ElementImpl.java:154)
         at oracle.j2ee.ws.mdds.SAAJEnvelopeBuilder.startElement(SAAJEnvelopeBuilder.java:161)
    at ....
    Here is the sample project for download
    http://www.4shared.com/zip/96UKoyvU/Exception_In_DC.html?
    Edited by: pavle on 15-May-2012 07:41

    Luis,
    lets cut this down to the most simplest testcase. You have a Web Service that allows an input argument to be null. The application based on the WSDC has a textfield and a button. The error shows if the button is pressed without you adding a value to the textfield.
    My questions are:
    - is my understanding correct ?
    - Is the WebServices created in JDeveloper 11 as well?
    - If it is created in JDeveloper 11, is it a JAX-WS Web Services, or a RPC style service ?
    Frank

Maybe you are looking for

  • Respectives G/L accounts not picking while making posting

    HI when i am making posting in FB60 and tick on calculate tax than it is not picking the respective G/L accounts , how to display the accounts because while posting it should automatically pick the accounts

  • Create Billing Document Error

    Dear Experts, When i am creating billing documents VF01 with reference of delivery dcument number its getting error that is: No Billing Documents were generated. When i saw log error it's telling  Delivery type Zxvz cannot be invoiced with billing ty

  • Currency Tranlation Type with Fiscal Year Period

    Hello Friends, I have a requirement to Choose the Currency Conversion in Context Menu right mouse click on report and then select "Currency Tranlation Type" Monthly Average (002M) thenCurrency Tranlation Type should take the fiscal period/fiscal year

  • Writing SQL statements in piublic methods

    Why shouldnt i write my sql statements in the public method itself rather than directing it to a private method and access the data base?

  • Installing tom tom western europe to iphone 3g

    downloaded this app to my ipad.then loaded it back on to imac 10.5.8.then tried to load it to my iphone and it keeps coming up with error 0xE8000004.has any one come across this.