ADF 12 c - create and consume WebService using SOAP and business components

Hi all!

I am trying to create two separate projects. One who creates Web services using the components of the company and another to consume these services.

For now, I created the basic operations of VO (search, update, Get,...) and even a find with use of criteria.

I can easily use the Get functions (by id), nor on the criteria to get a customer by one of his name.

The problem is that I need a function to retrieve all customers (without any criteria) in a table, and then modify the selected customer, perhaps with the update function. I tried this but, there is no collection on the data control to do so.

On the last days, in that I wanted a resolution to my problem but the tutorials I've seen, none seems to be exactly what I need. At least none that I could clearly understand it is being implemented.

Can someone give me a hint or two on how to make this implementation using BC/SOAP?

Off-topic question: is there an advantage over the use of SOAP on REST, since the REST seems to be faster due to the possibility of using JSON?

Thank you!

You can create the custom method in your AppModuleImpl class that presents the signature.

Something like:

public List getAllRecords(){
    List result = new ArrayList<>();

    ViewObject vo = getYourVO();
    vo.executeQuery();
    while(vo.hasNext()){
        ViewRowImpl row = (ViewRowImpl)vo.next();
        result.add(row);
    }

    return result;
}

And in the AM editor expose this method as part of your web service.

Then in the other project to create this ws-based Web Service data control, call the getAllRecords() method (as method activity in some task flow, or drop it on the page as a button) and in the end, expand getAllRecords() day in data controls pane and drag and drop 'result' to your af:table page

Dario

Tags: Java

Similar Questions

  • problems with the form created in muse for use in ecommerce business catalyst Fund

    I am trying to create a form to use with my BC site hosted for the trade module extraction

    I created an example of form - but whenever I update the site she replaces the form that I modified in British Colombia

    I checked the no export option not the page that the form is placed on, but it always replaces...

    Hello

    any online form that is not used so far, will be removed by the Muse. To solve this problem,

    (1) create the purchase form online with details of payment in British Colombia.

    (2) model add-on Goto-> online store-> register buy arrangement and place the form online.

    3) go to the URL of the test page and submit an entry test.

    (4) return in the end an order will be created.

    (5) then publish the site through Muse.

    Muse never removes an online form that has been used for the presentation.

    Let me know if you have any question.

  • How to create and use Webservice using WSDL controls in weblogic portal10.3

    I have WSDL, how to create webservice control using WSDL in portal weblogic 10.3 and use these controls to call the Web service methods?
    Please give me the links of documents for this.

    Thank you

    Published by: user9041086 on August 12, 2010 09:26

    See the discussion below

    How to create and use Webservice using WSDL controls in weblogic portal10.3

    Thank you
    Vincent Sarvabatla

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • How to create a floating layout using adf

    Hello
    I use Jdeveloper 11 g to develop an application.
    I just came across problems when I am trying to build the look and feel.
    Basically, I want to develop according to the following link.

    http://Webfusion.KCMO.org/coldfusionapps/ActionCenterRequest/GetStatus.cfm

    I was able to create available to help adf page layouts and components (af:panelStechlayout, af:panelgrouplayout), but the problem, I faced, I want the whole page to scroll and have a floating layout.
    But in my case, the panels are scrolling, so when I resize the browser, or change the resolution, everything seems to be broken in pieces.
    In addition to recreate the schema above, I include everything under the 'Centre' facet, where the use of models creates questions.

    Here is the code I use (just the code of the structure), it looks like simple preety but I'm not able to understand this one.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document title="findcase" id="d1">
          <af:form id="f1">
            <af:panelStretchLayout startWidth="100px" endWidth="100px" id="psl2">
             
              <f:facet name="center">
                <af:panelStretchLayout endWidth="63px" id="psl1"  topHeight="120px" bottomHeight="50px"
                inlineStyle="font: 100% Arial, Helvetica, sans-serif;background: #2A3644;font-size: 13px;margin: 0;padding: 0;text-align: center;color: #000000;"
                                       startWidth="44px">
                
                  <f:facet name="center">
                   <!-- Header -->
                   <af:panelGroupLayout layout="scroll"
                                         xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                         id="pgl3">
                      <af:image source="http://cfdev.kcmo.org/coldfusionapps/templates/images/kcmo_banner.jpg"
                                shortDesc="header" id="i1"
                                inlineStyle="width:960px; height:77.0px;"/>
                      <af:panelGroupLayout id="pgl2" inlineStyle="height:33.0px;">
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/home.jpg"
                                  shortDesc="menu1" id="i2"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/services.jpg"
                                  shortDesc="menu2" id="i3"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/residents.jpg"
                                  shortDesc="menu3" id="i4"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/business.jpg"
                                  shortDesc="menu4" id="i5"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/visitors2.jpg"
                                  shortDesc="menu5" id="i6"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/officials2.jpg"
                                  shortDesc="menu6" id="i7"/>
                        <!--af:panelGroupLayout id="pgl4"-->
                          <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/kcmo_banner_slice.jpg"
                                    shortDesc="searcharea" id="i8"
                                    inlineStyle="background-repeat:repeat; width:355px; height:35.0px;"/>
                        <!--/af:panelGroupLayout-->
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/kcmo_banner_lower.jpg"
                                  shortDesc="banner" id="i9"
                                  inlineStyle="width:960px; height:7.0px;"/>
                      </af:panelGroupLayout>
                     <!-- starting the center section -->
                      <af:panelStretchLayout id="psl3" inlineStyle="width:960px; margin:auto; background-color:White;"
                                             startWidth="232px">
                        
                        <f:facet name="center">
                         <!-- your page content goes here -->
                          <af:outputText value="outputText1" id="ot3"/>
                        </f:facet>
                       <!-- side navigation panel -->
                        <f:facet name="start">
                          <af:panelGroupLayout id="pgl1" inlineStyle="float:left; margin:5px; width:236.0px;background-color:#edf0f5;text-align: center;">
                           <af:goLink text="City Government" id="gl1"
                                   destination="http://www.kcmo.org/CKCMO/Depts/CityManagersOffice/InternshipsandfellowshipswiththeCity/KansasCityGovernment/index.htm"
                                   inlineStyle="font-family:Arial, Helvetica, sans-serif; font-size:10px;     color:#395F76;     font-weight:bold;"/>
                          <br/>
                            <af:goLink text="Codes and Ordinances" id="gl2"
                                       destination="http://cityclerk.kcmo.org/liveweb/common/"
                                       targetFrame="_blank"/>
                            
                          </af:panelGroupLayout>
                        </f:facet>
                        <f:facet name="end"/>
                      
                      </af:panelStretchLayout>
                      
                    </af:panelGroupLayout>
                    
                  </f:facet>
                  <f:facet name="end">
                    <af:outputText value="" id="ot2"/>
                  </f:facet>
                   <f:facet name="start">
                <af:outputText value="" id="ot1"/>
              </f:facet>
                </af:panelStretchLayout>
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Any help will be much appreciated.
    Thanks in advance
    Ash

    Try to create a layout that uses a panelGroup static when the container upper and use panelBorders inside.
    Something like this:

    
    
      
      
        
          
            
              
                
                
                
                
                  
                    
                    
                      
                      
                      
                      
                      
                      
                      
                      
                      
                      
                    
                  
                
                
                  
                    
                      
                      
                    
                  
                  
                  
                  
                  
                    
                    
                    
                  
                
              
            
          
        
      
    
    
  • It is allowed to use Windows Movie Maker to create and edit videos Youtube Monetizable (commercial use)? »

    (By Microsoft), it is allowed to use Windows Movie Maker to create and edit (titles, effects) of Youtube videos that will be Monetizable?

    Yes, but the videos should be your property made/saved by you and not fact/record of others.

  • Create new Orgs by using the API (hr_organization_api.create_hr_organization) and details additional Org Unit

    Hello

    I created some orgs again using the API (hr_organization_api.create_hr_organization)

    I also want to create additional details Org Unit FDF but not sure which API to use.

    I am trying to insert data into attriubute1, 2 and 3 of the table to hr_all_organization_units by using the API, however the hr_organization_api.create_hr_organization API only allows me to use a segments of1 to 30 in the parameters of the API and NOT the attribute columns

    Can someone please suggest.

    Thank you

    Hello

    As you have rightly noted, hr_organization_api.create_hr_organization is not the settings to meet the ATTRIBUTE?.

    You could try calling the hr_organization_api.update_organization with the "p_organization_id" returned by the API call 'create '.

    Kind regards

    Rajen

  • Can I create a Web site using Muse where classmates can submit their projects photo and other students can search for these photos using keywords?

    Can I create a Web site using Muse where classmates can submit their projects photo and other students can search for these photos using keywords?

    You need a dynamic Server backend. You can't do it just with Muse. You can connect to one of the catalyst for business advanced accounts to implement these features or use widgets from third party services. Otherwise look you in systems such as Joomla, Typo3, Wordpress etc. and not even set up with muse.

    Mylenium

  • I have created a PDF file using Adobe DC and I need to share this amongst many pepole. They need to install adobe DC on their pc

    I have created a PDF file using Adobe DC and I need to share this amongst many pepole. Do need to install adobe DC in their pc.

    It depends on.

    1. most people with reasonably new equipment can read PDF files in any case using things that are built in. This includes

    -Windows 8 and later versions

    -Mac OS (all users)

    -iOS (iPhone, iPad)

    -Android (phones and tablets)

    2. many people Windows have a web browser that can read PDF files anyway. This includes

    -Chrome

    -FireFox

    3. This means there are many different types of software that can read PDF files. If you do a simple PDF, you should be fine. If you make shapes or portfolios or media, your end users must install Acrobat Reader, even if they otherwise can read a PDF file.

  • Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?

    Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?

    I think you could use DW, but it would be browser based and you need to understand a lot about html, css and javascript to do. Adobe Captivate seems closer to what you want: http://www.adobe.com/cfusion/search/index.cfm?term=buy+captivate&loc=en_us

    Is not part of the subscription of cloud creative and is 1000 US $ or $29.99 / month on its own...

  • My project will not move past slide 7.  I created a new project using a ppt presentation and the porject won't move past slide 7 even in preview.  Help?

    My project will not move past slide 7.  I created a new project using a ppt presentation and the porject won't move past slide 7 even in preview.  Help?

    I was pulling the presentation ppt to a network drive, so he didn't fully assume.  I saved the presentation on my desk and imported again and it worked fine.

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hello

    I would like to create a dynamic newsflash using dreamweaver and PHP because newsflash will be snapped up information from a MySQL database. The Bulletin-Flash should also have a link to view more information about the piece of news a user wants to learn more. What tools do I need to use in dreamweaver and how is the procedure to go about it. All opinions are appreciated. Thanks in advance!

    Sermon of Ras wrote:

    I tried using the spry effects, but it does not work. Is there a best way to do this?

    Google "jquery vertical newsticker" ;-)

  • Data Modeler: how to create and use the collection type

    Hello
    essentially of departure I don't understand how (for example) create and use the data based on the type of data varray type.

    Please notify.
    Thank you
    Andrew

    Hi André,.

    You can create new types of collection (varray/table) in two ways:
    (1) in the browser - find 'Types of data' > 'Types of Collection' node menu dropdown - there just 'create new collection type' it
    (2) in the types of data model diagram - you can create collection "some type structured" or collection of references to the it - use 'new Collection... '. "tool and click first on sight structured type and after the structured type that will contain the collection - new attribute is added to the latter and if there is none this type of collection already didn't set the new collection type are created and you can change it later.

    Philippe

  • How to create and use using the .csv file?

    I have one makes IAM csv file to create use... What are the steps to follow.

    I am looking for this last 3 days... .data is not updated in the database.

    I hope that iam not creating do not properly use...

    Please send to [email protected]

    Hello musunurudiadem,

    Have you tried the process in these documents?

    http://www.NI.com/white-paper/13758/en/

    http://digital.NI.com/public.nsf/allkb/AB28139F280CC3E586257563005B9664

    In the first link, if you click on the boxes of the flowchart need you for the step-by-step procedures for a different part to get data in tiara.

    As your data is in a CSV file, you may be able to use the wizard:

    http://www.NI.com/white-paper/13789/en/

    If you cannot use the wizard, here are some resources for programming your own plugin:

    http://www.NI.com/white-paper/13803/en/

    Kelsey Johnson

    Technical sales engineer

    National Instruments

  • Consuming webservice WSDL

    Hello

    Using jdeveloper 11.2.3.0.

    I consumed the webservice using the "Webservice WSDL Java" option. He created SampleMethodImpl.java which has 2 methods add (int a, int b) and sub (int a, int b).

    I call Add (int a, int b) in my EOImpl.java class.

    Kind regards

    Prasad K T,.

    Here are some tips on how to do

    https://blogs.Oracle.com/middleware/entry/calling_web_services_using_adf_11g

    Antonis Antoniou blog: integration of Web Services in your ADF Application Part 1

    and the doc http://docs.oracle.com/cd/E17904_01/web.1111/b31974/web_services.htm#ADFFD5340

    Timo

Maybe you are looking for

  • Features vs iPhone location services

    1 rental Services is the single most noticeable drain on my battery (4 s).  I prefer to keep off. 2. turn on, which seems like it might be a simple toggle on the top-shot screen, is buried to four taps deep into the settings Menu.  Turn requires the

  • My Macbook Pro keeps freezing for short periods

    Hello A new problem started with my Macbook pro in recent weeks. Initially, it was rare, but now he continues to be all a few minutes (it happened as I type this). What is happening is that my current application freezes for a few seconds, then retur

  • I can't get my e-mail dated after 31 / 6 / 11

    I can't my Hot Mail dated after May 31.

  • printer not communicating is not with the computer

    I have v310w dell printer and it does not communicate with the computer that is running windows 7

  • ICS - Internet connection sharing does not

    I build two computers with Win7 Ultimate and need to share a modem on a wired network connection. I have got the file sharing to work between the two machines and followed all the instructions concerning the ICS, but still not get the no host machine