Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specifies the connect timeout in milliseconds or -1 to disable timeout and wait forever. This is the maximum time allowed to setup the network connection with the server being invoked. See Default Parameters on how to set a default value for this parameter for each web service data control in your project without having to explicitly set this for each data control.

requestTimeout

Specify the total request timeout in milliseconds or -1 to disable timeout and wait forever. This is the maximum time allowed for the request to fully complete and respond with data. See Default Parameters on how to set a default value for this parameter for each web service data control in your project without having to explicitly set this for each data control.

 

Code Block
languagexml
titleData Control
   <AdapterDataControl id="HrWSData" FactoryClass="oracle.adf.model.adapter.DataControlFactoryImpl"
                        ImplDef="org.adfemg.datacontrol.xml.DataControlDefinition" SupportsTransactions="false"
                        SupportsSortCollection="false" SupportsResetState="false" SupportsRangesize="false"
                        SupportsFindMode="false" SupportsUpdates="false"
                        Definition="org.adfemg.xmldc.demo.view.HrWSData" BeanClass="org.adfemg.xmldc.demo.view.HrWSData"
                        xmlns="http://xmlns.oracle.com/adfm/datacontrol">
        <Source>
            <definition xmlns="http://adfemg.org/adfm/datacontrol/configuration"
                        schema="http://xmldc-sample.appspot.com/HR.xsd" schema-root="DepartmentEmployeesResponse"
                        dc-operation="getDeptEmps">
                    <data-provider class="org.adfemg.datacontrol.xml.provider.data.WSDataProvider">
                        <parameters>
                            <parameter name="endPointUrl"
                                       value="http://xmldc-sample.appspot.com/HumanResourcesService"/>
                            <xml-parameter name="requestElement">
                            <![CDATA[
                               <hr:DepartmentEmployeesRequest xmlns:hr="http://adfemg.org/HR">
                                 <hr:departmentId>#{param.deptId}</hr:departmentId>
                               </hr:DepartmentEmployeesRequest>
                              ]]>
                            </xml-parameter>
                            <dynamic-parameter name="deptId" java-type="java.lang.Long"/>
                        </parameters>
                    </data-provider>
            </definition>
        </Source>
    </AdapterDataControl>

...