ADF Data Control WS - methods with 'Object' instead of native types

Recently, we noticed a strange behavior during the integration of services SOA Suite with ADF Web Service data controls:

-Consider a service, where the WSDL has the following operation:

<wsdl:operation name="CreateEmployee">
  <wsdl:input message="inp1:requestCreateEmployeeMessage"/>
  <wsdl:output message="inp1:replyCreateEmployeeMessage"/>
</wsdl:operation>

- And the request message is:

<wsdl:message name="requestCreateEmployeeMessage">
  <wsdl:part name="payload" element="inp1:CreateEmployeeRequest"/>
</wsdl:message>

- And the element in the message:

<element name="CreateEmployeeRequest">
  <complexType>
  <sequence>
  <element name="EmployeeId" type="int" minOccurs="0"/>
  <element name="EmployeeName" type="string" minOccurs="0" nillable="true"/>
  <element name="Salary" type="decimal" minOccurs="0"/>
  </sequence>
  </complexType>
</element>

-If this service is added to a project ADF as a Web Service data control, the method in the control of data will be represented by:

CreateEmployee(Object)

-However, if you change the WSDL file, so that the element has the same EXACT name as the operation:

<wsdl:message name="requestCreateEmployeeMessage">
  <wsdl:part name="payload" element="inp1:CreateEmployee"/>
</wsdl:message>
<element name="CreateEmployee">
  <complexType>
  <sequence>
  <element name="EmployeeId" type="int" minOccurs="0"/>
  <element name="EmployeeName" type="string" minOccurs="0" nillable="true"/>
  <element name="Salary" type="decimal" minOccurs="0"/>
  </sequence>
  </complexType>
</element>

-Then method of data control will be displayed as:

CreateEmployee(Integer, String, BigDecimal)

It's strange because the WSDL file is still valid, if the element root of the query has a different name of the operation (the SOA service was created using JDeveloper).

In addition to this solution that I share, alternative would be:

(1) create a proxy for the service and register the proxy under control data instead

(2) to call the service, as shown here

Is this a Bug?

When you have an object as a parameter to a data control, you should also see a parameter created object that has simple types.

For example, see the video here:

https://blogs.Oracle.com/Shay/entry/calling_web_service_with_complex

Tags: Java

Similar Questions

  • How to bind RichTextbox of ADF / Data Control Jdeveloper 11g R1

    Hello

    Can you please help me to link RichTextbox of ADF / Data Control in Jdeveloper.

    I am able to bind to inputText, button. But impossible to find for Richtextbox.

    Thank you

    Swathi

    GoTo pagedef and add the attribute binding in the bindings section

    Steps-

    Click the Green more icon--> to select in the generic links section attribute values--> click Ok--> select data source, and the attribute and then click Ok

    Then select on the RichTextEditor page editor and write in the value property that's how - #{bindings. AttributeName.inputValue}


    Ashish

  • How to create the data control to a custom object of sale cloud using web service.

    Hi all

    I'm working on a requirement I need to display the common custom object data and their children object. After the display of the data user will be able to select multiple records by using the check box and then update the State to close.

    So basically, I need to create a table in which the data will fill with the checkboxs and when the user clicks on the button update then I need to update a field in the parent object.

    Any help would be appreciated.

    Thank you

    You must follow the steps below

    1. right click on the template project, select the new option

    2 Select the data control in the left hand side of the tab "All Technologies"

    4 Select "control of data from the Web Service" in the right side panel

    3. Enter the name of the data control (custom name)

    4. provide your WSDL to the URL https://crm-domain.oracleoutsourcing.com/foundationCustExtn/CrmCommonReferenceService?wsdl

    5. click Next, next if all methods to winow than wsdl, mix to the right and click Finish button

    6 refresh "data control" in your right side panel to request

    7 expand control of data and select only control data that you have already given

    8. then you can see the methods that comes from your wsdl.

    9. Select the method and expand it, you will get the return values

    10. drag and drop the return as a table value, you will get the af:table on the page

    11. don't want to operatet this table.

  • Found no "ADF data controls" in ADF 10.1.3.1.0 tutorial chapter 2

    Hello

    I'm currently learning Oracle ADF followed 10.1.3.1.0 tutorial. (September 2006 revision), I installed Oracle Jdeveloper 10.1.3.2.0 on my pc with 10.2.0.2 remote database connection.

    In the man page 2-17, the final step in this chapter, she prays to create data ADF controls associated with SRPublicFacadeBean.java. It is said, click the SRPublicFacadeBean.java node and choose 'create the data control' from the context menu. However, I couldn't find this option in the context menu. No one knows why it happened.

    Thanks in advance

    Sean

    Published by: ma_sean on October 8, 2008 16:14

    Have you installed the J2EE of JDeveloper or the Studio edition?
    You need the studio edition can create data controls.

  • Set when you call WS thru ADF webservice SOAP header element data control

    Experts,

    I'm trying to call/call a webservice (using the command of ADF data web service) awaits the element in the SOAP header. I want to know the steps required to define the custom SOAP header when using ADF data control web service. Custom SOAP header element will be of type string, something like
    < soap: Header > < element1 > String < / element1 > < / soap: Header >

    Thank you
    Ashish

    Hello

    extend the SOAPProvider class

    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPMessage;
    
    import oracle.adf.model.adapter.AdapterException;
    
    import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;
    
    public class CustomSOAProvider extends SOAPProvider {
        public CustomSOAProvider() {
            super();
        }
    
        //expose protected method to public
    
        public void handleRequest(SOAPMessage soapMessage) throws AdapterException {
    
            super.handleRequest(soapMessage);
        }
    
        //Expose protetcted method to public
    
        public void handleResponse(SOAPMessage soapMessage) throws AdapterException {
    
            super.handleResponse(soapMessage);
        }
    

    And configure it in the file DataControls.dcx to your WS DC project


    ...
    xmlns = "http://xmlns.oracle.com/adfm/datacontrol" >


    name = "..." "version ="1.0 ".
    Provider = "ADF. Sample.wsdc.CustomSOAProvider ".
    WSDL = "http:/ /...". ">
    ...

    Frank

  • Filtering problem date to the table QBE filter when it is supported by the POJO data control

    @Timo Hahn ADFfan 11.1.1.4 or 11.1.1.7

    I have exactly the same problem as described in the discussion archived here unanswered

    Definiton vc_temp_1 not found error for the filter of the columns date

    I used the sample downloaded 37 here as a model

    037. how to build the pagination in the POJO ADF data control

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    It is easy to replicate, just to run this sample and try to filter on the date of hire.  It takes about 2 minutes to download and run.

    sample image 37 running on 11.1.1.7

    Here is the stacktrace.   Don't know why it's using java.sql.Timestamp.   My POJO returns a java.lang.Date

    java.lang.IllegalArgumentException: timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]

    at java.sql.Timestamp.valueOf(Timestamp.java:194)

    to oracle.jbo.common.JboTypeMapEntries$ 3.convert(JboTypeMapEntries.java:149)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.common.JboTypeMapEntries.convertValue(JboTypeMapEntries.java:382)

    at oracle.jbo.common.OracleTypeMapEntries.convertValue(OracleTypeMapEntries.java:162)

    at oracle.jbo.common.JboTypeMap.convertValue(JboTypeMap.java:869)

    at oracle.jbo.domain.TypeConvMapEntry.convert(TypeConvMapEntry.java:120)

    at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)

    at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)

    at oracle.jbo.RowComparator.compareEquals(RowComparator.java:34)

    at oracle.jbo.RowValueSupplier.compareValues(RowValueSupplier.java:253)

    at oracle.jbo.expr.JIParserNode.evaluate(JIParserNode.java:1274)

    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1099)

    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:911)

    at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:187)

    at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2811)

    at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3705)

    at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3590)

    at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3387)

    at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:994)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1184)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6809)

    at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBinding(DCBeanDataControl.java:948)

    at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2177)

    at oracle.jbo.uicli.binding.MyIteratorBinding.executeQuery(JUAccessorIteratorDef.java:721)

    at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:607)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:442)

    application example will reproduce the problem with no changes

    Post edited by: Don Kleppinger confirmed it happens on 11.1.1.7 as well (see image)

    Frank Nimphius-Oracle

    I have a work around for this bug to Oracle.  I have a version in 037 sample that actually works and that will sort the field date.  I'm ready to download a copy to replace the download version that is there if Oracle is listening.  The sample was there 5 years ago so it is regrettable that this bug still exists.

    That's what I did

    create beans with custom queryListener

    On the table

    change

    queryListener = "#{bindings.allEmployeesQuery.processQuery} '"

    TO

    queryListener = "#{queryListenerBean.processQuery} '"

    Add an additional field to the line which is a long value of the Date column.   In the queryListener I change the input filter on the value of long type instead of the date value.

    I do not display the column containing the value of long (time) in the table, but she must appear in the binding of the tree. (shuttles to the right)

    In the listener query

    • Read the filter value Date and read the value of time full, clear the value of the filter date
    • long time set in the filter
    • Run the query by call of the listener of the original request #{bindings.allEmployeesQuery.processQuery}
    • Set the date value to the value entered by the user
    • erase the value of long type

    Here is the code

    {} private void processQuery (QueryEvent queryEvent)

    Table richeTableau = (RichTable) queryEvent.getComponent ();

    FilterableQueryDescriptor filterQD = (FilterableQueryDescriptor) table.getFilterModel ();

    Card filterCriteria = filterQD.getFilterCriteria ();

    Date dt = (Date) filterCriteria.get ("hireDate");

    time of to of subject Date and filter on hireDateLong instead of column hireDate column

    containing the value of long type of date instead of the Date

    If (dt! = null) {}

    TM long = dt.getTime ();

    filterCriteria.put ("hireDateLong", tm);

    filterCriteria.put ("hireDate", null); This must be null or will not work

    }

    DCBindingContainer bc = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    Object execBinding = bc.findExecutableBinding ("allEmployeesQuery");

    does not perform a cast of the class internal oracle but another technique guided under

    does not work with POJO data control

    run the filter

    (ExecBinding) .processQuery (queryEvent) (FacesCtrlSearchBinding);

    This will fail

    invokeQueryEventMethodExpression ("#{bindings.allEmployeeesQuery.processQuery}",)

    restore the value of the filter if he continues to display in the QBE bar

    filterCriteria.put ("hireDate", dt);

    filterCriteria.put ("hireDateLong", null);

    }

  • AM Customer Interface + method with a variable number of parameters

    Hello

    I use JDev11 & ADF. I have an App Module exteding, an application custom module (ApplicationModuleImpl) class. I created a few methods and expose them in the Client Interface. I read that I can only use the return types and methods of simple or serialized attributes in the Client Interface of AM. I need to create a method with the variable number and type of parameters, something like "Createwithparams", something like:
        public void Method(String[] FieldNames, Object[] FieldValues)
    Is there a way to do it?

    TKS.

    You just did it. It should work as far as I know.
    If you can not make available the method try list instead of normal array.

    Timo

  • Pagination not working not not for POJO data control

    I'm running 37 sample downloaded from here.  The PDF indicates to post in this forum for issues found examples so here I am.

    037. how to build the pagination in the POJO ADF data control

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    He's talking about Add method to handle paging that takes the index and the beach

    method called by the link layer of ADF to run paging
    public list < employees > Edgeham (int index, int range) {}

    However when I run the sample and set a breakpoint on this method, this method never is called. Only the method that retrieves the entire list is called.  Table extracted data ranges that I scroll to the bottom and I see data recovery... popup, but because this method is not called is not really paging to the model only at the link layer, so I don't have any focal point for range all the way to the service call to a web service to support paging.

    No idea how to operate paging?

    Never mind.  I found the problem.  I didn't know that the example had not been fully implemented.  The instructions say to add a DataControlHandler to the DataControls.dcx and which had not been done.  It works after I added that.

    <>

    definition BeanClass = "oracle.pojo.facade.SessionFacade"

    DataControlHandler = "oracle.adf.model.adapter.bean.DataFilterHandler"

    xmlns ="http://xmlns.oracle.com/adfm/adapter/bean" / > ".

  • Data control does not display THAT POJO returned by the method

    Hello

    I am running JDev 11.1.1.7. In my AppModule.impl, I created a method that returns a simple POJO (which implements serializable) that has two fields of type string. I exposed the method in the client interface of appmodule. In the control of data, the method appears with an element of return instead of an object or any way to access the two fields of type string. I want to display two fields of type string in the output text components on my jspx page. I'm not find documentation on how to do it. Can someone point me to the documentation or tell me how to make this change to the method of control of the return data?

    Thanks in advance,

    Steve

    AM method can return the custom type, but as much as I know there is no support for introspection of object at design time.

    (so you can call it programmatically and cast to the appropriate type, but you can do component DND data control).

    So, option 1 is to bind the value property of your outputText managed bean fields, programmatically calling AM, fill these properties manually and update your user interface components (note that managed bean must be saved in viewScope or more in order to preserve the values)

    Option 2 is to create the Bean DataControl (with this you will have DND support)

    Dario

  • data control - list is displayed before the method assigns the value

    Hello

    I have a page of the adf, which displays buttons in a table - a button by rank.

    by clicking on the button, I open a pop up that displays content specific to this button.

    That's what I have in my adf page:

    "< af:commandImageLink icon="/images/button.png ".

    ID = "cil1".

    partialSubmit = 'true '.

    action = "click on" >

    < name f: attribute = "id" value = "#{row.ID}" / >

    < af:clientListener = "clientAction" method

    type = 'action' / >

    < af:serverListener type = "serverAction".

    Method = "#{ContentGenerator.ButtonClicked}" / >

    "< popupId = af:showPopupBehavior": myPopup "/ >"

    < / af:commandImageLink >

    clicking this button opens a pop up, and it calls the buttonClicked() and ContentGenerator of class-

    public class ContentGenerator {}

    private list < String > contentList = null;

    getter and setter for contentList

    private String id = null;

    public ContentGenerator() {}

    System.out.println ("id->" + id);

    generate content based on id and defined in the contentList parameter list

    }

    {} public void buttonClicked (ClientEvent actionEvent)

    ID = (String) actionEvent.getComponent () .getAttributes () .get ("id");

    System.out.println ("id->" + id);

    }

    }

    I dropped a table in the popup for this contentList data control parameter (ClassGenerator is a data control).

    the issue I'm facing is:

    I get the good method of buttonClicked() id. However the ClassGenerator constructor is called before and I get null so my list of content does not get generated.

    I tried to generate content in the buttonClicked() method and updated list in contentList parameter but always popup does not appear anything in the table. probably contentList is already read by popup, and it is set to null.

    public class ContentGenerator {}

    private list < String > contentList = null;

    getter and setter for contentList

    private String id = null;

    public ContentGenerator() {}

    System.out.println ("id->" + id);

    }

    {} public void buttonClicked (ClientEvent actionEvent)

    ID = (String) actionEvent.getComponent () .getAttributes () .get ("id");

    System.out.println ("id->" + id);

    generate content based on id and defined in the contentList parameter list

    }

    }

    my version of jdeveloper is 11.1.1.7.

    Please suggest what should I change?

    Thank you.

    Here you have the solution.

    https://DL.dropboxusercontent.com/u/46128268/OTN-samples/OTNPopup.rar

    The main elements are:

    
                          
                            
    
    

    clientComponent = 'true' and clientAttribute to send values to af:popup


    In af:popup:

    
                      
    

    eventContext to Launcher and launcherVar to get the attributes sent.

    Scope of the variable to viewScope in a listener of type popupFetch.

    If you take a look in the methodAction of home.jspx binding, the name parameter has the value viewScope.dogname.


    We must also change the iterator binding refresh to IfNeeded if deferred to re-run the iterator when the setting is changed.

    I hope that with the sample, you can realize you're objective.

    Sorry if I confused you before but I need refresh my ADF.

    Kind regards.

  • Return of the bound data control method causes IllegalArgumentException

    JDeveloper Version: _12.1.2.0.0_GENERIC_130608.2330.6668

    Problem:

    I have a Service method on a data control which takes the parameters. I'm able to drag the Service method on a JSF/ADF page and it creates an ActionBinding and all links in the input parameter as well. No problem. I can run the page and enter values in the display, press the binding Action and the method on the façade of the Session is called perfectly. So far so good. Now, I want to display the results of the (returned as a collection of POJO) Service method in the method declaration.

    If I drag the method declaration of data control on the same page and request that the results will be displayed in a table (or any control that will display a collection, in this example, this is a graph) control is created and all links with her. Once again, so far, so good.

    Now I start the page. This time, I IllegalArgumentExceptions (two of them) returned as messages when loading the page. Stack trace looks like this (my apologies, I hate when people put a huge stack traces in positions):

    [code]

    java.lang.RuntimeException: java.lang.IllegalArgumentException

    at oracle.adf.model.adapter.bean.UpdatableBeanDataControl.invokeOperation(UpdatableBeanDataControl.java:606)

    at oracle.adf.model.adapter.bean.BeanFilterableDataControl.invokeOperation(BeanFilterableDataControl.java:80)

    at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:472)

    at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1658)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2189)

    at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:560)

    at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:309)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:751)

    to oracle.jbo.uicli.binding.JUMethodIteratorDef$ JUMethodIteratorBinding.invokeMethodAction (JUMethodIteratorDef.java:170)

    to oracle.jbo.uicli.binding.JUMethodIteratorDef$ JUMethodIteratorBinding.initSourceRSI (JUMethodIteratorDef.java:659)

    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1741)

    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1715)

    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4684)

    at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)

    at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:108)

    at oracle.adfinternal.view.faces.dvt.model.binding.common.BindingKeyChangeHandler.setBinding(BindingKeyChangeHandler.java:52)

    at oracle.adfinternal.view.faces.dvt.model.binding.graph.ActiveGraphDataModel.setHierBinding(ActiveGraphDataModel.java:82)

    at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:194)

    at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:159)

    at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.getDataModel(FacesCubicBinding.java:111)

    at oracle.adf.model.dvt.binding.common.CommonBinding.internalGet(CommonBinding.java:149)

    at oracle.adf.model.dvt.binding.common.CubicBinding.internalGet(CubicBinding.java:580)

    at oracle.adfinternal.view.faces.dvt.model.binding.common.FacesCubicBinding.internalGet(FacesCubicBinding.java:234)

    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:751)

    at javax.el.MapELResolver.getValue(MapELResolver.java:199)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:183)

    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)

    [/ code]

    Now, if I fill in the parameters on the screen and call the ActionBinding by pressing the button created, the method calls the function on the façade and the data is returned in the control (chart or table). From that moment, I never have the illegalArgumentException and the page the way I want it.

    So, my question is, why the return of the method lie I invoke a method call on a page load until the ActionBinding is called and give me an illegalArgumentException. And - most importantly - how can I avoid this error?

    Any advice would be greatly appreciated.


    Thank you

    Nigel

    It is a normal behavior.  Check blog Shay https://blogs.oracle.com/shay/entry/delay_method_execution_when_us

    Timo

  • Create table with several Collections of data control

    Hello

    I have a requirement about to display data in a table. It shows simple, but certain columns in the table are within a collection, and the others are in another collection. I read this chapter Creation of ADF Databound Tables - 11 g Release 1 (11.1.1.7.0), and she explains to create the table with a collection.

    I have no knowledge on the model, I know just as control data, so what should I do? :

    -Ask for the template designer to redraw the control of data to include a collection with all the data?

    -Try to work with the actual data control? If so, how can I create the table several Collections of data control?

    Plese let me know if there is another solution. I work with JDeveloper 11.1.1.7.

    Thank you!

    AAPDL

    Hello

    You can have a managed bean that e... g exposes an ArrayList of objects. This can then binds to the value property of the table. If the object sets the information of table row combination that you get multiple iterators (collections), then the table will display the joined data.

    Frank

  • AF:query with web services data control

    Hi all

    I'm very new to using web services as a data source in the ADF. I'm looking to use a component of af: query (with saved searches and advanced mode) with a web service data control.

    The doc - http://docs.oracle.com/cd/E24382_01/web.1112/e16182/appendix_datacontrols.htm#CHDGBBIJ - it seems that there is some programmatic application necessary to achieve this goal. I guess that means that you are required to implement a custom QueryModel and related classes. My understanding is correct?

    Is there a sample (or documentation) available for this application? I searched the web but can't find anything useful.

    Note: For the purpose of learning, I just exposed service interface of the Module of an Application as a web service remote. The web service has my view exposed as an operation criteria.

    Thanks in advance,
    Bruno Guillaume

    Hello

    the query component does not work out of the box with the DataControl WS that it does not support the named criteria (which will be for a long time in the future). To create a request form, you can drag a WS method as a parameter. If the method has arguments of complext, you will find the complex argument that manufacturers in the Panel DataControl, so you can flatten by drag and drop in the form of parameter

    Frank

  • Demand feature - when dragging data control form ADF to jsf

    Hello, I would suggest that when you drag and drop the data control to create, say a form of the ADF, the navigation controls 'understand' is set by default to Yes. It is easy to forget to click this box, and there is a lot of work to drag all these operations if you forgot to click on it. If the controls were lacking to land on the page with the form of the ADF and you don't want them, it's very easy to remove them from the page.

    Thank you! New versions of Jdeveloper are really good.

    Stuart

    Published by: user532351 on Sep 16, 2011 20:39

    Hello

    If you have forgotten the navigation bar, just reselect the object of the view and choose Navigation | ADF Navigation buttons on the shortcut menu. With this option, I think that the current default value is better that what you propose - do you agree?

    Frank

  • ADF task flows and parameters WITHOUT data controls

    Hello world.

    In a previous post, I asked him about the best way to call the workflow "at a distance" by a "local" application Frank Nimphius suggested me to use the JAR ADF libraries between projects for this. I'll apply, but I have a small/big problem:

    As I said in my previous post, I exclusively use the EJB 3.0 - JPA technology in all my projects. The components business or data controls are used. Just a lot of Java-based components.

    Now, supossed that I have a (based in the HR schema) application with 3 projects:

    -L' one with all things EJB: entities from tables, session bean, and an example of a Java client.
    -The second as a 'local' point of view, with a JSPX (viewLocations.jspx) page that contains the table of communities (table_locations).
    -The third view "at a distance", with a JSPX too (viewCountries.jspx) page that contains the table of countries (table_countries).

    I have a button in views the remote, and one to switch from local to remote display and the other for the opposite.

    The goal is: pass a location of choice of table of locations for the project where I need to see the country for the selected location.

    In the table of locations, I use a variable currentLocation (declared as: private location currentLocation = new Locations() ;) to store the selected location and a SelectionListener process, called selectLocation_listener() with this code in the)
    backing.viewLocations.ViewLocations.java:

    + ' public void selectLocation_listener (SelectionEvent selectionEvent) {+
    + / / Add code from the event here... +.
    currentLocation = (rentals) table_locations.getSelectedRowData ();
    +}+

    If the selected location is stored in the variable currentLocation.

    Both in projects the and remote, in that I store the task flow JSPX pages. I have the taskLocal.xml as an unlimited workflow with the viewLocations.jspx as the main view and the taskRemote.xml as a workflow bounded with the viewCountries.jspx as the main view.

    I have deployed the project remotely in a library JAR ADF and imported to the local project, then I get it as a special activity Flow call.

    The question is: How can I pass the variable currentLocation as a workflow setting to my project remotely? I don't have any data control to bind to a workflow parameter.
    Should I really have some control of data to store my currentLocation variable and bind it to a parameter? Or there is another way without data controls?

    Another fact: local and remote project have a dependency with the EJB project.
    What about dependencies? Have a role in call task workflow activities?

    Thanks in advance.

    If you would like more information or a more detailed explanation please ask me.

    Hello

    a data control is needed for this. If you only want to use ADF task Flow and manage the component UI lie yourself, then you are good to go with this approach. To add parameters to a call from bounded task flows, have a look here

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/TOC.htm (Chapter 15, activities of view URL using 15.3)

    You can make the local variable that is accessible from an accessor method Set/getter bean managed so that you can use EL when you set the value of the parameter.

    Frank

Maybe you are looking for