Creating a adf page based on webservice data control

hello
i am using latest version of jdev 11g from otn.
i created a VO based on EO and define a view criteria as well. i added that to a AM and exposed it as web service and deployed to a wls server.
now i wish to created a adf page based on it so i created a ws data control based on the wsdl.
in the data control section now i see service as findSearchOrder. When i try to drop it on the page it created a adf form with two input boxes findControl and findCriteria.
So, I am not able to understand how exactly these are going to map to the actual search parameters?
Please advise

If you want to retrieve all records, you can set them to null.
But of course, it depends on what you want to archive (I suppose you want a search form?).
Please give us your complete JDev version. (Help > About > About tab)

Similar Messages

  • Issues with result data display on ADF page from a Webservice data control

    Hi,
    I created a Webservice Data control and created a JSF to display the webservice response to the screen.
    I dragged and dropped the input paramater to the JSF form.Also i did the same for the output result also.i drag & drop the result tag to the JSF(selected the read only form).
    This webservice is a complex input and output params.
    After supplying the input param to the jsf and clicked on submit, the request is going and hitting the webservice and getting proper result set also.
    But the issue is , the result is not displayed on the JSF screen.
    Is there any configuration needed to diaply the content on ths screen?
    Version - JDev 11.1.1.4.0
    Regards,
    JJ

    Dear Vinod,
    Thanks for the reply.
    How to refresh the data container ..just to press the refresh button(F5) or is there any configuration needed to auto refresh the data container?
    The following is my table definition
    <af:table rows="#{bindings.LookListRow.rangeSize}"
    fetchSize="#{bindings.LookListRow.rangeSize}"
    emptyText="#{bindings.LookListRow.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row"
    value="#{bindings.LookListRow.collectionModel}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.LookListRow.collectionModel.selectedRow}"
    selectionListener="#{bindings.LookListRow.collectionModel.makeCurrent}"
    rowSelection="single"
    binding="#{backingBeanScope.backing_lkUp.t1}"
    id="t1" columnSelection="single">
    <af:column headerText="#{bindings.LookListRow.hints.rowAction.label}"
    sortProperty="rowAction" sortable="false"
    id="c5">
    <af:outputText value="#{row.rowAction}" id="ot4"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.FieldValue.label}"
    sortProperty="FieldValue" sortable="false"
    id="c8">
    <af:outputText value="#{row.FieldValue}" id="ot8"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.FieldName.label}"
    sortProperty="FieldName" sortable="false"
    id="c2">
    <af:outputText value="#{row.FieldName}" id="ot7"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.Description.label}"
    sortProperty="Description" sortable="false"
    id="c1">
    <af:outputText value="#{row.Description}" id="ot2"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.StatusasofEffectiveDate.label}"
    sortProperty="StatusasofEffectiveDate"
    sortable="false" id="c4">
    <af:outputText value="#{row.StatusasofEffectiveDate}"
    id="ot5"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.LanguageCode.label}"
    sortProperty="LanguageCode" sortable="false"
    id="c6">
    <af:outputText value="#{row.LanguageCode}" id="ot6"/>
    </af:column>
    <af:column headerText="#{bindings.LookListRow.hints.Version.label}"
    sortProperty="Version" sortable="false" id="c3">
    <af:outputText value="#{row.Version}" id="ot3">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.LookListRow.hints.Version.format}"/>
    </af:outputText>
    </af:column>
    Regards,
    -JJ
    Edited by: user13117752 on Jun 14, 2011 11:20 PM

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • How to iterate the webservice Data control result set?

    Hi all,
    How to iterate the webservice Data control result set? I have an jsff page where I am displaying the single UserDetails by webservice DataContol. As per my design requirement I should iterate the DataControl resultSet to get the user details and push the same in to Managed bean. Please help me how to do this, any sample code please to iterate the resultset and get the data from it.
       <?xml version='1.0' encoding='UTF-8'?>
       <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
       <c:set var="uiBundle" value="#{adfBundle['edu.syr.oim.uiBundle']}"/>
       <af:pageTemplate viewId="/templates/jsffTemplate.jspx">
        <f:facet name="fTop"/>
        <f:facet name="fCenter">
          <af:panelGroupLayout layout="scroll" inlineStyle="width:100.0%;">
       <af:panelTabbed id="pt1">
        <af:showDetailItem text="#{uiBundle.PRIVACYFLAGS}" id="sdi4">
                <af:panelGroupLayout id="pgl4" layout="scroll">
                  <af:spacer width="10" height="10" id="s3"/>
                  <af:panelFormLayout id="pfl6">
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTEMAIL}"
                                             id="plam35">
                      <af:outputText value="#{bindings.stuEmail.inputValue}"
                                     id="ot42"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEADDRESS}"
                                             id="plam39">
                      <af:outputText value="#{bindings.stuPermAddr.inputValue}"
                                     id="ot35"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTHOMEPHONE}"
                                             id="plam40">
                      <af:outputText value="#{bindings.stuPermPhn.inputValue}"
                                     id="ot37"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                             id="plam42">
                      <af:outputText value="#{bindings.stuCurrAddr.inputValue}"
                                     id="ot40"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTCURRENTPHONE}"
                                             id="plam36">
                      <af:outputText value="#{bindings.stuCurrPhn.inputValue}"
                                     id="ot38"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.STUDENTACAINFO}"
                                             id="plam41">
                      <af:outputText value="#{bindings.stuAcad.inputValue}"
                                     id="ot36"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEADDRESS}"
                                             id="plam38">
                      <af:outputText value="#{bindings.empPermAddr.inputValue}"
                                     id="ot39"/>
                    </af:panelLabelAndMessage>
                    <af:panelLabelAndMessage label="#{uiBundle.EMPHOMEPHONE}"
                                             id="plam37">
                      <af:outputText value="#{bindings.empPermPhn.inputValue}"
                                     id="ot41"/>
                    </af:panelLabelAndMessage>
                  </af:panelFormLayout>
                </af:panelGroupLayout>
              </af:showDetailItem>
       </af:panelTabbed> Above is my jsff code. Here how/where to add the phase listener to paopulate the managed bean while page render. Do I need to iterate the DC to get and push the each parameter in to ManagedBean or is there any easy way to do this by EL mapping directly at jsff. Please clarify.
    Thanks
    kln

    That is what exactly I am trying right now. I am binding each of my page fragment outputText item in to backing bean and by that way trying to populate the values.
    But the issue here is, the backing bean method doesn't getting any value until I hit any of the link or the button in the fragment. While loading the page the bean set and get is null. If i hit any link or button it is filled up with the vaule. As per my design, I would like to populate the bean method along with page load before any user action. But cant able to do this!! :(
    Below is my sample code what I am trying right now
            <af:panelLabelAndMessage label="#{uiBundle.NETID}" id="plam13">
                      <af:outputText value="#{bindings.netid.inputValue}" id="ot4" binding="#{UserDataBean.netId}"/>
           </af:panelLabelAndMessage>
    backing bean ex:
    private RichOutputText netId;
    static String netidVal;
        public void setNetId(RichOutputText netId) {
           netidVal= netId.getValue() == null? "":netId.getValue().toString();
           this.netId = netId;
        public RichOutputText getNetId() {
           return netId;
        public String getNetIdVal() {
           return netidVal;
        }Thanks
    kln

  • Create ADF page based on wsdl is passing null values

    Hoi,
    We are creating some simple ADF forms te demonstrate our webservices that we have created for our customer.
    The first one was created without any problems.
    The second one is more complex and now i am having a problem running it.
    I noticed that the datacontrol that is created is different.
    The working one has a process with the 3 parameters direct within process
    The other has a process whit only 1 parameter "payload" underneath. That parameter declared as process_parameters (and there are the real parameters: naam, poscode, etc)
    Both pages have a split panel with left the parameters and a button and right the result (in table)
    When i tried to drag the datacontrol into the split panel you only get 1 parameter "payload" which was not the real parameter. Then i dragged the process parameters into the split panel and then you get the items on the canvas.
    However when we run the second page only empy messages are sent to the webservice.
    Is it possible the create a simple page without changing the webservice? Can i change the way the parameters are filled in an easy way?
    Thanks,
    Jan-Derk

    Hi friends,
    Maybe it is better that i ask:
    How i can set a ViewObject current row to an specific row on page display?
    for example when my page display i need to set its current row to another row.
    e.g:
    servicesView.setCurrentRow(myOwnRow);but i want this code to execute when my page is shown, where i write the code?

  • How do I create multiple-up pages populated with variable data?

    I am trying to create a variable data Illustrator file but with a catch, I have to create multiple points of data on one artboard.  I am using a template with 36 identical shapes, and I'm trying to add a different image to each based off of using variable data.  I understand the premise of creating multiple output files based off of an illustrator file and data, but I have to create a single output file using 36 points of data, all QR codes.  The reason is that this 36-up 14.5" x 14.5" sheet will be printed on a large format inkjet and then be fed into another machine (not a cutter) that requires that specific layout for it's process.  I cannot create individual files, I need sheets based off of my 14.5" x 14.5" 36-up template.
    Any suggestions other than making each shape in the template a separate variable (even though they are all the exact same shape) would be greatly appreciated.
    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.

    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.
    You're barking up the wrong tree for this with Illustrator's Variables palette.
    Think of it like this:
    Imagine a typical spreadsheet with multiple rows of the same kind of data, except for the first row which serves as the "labels" of the columns.
    The on-page objects which you define as Variables in Illustrator correspond to the first row; the column labels.
    The datasets correspond to the following rows of values below the label row.
    Cycling through the datasets simply moves up and down the rows, revealing one row's data at a time for each of the column labels.
    Your multi-up array does not fit that data model. You are essentially trying to make a layout showing all the individual cells below the single label of one column (downward across all rows). (Illustrator's Variables feature doesn't even let you put multiple instances of a single variable in the document, so that the same value occurs in multiple places.)
    You're trying to build the functional equivalent of a typical "gang up" press sheet, like a 10-up layout of business cards, each showing the same kind of data (name, phone, etc.) for multiple employees, so that you don't have to do separate press runs for each employee. That's certainly a common need, and one quite appropriate to a program like Illustrator. But Illustrator's Variables feature does not do that.
    Essentially, what you are wanting to do is to replicate the basic functionality of any program which is used to print labels from data (like the typical mail merge function for address labels which are ganged up with some number of different labels on a page). What you want could be done in Illustrator via a custom JavaScript, but it would be a pretty silly exercise in reinventing the wheel. If it were me, I'd probably build the solution in FileMaker Pro (a database program), depending on the specific graphics requirements. However, you should be able to do it in InDesign, using its data merge feature.
    JET

  • BAPI to create SNP planned order based on start date

    Hi,
    I am looking for a BAPI to create SNP planned order based on the order start date. There is BAPI BAPI_MOSRVAPS_CREATESNPORDER which can be used to create SNP planned order based on the end date but not based on the start date.
    Also would be great if some one can share how do they create SNP Planned orders using BAPI BAPI_MOSRVAPS_CREATESNPORDER in case if GR processing time is defined in the product master and workdays for GR to be respected according to the calendar.
    Regards,
    Venkat

    Hello Mr.Venkat,
    Hope you recognize me.
    Please check out the BAdi below.
    BAdi - APO_BAPI_BUS10503 (this is the BAdi for ManufactOrderAPS  BAPI which contains the SNPorder BAPI)
    Method - CHANGE_SAVEMULTIPLE2
    In this method parameter IT_ORDER_HEAD contains Order start date input option.
    For GR time please check this (not sure if it will help).
    Same BAdi/ same method
    Parameter IV_PLANNING_MODE_USAGE contains field PLANNING_MODE.
    Value 1 for PLANNING_MODE corresponds to "Observance of parameters from the product master".
    This may make it respect the GR time in product master
    Good luck with the above
    Regards,
    Ashok

  • Set  SOAP header element while invoking WS thru ADF webservice Data control

    Experts,
    I am trying to invoke/call a webservice (using ADF web service data control ) which is expecting custom element in SOAP-Header. I want to know the steps needed to set SOAP-Header custom element when using ADF web service data control. SOAP-Header custom element will be string type, something like
    <soap:Header><element1>String</element1></soap:Header>
    Thank you,
    Ashish

    Hi,
    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 DataControls.dcx file of your WS DC project
    <AdapterDataControl id="..."
    xmlns="http://xmlns.oracle.com/adfm/datacontrol">
    <Source>
    <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice"
    name="..." version="1.0"
    provider="adf.sample.wsdc.CustomSOAProvider"
    wsdl="http://...">
    Frank

  • ADF Mobile: WebService data control method call with array

    JDev 11.1.2.3
    ADF Mobile deployed to Android emulator
    Hello All,
    I am trying to invoke a method in my Web Service data control and get the following exception
    Caused by: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Cannot serialize: [I@1dbae822
            at oracle.adfmf.dc.ws.soap.SoapTransportLayer.invokeSoapRequest(Lorg/ksoap2/SoapEnvelope;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Loracle/adfmf/dc/ws/soap/SoapGenericType;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.JavaBeanOperation.execute(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.invokeOperation(Ljava/util/Map;Loracle/adfmf/bindings/OperationBinding;)Z(Unknown Source)
            at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.execute()Ljava/lang/Object;(Unknown Source) This method is an AppModule method exposed as a service interface and the parameter for this method is a List<oracle.jbo.domain.Number>. The schema definition for the input is as follows:
    <element name="acceptTask">
       <complexType>
         <sequence>
                <element maxOccurs="unbounded" minOccurs="0" name="taskID" type="decimal"/>
         </sequence>
       </complexType>
    </element>For the input to my binding, I have tried int[], Integer[] and List<Integer>. All of these result in similar errors.
    I have also tried invoking this through a regular ADF application and that works fine with an int[]. It looks like something specific to the ADF Mobile SOAP layer.
    Is this a bug or a restriction in the framework? Any workarounds that has worked for anyone?

    No luck. A WS DC method call with a simple parameter (java.lang.String or java.lang.Integer) works fine but I can't get it to work when there is an array input.
    I have tried WS methods with int arrays and simple string arrays without any luck. All of them result in a cannot serialize error.
    I can't figure out what I am doing wrong. Are there any working WS Datacontrol samples with array inputs?

  • WSRP vs Webservice Data control

    Hi all,
    I am developing an webcenter portal framework application using Webcenter 11.1.1.6.0
    I have to invoke a webservice in my application.  The Webservice saves the data to database.
    Which one is more preferable to invoke a webservice in Webcenter Portal framework application. Is it Webcenter Data control or WSRP.
    What are the advantages of each of them and when we have to use them.
    Thanks in advance.

    Hi.
    If you plan to use a "re-usable" component to use your WSDL then follow one of the next:
    1) Create a Re-usable bounded Task Flow (with Model project that include your integration of your WSDL) and add it to WebCenter Portal.
    2) Create an independent WSRP Portlet consuming your WSDL.
    From my opinion, I prefer the option of create a separate ADF Task Flow using WSDL integration via Data Control or Java Client.
    Regards.

  • Java to access Webservice Data control?

    We created a Data Control from a Web Service.
    My question is can one use this Data Control using POJO.
    I think you should be able to do it but cannot find good documents or examples. Any pointers is much appreciated.

    Hi,
    if you mean a POJO in a SJF or JSP/STruts application, then yes, you can. You expose the data control methods on the binding and access the binding layer. If you mean using it from a non ADF application in a plain POJO, then the answer is no. In this case you would use a WS proxy class
    Frank

  • WebService data control data persistence issue

    Hi,
    We are using one Web Service data control on two jspx pages of application. The attributes from the data control are added on both the pages as data binding.
    Scenario:: We submit some data from Page1 using web service data control and move to Page2. Fill some data on Page2 and again submit the request to Web Service data control and after successful response move back to Page1. Same is repeated again and again for this scenario.
    Now the issue is, we submit some data from Page1, move to Page2, submit some data from Page2 and come back to Page1. If we repeat this process, then while submitting the data on Page1, the data that we submitted earlier on Page2 also get submitted, which is not expected. We only want to submit the data as per the binding on that page. Page1 is in unbounded taskflow and Page2 is in bounded taskflow.
    We have tried by setting possible values like :: CacheResults: false on iterator, Refresh condition: Ifneeded, UsePersistentStructure to false on data control. Also tried to reset and clear the data control using APIs and resetInputState on bindings. But nothing is working. The only method that is working is ClearForRecreate on Page1 iterator. But since its internal method this might not be good to use it. Also after using this we stated to receive intermittent error stating AttributeList$Itr can not be cast to String and some times argument is not an array exception.
    Please let me know, how i can ensure that correct data is sent to web service data control.
    Using JDev 11.1.1.6.
    Thanks

    Solved by removing the Share Data control option in taskflow.
    Thanks

  • Creating a single chart based on two data providers in webtemplates

    Hi All!
       Is there a way to design a webtemplate  where a single chart is displayed from  two different dataproviders. my requirement is to display a chart which gets its data from two different queries which have simmilar keyfgures and simmilar dimentions. note that we cannot have a single query .
      any suggestion is a welcome and  will be appreciated with points.
    with regards
    ashwin

    Hi!
      good suggestions
    1)With APD:- These quereis are based on variable which selects a charecteristic which is outside the cube and it has M:N relationship with the Charecteristic in the cube. sooo It is not optimal to call APD each time i want to use the query and more over i can not have a Seperate infoprovider just for one query which is verydynamic and changes more than once in a data
    2)cannot create a multiprovider because one charecteristics   BP group is in  M:N relation with Business parner charecteristic in some 3 cubes. and if I create a multiprovider i can not restrict  the contents based on group only valid option might be to use infoset but it performance wise its not a good solution
    3) with BSP do you mean eachtime when we want use the query with a different restriction do we need to execute this BSP application with a variable and then fill the datasources and then activate the table and then check the query??? or you mean something else..can you please explain a bit... more about the concept.
    with regards
    ashwin

  • Create PO XML files based on Vendor Data ...

    hi,
    i have an idoc ORDERS.ORDERS05 and will contain various vendors as a one of the values in the IDOC.
    Based on the different vendors i have in the IDOC, XI has to create various xml packets and send it through HTTP via SOAP adapter.
    Each vendor will have a unique URL where the xml can be posted.
    Any steps or docs will be helpful.
    Thanks,
    Tirumal

    Hi Tirumal,
    First, you will need to configure a communication channel for each of the SOAP receivers.
    Then, in Receiver Determination or Interface Determination, using the Condition Editor and XPath expression, you can examine the content of the IDoc and check for the vendor value.  The Condition Editor will route the message to the specific Communication Channel, based on the value in the conditon.
    Regards,
    Bill

  • Creating Quotation in SAP based on the data from 3rd party sys

    Hello experts,
    My client is using a 3rd party system where the Quotations are created.
    The Requirement is, the same quotaions have to be created in the SAP automatically.
    Please advice how to achieve the above
    Thanks in advance,
    Chintu

    Hello experts,
    My client is using a 3rd party system where the Quotations are created.
    The Requirement is, the same quotaions have to be created in the SAP automatically.
    Please advice how to achieve the above
    Thanks in advance,
    Chintu

Maybe you are looking for