ADFMobile - Web service data control problem for android

Hi,
I created an application for android and testing it on an emulator.
I am able to create web service data control for a jax-ws web service. But when I invoke the web service and the call comes to the web service host, there are no namespaces in some of the parameters. Typically, the tags which do not have the namespace are complexTypes. All the values of the parameters come properly. I have tried executing the data control in three different manners but still no luck.
AdfmfJavaUtilities.invokeDataControlMethod(..);
AmxMethodActionBinding.execute();
+#{bindings.invokeMethod.execute}+
Thanks.

Hi there,
Can you try to generate a sample JAX-WS the generates a similar complex structure that can help you and us to isolate the issue? I created a jax-ws service using simple complex type on Ubuntu and also a client mobile application getting no problems running it. But, perhaps you are using a more complex structure, hence an standalone would be very useful.
Juan C.
Edited by: Juan Camilo Ruiz on Dec 10, 2012 4:00 PM

Similar Messages

  • 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

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

  • 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

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

  • 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 Services Data Control - Complex type bindings

    I am calling a web services using the web service data control. The request object is a complex type. I observed that some data managed to bind but some failed to bind (empty value on the outbound SOAP payload). Specifically, all the "scalar" elements within the complex type managed to bind. For example the following element snippet within the overall complex data did not bind the value entered to the SOAP payload:
    <xsd:element minOccurs="0" name="zones">
    <xsd:annotation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" maxOccurs="unbounded" minOccurs="1" name="zone"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    While the following complex element within the same payload managed to bind value entered:
    <xsd:element minOccurs="0" name="orderBy">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element maxOccurs="unbounded" minOccurs="1" name="orderByItem">
    <xsd:complexType>
    <xsd:all>
    <xsd:element type="xsd:string" name="fieldName"/>
    <xsd:element type="xsd:boolean" name="ascending"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    Any bug report of this?
    Cheers
    Boon

    Hi Frank,
    Thanks for the response. I looked further into the problem. This is what I found.
    This is error message:
    javax.xml.ws.soap.SOAPFaultException: Foundation Engine Error: '' is an Invalid search zone. Valid zones include: 'id_object','name','published.name','comment_text','published.comment_text','note','document_extension','published.document_extension','physical_id','file_title','published.created_by','content'
    I turned on the trace and found the following message:
    [SRC_METHOD: parse] [225] No XML file /ObjectiveSearch/send/params/searchRequest/searchInput/searchInfo/zones/zones.xml for metaobject ObjectiveSearch.send.params.searchRequest.searchInput.searchInfo.zones.zones
    But when I looked into the model directory, I only able to find:
    H:\JDeveloper\AdvancedSearch\Model\adfmsrc\ObjectiveSearch\send\params\searchRequest\searchInput\searchInfo\zones\zone.xml
    It seems that WS data controller adapter is looking for zones/zones.xml. The wsdl specify zones with sub-elements(sequence) of zone (see wsdl below). The correct structure (zones/zone) is shown on the web service data control pallete and I can bind it to a JSF page.
    wsdl:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wscoor="http://docs.oasis-open.org/ws-tx/wscoor/2006/06" xmlns:tns="urn:objective.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude" targetNamespace="urn:objective.com" name="searchService">
    <wsp:Policy wsu:Id="WSSPortBindingInputPolicy">
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:TransportBinding>
    <wsp:Policy>
    <wsp:All>
    <sp:TransportToken>
    <wsp:Policy>
    <sp:HttpsToken RequireClientCertificate="false"/>
    </wsp:Policy>
    </sp:TransportToken>
    <sp:AlgorithmSuite>
    <wsp:Policy>
    <sp:Basic128/>
    </wsp:Policy>
    </sp:AlgorithmSuite>
    <sp:Layout>
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:Strict/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:Layout>
    <sp:IncludeTimestamp/>
    </wsp:All>
    </wsp:Policy>
    </sp:TransportBinding>
    <sp:EndorsingSupportingTokens>
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:WssX509V3Token10/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:EndorsingSupportingTokens>
    <sp:SignedParts>
    <sp:Body/>
    </sp:SignedParts>
    <sp:SignedSupportingTokens>
    <wsp:Policy>
    <wsp:All>
    <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:NoPassword/>
    </wsp:Policy>
    </sp:UsernameToken>
    </wsp:All>
    </wsp:Policy>
    </sp:SignedSupportingTokens>
    <sp:Wss11>
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:MustSupportRefIssuerSerial/>
    <sp:MustSupportRefKeyIdentifier/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:Wss11>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <wsp:Policy wsu:Id="WSSPortBindingOutputPolicy">
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:EndorsingSupportingTokens>
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Always">
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:WssX509V3Token10/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:EndorsingSupportingTokens>
    <sp:SignedParts>
    <sp:Body/>
    </sp:SignedParts>
    <sp:Wss11>
    <wsp:Policy>
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:MustSupportRefIssuerSerial/>
    <sp:MustSupportRefKeyIdentifier/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    </sp:Wss11>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    <types>
    <xsd:schema targetNamespace="urn:objective.com">
    <xsd:simpleType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="logicalOperatorType">
    <xsd:annotation>
    <xsd:documentation>The type of join of the condition 'and' 'or'.
                   </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="and"/>
    <xsd:enumeration value="or"/>
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:complexType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="expressionType">
    <xsd:sequence>
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
    <xsd:element maxOccurs="unbounded" minOccurs="0" type="tns:expressionType" name="expression"/>
    <xsd:element maxOccurs="unbounded" minOccurs="0" type="tns:metadataCondition" name="condition"/>
    </xsd:choice>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="metadataCondition">
    <xsd:annotation>
    <xsd:documentation>
    </xsd:documentation>
    </xsd:annotation>
    <xsd:all>
    <xsd:element type="tns:logicalOperatorType" name="logicalOperator"/>
    <xsd:element type="xsd:string" name="field"/>
    <xsd:element type="xsd:string" name="operator"/>
    <xsd:element minOccurs="0" type="xsd:string" name="value"/>
    </xsd:all>
    </xsd:complexType>
    <xsd:element xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="searchRequest">
    <xsd:annotation>
    <xsd:documentation>
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="searchInput">
    <xsd:complexType>
    <xsd:all>
    <xsd:element name="searchInfo">
    <xsd:complexType>
    <xsd:all>
    <xsd:element minOccurs="0" name="objectTypes">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element maxOccurs="unbounded" minOccurs="1" type="xsd:string" name="objectType">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:int" name="numResults">
    <xsd:annotation>
    <xsd:documentation>The maximum number of results to     search for.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:boolean" name="showDeleted">
    <xsd:annotation>
    <xsd:documentation>Show deleted objects in the search results?</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="textQuery">
    <xsd:annotation>
    <xsd:documentation>A Verity text query, by default the     syntax of the query is "Internet" but can also be changed     to 'Verity' via the query syntax argument.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element type="xsd:string" minOccurs="0" name="syntax">
    <xsd:annotation>
    <xsd:documentation>The syntax of the search query either
                                                                     'Internet' (default) or 'Verity'.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" name="searchScopes">
    <xsd:annotation>
    <xsd:documentation>Search scopes to include in the
                                                                     search.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" maxOccurs="unbounded" minOccurs="1" name="searchScope"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element minOccurs="0" name="zones">
    <xsd:annotation>
    <xsd:documentation>Search zones to include in the
                                                                     search.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element type="xsd:string" maxOccurs="unbounded" minOccurs="1" name="zone"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element type="xsd:string" minOccurs="0" name="attributes">
    <xsd:annotation>
    <xsd:documentation>The attributes used when fetching
                                                                     results (these attributes are passed to inspect).
                                                                </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="behaviours">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="sections">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" name="orderBy">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element maxOccurs="unbounded" minOccurs="1" name="orderByItem">
    <xsd:complexType>
    <xsd:all>
    <xsd:element type="xsd:string" name="fieldName"/>
    <xsd:element type="xsd:boolean" name="ascending"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="searchRoot">
    <xsd:annotation>
    <xsd:documentation>The root container of the search, for a constrained search.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="depth">
    <xsd:annotation>
    <xsd:documentation>The depth to traverse.</xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    <xsd:element xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:objective.com:ecosys" name="searchResult">
    <xsd:complexType>
    <xsd:all>
    <xsd:element type="xsd:string" name="resultId">
    <xsd:annotation>
    <xsd:documentation></xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element type="xsd:int" name="numberOfResults">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element type="xsd:boolean" name="sorted">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    <xsd:element minOccurs="0" type="xsd:string" name="sortError">
    <xsd:annotation>
    <xsd:documentation>     </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    </xsd:all>
    <xsd:attribute name="instanceDomain" type="xsd:string"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </types>
    <message name="searchRequest">
    <part name="searchRequest" element="tns:searchRequest"/>
    </message>
    <message name="searchResult">
    <part name="searchResult" element="tns:searchResult"/>
    </message>
    <portType name="searchPortType">
    <operation name="send">
    <input message="tns:searchRequest"/>
    <output message="tns:searchResult"/>
    </operation>
    </portType>
    <binding name="searchBinding" type="tns:searchPortType">
    <wsp:PolicyReference URI="#WSSPortBindingInputPolicy"/>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="send">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <wsp:PolicyReference URI="#WSSPortBindingOutputPolicy"/>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="searchService">
    <documentation>"search" service.</documentation>
    <port name="searchPort" binding="tns:searchBinding">
    <soap:address location="https://youContentServer:443/services/search"/>
    </port>
    </service>
    </definitions>
    Cheers
    Boon

  • Web Service Data Controls don't refresh properly.

    I am runing JDeveloper Studio Edition 10.1.3.2.0.4066
    I have developed several Web Service Data Controls and pages to use them to display output. The pages seem to have a problem refreshing output when the value of the input parameter is changed, but only once data has been successfully fetched once.
    I have tried several settings for the refresh attribute:
    IfNeeded: retrieves data only once. Even if other valid values are put in, displays same data. Values that would retrieve no data show a blank screen UNTIL a data set is retrieved, then goes to same data displayed instead of blank form.Scrolls through multiple records. This is true for every option which has IfNeeded in the name
    Always: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. Scrolling is broken because every time I hit the navigation buttons, the screen refreshes and puts the current row back at the first record.
    PrepareModel: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. It will scroll thru records, but every couple of records I get this error:
    JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[1 ]
    RenderModel: Same as IfNeeded.
    This is the wsdl I used to build the data control:
    http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0/Rqn?wsdl
    Here are the results from the wsdl:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="Rqn" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/Rqn" xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/Rqn">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" location="RqnService.wsdl" />
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="RqnProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="RqnProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="RqnRequestMessage">
    <part name="payload" element="ns1:RqnServiceSelect_p_nsnInputParameters" />
    </message>
    - <message name="RqnResponseMessage">
    <part name="payload" element="ns1:RqnAllTabCollection" />
    </message>
    - <portType name="Rqn">
    - <operation name="process">
    <input message="tns:RqnRequestMessage" />
    <output message="tns:RqnResponseMessage" />
    </operation>
    </portType>
    - <binding name="RqnBinding" type="tns:Rqn">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="process">
    <soap:operation style="document" soapAction="process" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="Rqn">
    - <port name="RqnPort" binding="tns:RqnBinding">
    <soap:address location="http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="Rqn">
    - <plnk:role name="RqnProvider">
    <plnk:portType name="tns:Rqn" />
    </plnk:role>
    </plnk:partnerLinkType>
    This is the pageDef file for the output page:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.40.66" id="showRqnPageDef"
    Package="app1.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables" Refresh="always"/>
    <methodIterator id="processIter" Binds="process.result"
    DataControl="ceresRqn" RangeSize="10"
    BeanClass="ceresRqn.process" Refresh="ifNeeded"/>
    <accessorIterator id="RqnAllTabIterator" RangeSize="10" Binds="RqnAllTab"
    DataControl="ceresRqn"
    BeanClass="ceresRqn.process.RqnAllTab"
    MasterBinding="processIter" Refresh="ifNeeded"/>
    <invokeAction id="qryRqn" Binds="process" Refresh="renderModel"/>
    </executables>
    <bindings>
    <methodAction id="process" InstanceName="ceresRqn" DataControl="ceresRqn"
    MethodName="process" RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="ceresRqn.methodResults.ceresRqn_process_result">
    <NamedData NDName="p_nsn" NDValue="${processScope.holdNsn}"
    NDType="java.lang.String" NDOption="2"/>
    </methodAction>
    <attributeValues id="boStatus" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="boStatus"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dob" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dob"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="docDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="docDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dorraRecTyp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dorraRecTyp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="extractDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="extractDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="matlRcptAcknDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="matlRcptAcknDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="modeShp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="modeShp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="nsn" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="nsn"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="quantity" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="quantity"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="rdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="rdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDoc" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDoc"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDocItm" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDocItm"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLin" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLin"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLinDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLinDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdQty" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdQty"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="statusCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="statusCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="suffix" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="suffix"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzdmdCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzdmdCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzfundCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzfundCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zznonStdRdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zznonStdRdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzorigDocNbr" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzorigDocNbr"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzpriCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzpriCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzprojCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzprojCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsigCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsigCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsuppAdrs" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsuppAdrs"/>
    </AttrNames>
    </attributeValues>
    <action id="First" RequiresUpdateModel="true" Action="12"
    IterBinding="RqnAllTabIterator"/>
    <action id="Previous" RequiresUpdateModel="true" Action="11"
    IterBinding="RqnAllTabIterator"/>
    <action id="Next" RequiresUpdateModel="true" Action="10"
    IterBinding="RqnAllTabIterator"/>
    <action id="Last" RequiresUpdateModel="true" Action="13"
    IterBinding="RqnAllTabIterator"/>
    <action IterBinding="RqnAllTabIterator" id="Execute"
    InstanceName="ceresRqn.process.return.RqnAllTab"
    DataControl="ceresRqn" RequiresUpdateModel="true" Action="2"/>
    </bindings>
    </pageDefinition>
    Any help would be welcome.

    After adding a refresh condition, RefreshCondition="${adfFacesContext.postback == false}", to the invokeAction for the Execute operation, I was able to query new data when the parameter changed, and maintain correct scrolling behavior. Thanks to Oracle's Chintan Shah for helping me confirm this solution.
    However, I still have a problem. If I get a set of data and then pass a parameter which would cause the web service to return no data (a null result set), the screen displays the old set of data rather than a blank screen. Does anyone have a solution to this problem?

  • 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

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

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

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

  • Partial Solution:Web Service Data Controls don't refresh properly.

    I am runing JDeveloper Studio Edition 10.1.3.2.0.4066
    I have developed several Web Service Data Controls and pages to use them to display output. The pages seem to have a problem refreshing output when the value of the input parameter is changed, but only once data has been successfully fetched once.
    I have tried several settings for the refresh attribute:
    IfNeeded: retrieves data only once. Even if other valid values are put in, displays same data. Values that would retrieve no data show a blank screen UNTIL a data set is retrieved, then goes to same data displayed instead of blank form.Scrolls through multiple records. This is true for every option which has IfNeeded in the name
    Always: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. Scrolling is broken because every time I hit the navigation buttons, the screen refreshes and puts the current row back at the first record.
    PrepareModel: retrieves different data every time the parameter value changes. If the parameter value would result in no data being retrieved, the screen displays the last data retrieved with another value instead of blank. It will scroll thru records, but every couple of records I get this error:
    JBO-35007: Row currency has changed since the user interface was rendered. The expected row key was oracle.jbo.Key[1 ]
    RenderModel: Same as IfNeeded.
    This is the wsdl I used to build the data control:
    http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0/Rqn?wsdl
    Here are the results from the wsdl:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="Rqn" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/Rqn" xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/Rqn">
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/Rqn" location="RqnService.wsdl" />
    - <types>
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/Rqn" xmlns="http://www.w3.org/2001/XMLSchema">
    - <element name="RqnProcessRequest">
    - <complexType>
    - <sequence>
    <element name="input" type="string" />
    </sequence>
    </complexType>
    </element>
    - <element name="RqnProcessResponse">
    - <complexType>
    - <sequence>
    <element name="result" type="string" />
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    - <message name="RqnRequestMessage">
    <part name="payload" element="ns1:RqnServiceSelect_p_nsnInputParameters" />
    </message>
    - <message name="RqnResponseMessage">
    <part name="payload" element="ns1:RqnAllTabCollection" />
    </message>
    - <portType name="Rqn">
    - <operation name="process">
    <input message="tns:RqnRequestMessage" />
    <output message="tns:RqnResponseMessage" />
    </operation>
    </portType>
    - <binding name="RqnBinding" type="tns:Rqn">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="process">
    <soap:operation style="document" soapAction="process" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="Rqn">
    - <port name="RqnPort" binding="tns:RqnBinding">
    <soap:address location="http://ceres.dscr.dla.mil:8888/orabpel/default/Rqn/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="Rqn">
    - <plnk:role name="RqnProvider">
    <plnk:portType name="tns:Rqn" />
    </plnk:role>
    </plnk:partnerLinkType>
    This is the pageDef file for the output page:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.40.66" id="showRqnPageDef"
    Package="app1.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables" Refresh="always"/>
    <methodIterator id="processIter" Binds="process.result"
    DataControl="ceresRqn" RangeSize="10"
    BeanClass="ceresRqn.process" Refresh="ifNeeded"/>
    <accessorIterator id="RqnAllTabIterator" RangeSize="10" Binds="RqnAllTab"
    DataControl="ceresRqn"
    BeanClass="ceresRqn.process.RqnAllTab"
    MasterBinding="processIter" Refresh="ifNeeded"/>
    <invokeAction id="qryRqn" Binds="process" Refresh="renderModel"/>
    </executables>
    <bindings>
    <methodAction id="process" InstanceName="ceresRqn" DataControl="ceresRqn"
    MethodName="process" RequiresUpdateModel="true" Action="999"
    IsViewObjectMethod="false"
    ReturnName="ceresRqn.methodResults.ceresRqn_process_result">
    <NamedData NDName="p_nsn" NDValue="${processScope.holdNsn}"
    NDType="java.lang.String" NDOption="2"/>
    </methodAction>
    <attributeValues id="boStatus" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="boStatus"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dob" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dob"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="docDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="docDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="dorraRecTyp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="dorraRecTyp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="extractDate" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="extractDate"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="matlRcptAcknDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="matlRcptAcknDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="modeShp" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="modeShp"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="nsn" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="nsn"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="quantity" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="quantity"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="rdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="rdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDoc" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDoc"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSalesDocItm" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSalesDocItm"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLin" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLin"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="sapSchdlLinDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="sapSchdlLinDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdDt" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdDt"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="shpdQty" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="shpdQty"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="statusCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="statusCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="suffix" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="suffix"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzdmdCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzdmdCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzfundCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzfundCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zznonStdRdd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zznonStdRdd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzorigDocNbr" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzorigDocNbr"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzpriCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzpriCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzprojCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzprojCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsigCd" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsigCd"/>
    </AttrNames>
    </attributeValues>
    <attributeValues id="zzsuppAdrs" IterBinding="RqnAllTabIterator">
    <AttrNames>
    <Item Value="zzsuppAdrs"/>
    </AttrNames>
    </attributeValues>
    <action id="First" RequiresUpdateModel="true" Action="12"
    IterBinding="RqnAllTabIterator"/>
    <action id="Previous" RequiresUpdateModel="true" Action="11"
    IterBinding="RqnAllTabIterator"/>
    <action id="Next" RequiresUpdateModel="true" Action="10"
    IterBinding="RqnAllTabIterator"/>
    <action id="Last" RequiresUpdateModel="true" Action="13"
    IterBinding="RqnAllTabIterator"/>
    <action IterBinding="RqnAllTabIterator" id="Execute"
    InstanceName="ceresRqn.process.return.RqnAllTab"
    DataControl="ceresRqn" RequiresUpdateModel="true" Action="2"/>
    </bindings>
    </pageDefinition>
    Any help would be welcome.
    Message Header was edited by:
    sdnelson

    After adding a refresh condition, RefreshCondition="${adfFacesContext.postback == false}", to the invokeAction for the Execute operation, I was able to query new data when the parameter changed, and maintain correct scrolling behavior. Thanks to Oracle's Chintan Shah for helping me confirm this solution.
    However, I still have a problem. If I get a set of data and then pass a parameter which would cause the web service to return no data (a null result set), the screen displays the old set of data rather than a blank screen. Does anyone have a solution to this problem?

  • Displaying data from Web Service Data Control on a page

    Hi,
    I have a problem with a Web Service Data Control.
    The web service is executed:
    1) When the page (.jspx) is loading. Every time that the page is loaded, the web service is executed!
    2) From a submit button. In this case the web servide is executed two times, in the submit and in the loading of the page.
    I want to avoid the first case because i have to reduce the called to ws. I want to use the second case to call the web service (only one time).
    How can i avoid the execution of the web service when the page (form) is loading?
    Thanks

    Hello Arun,
    I've set refreshCondition property for the iterator to #{!adfFacesContext.initialRender} but doesn't work correctly.
    I'm testing the property with the example in:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/wssamplebase-321929.zip
    I am using Oracle IDE 11.1.1.5.
    Have you got any ideas what might be the problem.
    Thanks in advance.

  • Dynamic pagination using inputs from a Web Service data control

    I am in process of creating a pagination UI component , much similiar to the one used in Oracle forums eg: Pages: 100 [1 2 3 4 5 | Next ]
    I am making use of a Web Service to get the following details for my search results :
    a) Number of search result rows (100) ,
    b) total number of rows to be shown on one page (5)
    c) Total number of pages
    I am wondering how to create the pagination UI control in my ADF Faces page and How can I bind the web service data control to the pagination component for a simple dynamic navigation
    Please advice. I am new to ADF development, so looking inputs for approach to the above elucidated problem (Code not required)

    Yes I am using <af:commandLink > component
    <af:forEach
    var="list" items="#{NavBean.list}">
    <af:spacer width="5" height="10" id="s1"/>
    <af:panelGroupLayout id="pgl2" layout="horizontal"
    halign="center"
    inlineStyle="#{list.found ? 'background-color:#aeccd8;' : 'background-color:white;'} text-align:center; width:15px; ">
    <af:commandLink text="#{list.character}" id="cl1"
    partialSubmit="true"
    disabled="#{list.found ? false : true}"
    actionListener="#{NavBean.onIndexSelected}">
    <f:attribute name="indxKey" value="#{list.character}"/>
    </af:commandLink>
    </af:panelGroupLayout>
    </af:forEach>
    I have created a NavBean managed bean with some methods and foll set of instance variable:
    List<IndexCharacterObject> list = null;
    int startRow;
    int endRow;
    int pageNumber;
    int numPages;
    int totalRows;
    I want these variables in the Managed bean class to be automatically populated from the Web Service data control .. Not sure how to go about binding these values ?

Maybe you are looking for