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

Similar Messages

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

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

  • 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

  • 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

  • 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

  • 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

  • JBO-25080 error on using web service data control

    Not getting any responses to this. Is this a bug? and if so, how can I file the bug?
    Hi
    I'm trying to use Jdev 11g to build a simple web app. The app page uses a web service data control (called "theAssetType"). But I keep getting the following error message when I try to get the "return" message widget onto the page. The name of the service on the server is CM_RJCP2.
    By the way - this service works great with the HTTP analyzer - so not sure why it doesn't work in JSF page.
    Your help greatly appreciated!
    oracle.jbo.NoDefException: JBO-25080: Definition name: CM_RJCP2 does not match the file in which it is loaded from: oracle.myweb.model.theAssetType.CM_RJCP2.CM_RJCP2
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:999)
         at oracle.jbo.mom.DefinitionManager.loadParent(DefinitionManager.java:1228)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:933)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObjectDontCheckName(DefinitionManager.java:433)
         at oracle.adf.model.bean.DCBeanDataControl.findStructureDef(DCBeanDataControl.java:1884)
         at oracle.adf.model.bean.DCBeanDataControl.getAttributeDefs(DCBeanDataControl.java:1936)
         at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3142)
         at oracle.jbo.uicli.binding.MyIteratorBinding.getAttributeDefs(JUAccessorIteratorDef.java:494)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:485)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:437)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:511)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:501)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.<init>(JUCtrlValueBinding.java:3857)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:3952)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2417)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2379)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    Edited by: rjcovert on Dec 29, 2009 9:11 AM
    Edited by: rjcovert on Jan 3, 2010 8:31 AM

    Here - for reference is the wsdl
    <?xml version="1.0" ?>
    - <!-- root element wsdl:definitions defines set of related services
    -->
    - <wsdl:definitions name="CM_RJCP2" targetNamespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" xmlns:xai="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" xmlns:xaixsd="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2.xsd" xmlns:schemans1="http://oracle.com/CM_RJCP2.xsd" xmlns:schemans2="http://oracle.com/CM_RJCP2.xsd" xmlns:ouaf="urn:oracle:ouaf" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <!--
    wsdl:types encapsulates schema definitions of communication types;
    here using xsd
    -->
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
    - <xsd:element name="Fault">
    - <xsd:complexType>
    - <xsd:all>
    <xsd:element name="ResponseStatus" type="xsd:string" />
    <xsd:element name="ResponseCode" type="xsd:int" />
    <xsd:element name="ResponseText" type="xsd:string" />
    - <xsd:element name="ResponseData" minOccurs="0">
    - <xsd:complexType>
    <xsd:attribute name="parm1" type="xsd:string" />
    <xsd:attribute name="parm2" type="xsd:string" />
    <xsd:attribute name="parm3" type="xsd:string" />
    <xsd:attribute name="parm4" type="xsd:string" />
    <xsd:attribute name="parm5" type="xsd:string" />
    <xsd:attribute name="text" type="xsd:string" />
    <xsd:attribute name="category" type="xsd:string" />
    <xsd:attribute name="numParm" type="xsd:int" />
    </xsd:complexType>
    </xsd:element>
    </xsd:all>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oracle:ouaf" elementFormDefault="qualified">
    - <xsd:simpleType name="dateTime">
    - <xsd:restriction base="xsd:token">
    <xsd:pattern value="[0-9]{4}-[0-1][0-9]-[0-3][0-9]-[0-2][0-9]:[0-6][0-9]:[0-6][0-9]" />
    </xsd:restriction>
    </xsd:simpleType>
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:token">
    <xsd:pattern value="[0-9]{4}-[0-1][0-9]-[0-3][0-9]" />
    </xsd:restriction>
    </xsd:simpleType>
    - <xsd:simpleType name="time">
    - <xsd:restriction base="xsd:token">
    <xsd:pattern value="[0-2][0-9]:[0-6][0-9]:[0-6][0-9]" />
    </xsd:restriction>
    </xsd:simpleType>
    - <xsd:simpleType name="money">
    <xsd:restriction base="xsd:decimal" />
    </xsd:simpleType>
    </xsd:schema>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ouaf="urn:oracle:ouaf" targetNamespace="http://oracle.com/CM_RJCP2.xsd" elementFormDefault="qualified">
    <xsd:import namespace="urn:oracle:ouaf" />
    - <xsd:element name="CM_RJCP2">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="assetType" type="xsd:string" minOccurs="0" />
    <xsd:element name="assetTypeDesc" type="xsd:string" minOccurs="0" />
    <xsd:element name="assetTypeId" type="xsd:string" minOccurs="0" />
    <xsd:element name="boStatus" type="xsd:string" minOccurs="0" />
    <xsd:element name="bo" type="xsd:string" minOccurs="0" />
    </xsd:sequence>
    - <xsd:attribute name="transactionType">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:token">
    <xsd:enumeration value="READ" />
    <xsd:enumeration value="ADD" />
    <xsd:enumeration value="UPDT" />
    <xsd:enumeration value="DELT" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:attribute>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    - <!-- wsdl:message elements describe potential transactions
    -->
    - <!-- request CM_RJCP2Request is of type CM_RJCP2
    -->
    - <wsdl:message name="CM_RJCP2Request">
    <wsdl:part name="body" element="schemans1:CM_RJCP2" />
    </wsdl:message>
    - <!-- response CM_RJCP2Response is of type CM_RJCP2Response
    -->
    - <wsdl:message name="CM_RJCP2Response">
    <wsdl:part name="body" element="schemans2:CM_RJCP2" />
    </wsdl:message>
    - <!-- fault CM_RJCP2Fault is of type CM_RJCP2Fault
    -->
    - <wsdl:message name="CM_RJCP2Fault">
    <wsdl:part name="fault" element="ouaf:Fault" />
    </wsdl:message>
    - <!-- wsdl:portType describes messages in an operation
    -->
    - <wsdl:portType name="CM_RJCP2PortType">
    - <!-- the value of wsdl:operation eludes me
    -->
    - <wsdl:operation name="CM_RJCP2">
    <wsdl:input message="xai:CM_RJCP2Request" />
    <wsdl:output message="xai:CM_RJCP2Response" />
    <wsdl:fault name="fault" message="xai:CM_RJCP2Fault" />
    </wsdl:operation>
    </wsdl:portType>
    - <!-- wsdl:binding states a serialization protocol for this service
    -->
    - <wsdl:binding name="CM_RJCP2SoapBinding" type="xai:CM_RJCP2PortType">
    - <!--
    leverage off soap:binding document style @@@(no wsdl:foo pointing at
    the soap binding)
    -->
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <!--
    semi-opaque container of network transport details classed by
    soap:binding above @@@
    -->
    - <wsdl:operation name="CM_RJCP2">
    - <!-- again bind to SOAP? @@@
    -->
    <soap:operation soapAction="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
    - <!--
    furthur specify that the messages in the wsdl:operation
    "CM_RJCP2" use SOAP? @@@
    -->
    - <wsdl:input>
    <soap:body use="literal" namespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" namespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
    </wsdl:output>
    - <wsdl:fault name="fault">
    <soap:fault name="fault" use="literal" namespace="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    - <!-- wsdl:service names a new service "CM_RJCP2Service"
    -->
    - <wsdl:service name="CM_RJCP2Service">
    <wsdl:documentation>CM_RJCP2 version 5: Web service for inbound asset type transaction</wsdl:documentation>
    - <!-- connect it to the binding "CM_RJCP2SoapBinding" above
    -->
    - <wsdl:port name="CM_RJCP2Port" binding="xai:CM_RJCP2SoapBinding">
    - <!-- give the binding an network address
    -->
    <soap:address location="http://tgbu813etm10:6500/XAIApp/xaiserver/CM_RJCP2" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • 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

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

Maybe you are looking for

  • CO-PA Extraction problem

    Dear all, I created CO-PA datasource with costing-based. When I test extraction (RSA3) in R/3 with no any selection criteria, it only extracts a few data. When I check the CE4XXXX table, there are tons of data in it. It seems like that it gets data f

  • Flash Player crashes in all browsers

    I have IE 8, Firefox 3.6 and Chrome 6.0 on my laptop.  I have the latest version of Flash on all three.  All of of a sudden, the Flash Player plugin will crash and the browser will lock up any time I open a page that uses Flash.  What could be doing

  • Pdf form filling

    I have created multiple page fillable form in PDF using Adobe Acrobat 9 Pro. Many fields the user/we need to repeat the same value in different pages on the same form.  How to fill up automatically. ?  Kannan

  • Second PO acknowledgement is overwriting the first PO aknowledgement i

    When multiple PO Acknowledgements are submitted  via ORDERS05 IDOC . The First  Acknowledgement is getting overwritten by Second Acknowledgement. For Example IDOC1----PO Ack 1: Delivery date -05/26/2011, Quantity- 10 IDOC2----PO Ack 2: Dlivery date u

  • How to add New Layers...?

    Well, I recently went out and bought myself the new version of Dreamweaver CS3. Never used it in my life, so I'm pretty new to it. Um, starting out to create my first website, but currently at a road block. My question is, how to I add new layers in