Developing Business Services with ADF BC

Hello all,
I was following the tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm#t2s5, which is Developing Business Services with ADF Business Components
AND i was wondering if i could add a custom validation that would: prevent the user from entering a Gender IF the credit limit is greater than 400? Is this possible? If so, could some point me in the right direction
Cheers

Hi,
you have two options:
1. add the validation on the ADF BC model using a method validator. This would compare the two attributes and throw an exception if the business rule is violated
2. Use a ValueChange Listener on the credit limit field (in association with a autosubmit=true setting on the field) to enable the gender field through a Partial Page Refresh. To programmatically refresh a field using PPR, you create a binding of the component to refresh o a managed bean using its binding property. Then you call
AdfFacesContext.getCurrentInstance().addPartialTarget(<component reference here>)
Frank

Similar Messages

  • 10.1.3.1 : Developing Business Services with ADF BC tuto issues

    Hi,
    I was doing a learning session at my office based on the 'Developing Business Services with ADF Business Components' tutorial : http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm. The topic Creating ADF Business Components > 9 shows how to create EOs, VOs, AM and the corresponding UML diagram.
    When using JDev 10.1.3.1 :
    * the diagram is not generated as expected,
    * the java domains are not created from DB domains.
    Under JDev 10.1.3.2 :
    * the java domains are created from DB domains,
    * the diagram has been generated on 1 out of 3 computers.
    Any clues on what's going on or any known bugs ?
    Thanks,
    Seb.

    Hi,
    Today in 10.1.3.1 the diagram generation just works. It seems the keepResident extension was causing troubles as the exception stack trace mentioned its name... I just removed it.
    But still, the domains are not generated as expected. I've made several tests even in a fresh installation of JDeveloper 10.1.3.1.
    Seb.

  • Images not displayed in Developing Business Services tutorial

    Hi Oracle Team,
    Images in the Developing Business Services with ADF Business Components tutorial @http://www.oracle.com/technetwork/testcontent/developbusinessservices-097552.html is not getting displayed.
    CAn anyone from Oracle team fix this please.
    Regards,
    Vikram

    Vikram is right!
    Neither IE nor Mozilla work.
    It is 3 days since vikram reported the defect.
    Won't anybody fix the code of the page?
    Is oracle committed to offer support, training and reliable resources to developers who use their products, or not?
    NA
    http://nickaiva.blogspot

  • Dynamic routing for a Business Service with multiple operations

    I have two business services with multiple operations. Business service A (bsA) has operations OpA1 and OpA2. Business service B (bsB) has operations OpB1 and OpB2.
    Depending on incoming Proxy message and operation, I have to do one of the following
    1. If someValue = A and operation= Op1 then invoke operation opA1 of bsA
    2. If someValue = B and operation= Op1 then invoke operation opB1 of bsB
    3. If someValue = C and operation= Op1 then invoke operation opA1 of bsA AND* operation opB1 of bsB and return aggregate data of both invocations
    1. If someValue = A and operation= Op2 then invoke operation opA2 of bsA
    2. If someValue = B and operation= Op2 then invoke operation opB2 of bsB
    3. If someValue = C and operation= Op2 then invoke operation opA2 of bsA AND* operation opB2 of bsB and return aggregate data of both invocations
    Using a dynamic route node or dynamic routing options, I am able to achieve cases 1, 2, 4, and 5.
    But for cases 3 & 6, I can not use a route node. When I use a Service call out instead, then I am forced to create a Operational branch but that does not seem like the best design since for every new operation added to the business services, I have to add a new branch to the Operational branch and redo all the functionality for that branch.
    Basically, I am looking to achieve the functionality of the Route node ( no need to specify the operation ).
    Any thoughts/ideas on what the best design would be?
    thanks

    For cases 3 & 6, why don't you route to another proxy service where you can simple do two service callouts, merge output data somehow and return them to the first proxy?
    If you look for "special route feature", that could possibly call two services for a single message, I'm afraid you won't succeed.

  • Sending Idocs to R/3 Error when Business Service with a party is configured

    Hi All,
    I'm facing some issue when posting idocs (FINSTA) back to R/3 when Business Service with a party is configured in my Integration Directory. However, I do not have this problem, if the
    Business System without Party is configured. It seems that 'adapter specific' setting doesn't
    seem to work when you have a party.
    I have read the same problem faced by other SDN members as well, some suggested to have the latest patch to solve the problem. FYI, I'm using latest patch SP 15, but the problem still exist. The error that I have in the sxmb_moni is "Unable to convert sender XI party http://sap.com/xi/XI / XIParty / GABXI100 to an IDoc partner".
    Please assist. Thanks.

    Hi Arun,
    Thanks for reply.
    What do you mean by XI Party must map to a party in the R3 in the partner profile?
    For example, If my Party Name in Integration Directory is ABC01, I should create a partner profile of ABC01 in my R3? How if I have business service under the Party ABC001, what should I configure in my R3?
    Currently My Partner Profile in R3 is type 'B' - Bank.
    Thanks for helps.

  • Future support for using PL/SQL core business logic with ADF BC

    We want to migrate our large Forms client/server (6i) application to ADF, possibly using a migration tool like Ciphersoft Exodus.
    One scenario could be to use ADF BC and ADF-Faces or a different JSF-Implementation for presentation and business layer but keep our heavy PL/SQL-businesslogic inside the Oracle database in packages, triggers, functions and procedures.
    This scenario could be chosen due to the huge amount of interconnected logic inside the database (10 years of development; no technical components; any package may access any table and more of this kind of dependencies). The business logic nowadays held in Forms client will be moved mainly into the database as a prerequisite to this scenario.
    Choosing this "keep-logic-in-DB"-scenario we need a good support by ADF BC to do so. We know and prototyped that it is possible to call some PL/SQL via JDBC from ADF BC and it is possible to use stored procedure calls for standard business entity data access (ins, del, upd, ..). But this does not solve our problems. We want to reuse core business logic coded in PL/SQL. This is much more than change the ADF standard behavior for an update with an own PL/SQL-call.
    Now my question:
    Will there be a kind of sophisticated support to use ADF BC in combination with database-kept logic?
    If so, when will this happen and how will the common problems of transactional state inside the database and inside the ADF BC be solved? Any plans or ideas yet?
    Many other clients do have similar applications built in Forms and PL/SQL and would be glad to hear about a path of direction.
    I've read the technical article 'understanding the ADF BC state management feature' which you have contributed to. One current limitation is pointed out there: Using PL/SQL with ADF BC limits ADF AM pooling to 'restricted level' which reduces scalability.
    Are you aware of additional main problems/tasks to solve when using PL/SQL heavily with ADF BC, which we have to think about?
    Thank you for any response.
    Ingmar

    My main problem is two 'concurrent' areas holding state in an application system based on DB-stored PL/SQL-logic in combination with ADF BC.
    For a new System everything can be made ok:
    Sure, it is possible to build a new system with the business logic included in ADF BC only. All long-living state will be handled in the BC layer ( including support for UnitsOfWork longer than the webside short HTTP-requests and HTTP-sessions and longer than the database transactions.
    For an old system these problems arise:
    1. DB data changes not reflected in BC layer:
    Our PL/SQL-logic changes data in tables without notifying the ADF BC layer (and its cache). To keep the data in ADF BC entity objects identical to the changed database content a synchronization is needed. BC does not know which part of the application data has been changed because it has not initiated the changes through its entity objects. Therefore a full refresh is needed. In a Forms4GL environment the behavior is similar: We do frequently requeries of all relevant (base)tables after calling database stored logic to be sure to get the changed data to display and to operate on it.
    -> Reengineering of the PL/SQL-logic to make the ADF BC layer aware of the changes is a big effort (notifying BC about any change)
    2. longer living database transactions
    Our PL/SQL-logic in some areas makes use of lengthy database transactions. The technical DB-transaction is similar to the UnitOfWork. If we call this existing logic from ADF BC, database state is produced which will not be DB-committed in the same cycle.
    This reduces scalability of ADF BC AM pooling.
    Example:
    a) Call a DB-stored logic to check if some business data is consistent and prepare some data for versioning. This starts a DB-transaction but does not commit it.
    b) Control is handed back to the user interface. Successful result of step a) is displayed
    c) User now executes the versioning operation
    d) Call another DB-stored logic to execute the versioning. DB-transaction is still open
    e) Business layer commits the transaction automatically after successful finishing step d). Otherwise everything from a) to e) is rolled back.
    -> redesign of this behavior (= cutting the 1to1 relation between LogicalUnitOfWork and the technicalDatabaseTransaction is a big effort due to the big amount of code.

  • USe of Business services with BPEL or ESB

    Hi,
    Has anyone come across any example on how to use Busiess services with BPEL or ESB.
    Oracle App Server , JDE 812 , Tools 8.98 , SOA suite 10g

    Samir,
    I don't see any answer for your post.
    Did you find a solution. I would be interested to know as how to integrate business services in JDE with BPEL/SOA 10g or 11G.
    I would appreciate if you could share the approach/solution you followed.Also, please let me know if there are any docs which I can for jde-fusion integration.
    Thanks
    Edited by: user13374451 on Jul 26, 2010 9:15 AM

  • Business Service with multiple HTTP Request Methods

    hi all -
    I'm new to OSB and trying to prototype a solution. I have a service provider that exposes a number of HTTP operations (GET/PUT/POST/DELETE). It's a JAX-RS implementation.
    I was looking to create 1 proxy service and 1 business service for that service provider. But, within my business service, I must chose a 'HTTP Request Method' and it allows only 1 type (either GET, PUT, POST, DELETE). So, I have something working, but only for a single type (POST in my prototype). I figure I could create more proxy and business services for the other HTTP Request Methods, but I'm not sure if this is the correct approach (design/architecture).
    My other thought was to create a proxy service to front the service provider, but looking at the documentation, it looks like there should be a business service for each proxy service. If it's possible to use a proxy service without a business service to mediate the service provider, where would I add my URLs for the service provider in the proxy service.
    My apologies on the 2 part architecture/design question. I thought the group would help with getting me started.
    thanks jim

    Hi,
    Frankly I dont know too much on this topic but following links may help you:
    http://help.sap.com/saphelp_nw04/helpdata/en/25/dda73e5b7a424de10000000a114084/frameset.htm
    Troubleshooting ICF: http://help.sap.com/saphelp_nw04/helpdata/en/80/b2dd3a6dac703be10000000a11405a/content.htm
    Possibly experts in this forum will be able to help you:  Application Server->Internet Transaction Server (ITS)
    Regards,
    Gourav

  • Business service with ws security (missing security headers)

    Hello,
    I have business service for which I applied ws - security (I want customer to sign response. Response should be validated by osb). I applied policy. Everything works as expected.
    My problem is that I would like to save message sent by customer (together with headers which contain signature). However headers related to security are not present in
    $header variable in response pipeline. When I disable ws-security then headers related to security are visible in reponse pipeline. So it seems that security headers are removed
    when ws-security in enabled. Can I somehow access all headers in response pipeline to be able to save them?

    I wasn't clear?
    This is a big dev problem for a major Sun client.
    No one knows or wants to answer?

  • Error creating business service with EJB transport on Unix

    I have ALSB 3.0 installed on a Unix system and I am unable to create a business service based on the EJB transport. After I associate the client jar to the business service, ALSB recognizes the home and remote interfaces in the jar file but as soon as I click the Next button I see the following error:
    An expected exception occurred during the creation or update of this service: null
    If I install ALSB 3.0 on Windows then I am able to create the identical EJB based business service that fails on Unix.
    Has anyone been able to create an EJB based business service on Unix or is this a known issue with ALSB 3.0?
    Thanks for any help!

    Hi irgendwo,
    user profile server must be required when you need the to enable the People Search feature. and this pre-request.
    you can confg search  but you can used because there are many service which are depeded to each other
    check the link for depended services
    http://technet.microsoft.com/en-us/library/ee662538%28v=office.15%29.aspx
    Please verify all the depended service as well which is required in serach service...
    see the below link from MSDN about serch service application ..
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    http://blog.ciaops.com/2012/12/search-service-on-foundation-2013.html
    Please mark the Answe and vote me if it will you while search configuration

  • How to Access Web service with ADF Mobile Browser Application

    hi all,
    My Jdeveloper version is 11g 2 release(Version 11.1.2.2.0). I need to know If I create a web application and put it on a server as a web service., Then I create a Mobile browser application and need to access that web service.
    If it is possible, how should I do? version are same in both application.
    hopping any clue..
    Thxs.

    You can go thru the below links :
    ADF Mobile HowTos: Consuming SOAP web service in ADF Mobile using WS DC
    Oracle JDeveloper 11g Release 2 Tutorials - Building Mobile Applications with Oracle ADF Mobile

  • What is needed to develop web services with DI Server using C #?

    Hi,
    What is needed to develop web service using DI Service ad C#?
    Does anyone have any examples?
    thanks,
    Willian

    Login C# sample
    u2018 Create Service WebReference
    LoginWebRef.LoginService loginService = new LoginWebRef.LoginService();
    // service command login call
    string sessionID = login.Login(
    "localhost",
    "COM_OBS_AUT_TEST",
    LoginWebRef.LoginDatabaseType.dst_MSSQL2005, true,
    "sa", "xx",
    "manager", "manager",
    LoginWebRef.LoginLanguage.ln_English, true,
    "localhost:30000");
    Business Partners add C# sample.
    // Create Service WebReference
    BPWebRef.BusinessPartnersService bpsService = new
    BPWebRef.BusinessPartnersService();
    // MsgHeader class
    BPWebRef.MsgHeader msgheader = new BPWebRef.MsgHeader();
    msgheader.SessionID = DIServerSessionID;
    msgheader.ServiceName = MsgHeaderServiceName.BusinessPartnersService;
    msgheader.ServiceNameSpecified = true;
    bpsService.MsgHeaderValue = msgHeader;
    // fill business partner class
    BPWebRef.BusinessPartner bp = new BPWebRef.BusinessPartner();
    bp.CardCode = "MyBPCardCode";
    u2026
    // service command call
    BPWebRef.BusinessPartnerParams bpParams = bpsService.Add(bp);

  • Integration of Webcenter Discussion service with ADF Application

    Hi,
    I'm in the process of integrating the Webcenter Discussion service in an ADF Application.
    I have completed the following steps.
    1. Installed JDeveloper 11g and Webcenter 11g.
    2. Configured the Discussion server which was installed along with Webcenter 11g.
    3. Integrated Discussions with ADF Application by creating a Discussion connection.
    The ADF Application is running fine. But the forums are displaying empty. In the Discussion server, I'm unable to create new users and there are no options to create forums and to create threads.
    Help me in getting the below things,
    1. Where we can create forums?
    2. What settings we need to make for new forums and where to do those settings?
    3. Are there any settings to create new users as i have only one default user 'weblogic'? When i create new users from Discussion server, I'm getting the message as 'Create users not supported'.

    Hope you are using WC_Collaborations managed server to manage all discussion forum activites.
    For you requirement ,you need to navigate the following url:
    http://<server address>:<WC_collaboration port>/owc_discussions/admin
    it will take you to jive forum admin page .where you can create new forums and new users also. For user and groups management ,visit -
    http://docs.jivesoftware.com/latest/documentation/forums-admin-guide.html#users_groups
    In your application , all users are coming from weblogic server's embedded LDAP or from external LDAP(if you configure so ). there also you can create user.
    I have a doubt ,regarding your application.
    Are you using only ADF application ,or webcenter application.
    for displaying discussion forum ,you need webcenter discussion forums taskflows in your page .
    If you use only ADF application,then you need to add all the forum corresponding libraries in your application otherwise need to consult with oracle support.

  • How can I Route to two proxies or business services with out split join

    Hi,
    How are you?
    I´m trying to use a proxy to invoke 2 other proxiers or more at the same time but when trying to build a Split Join is giving an Error about the Security that is in the WSDL which is WSSecurity, so far I think that SPlit Join can´t handle this and is a must right now so I´m trying to figure out how to Route a Message to two proxies or business services doesn´t matter if it is in a secuencial way.
    Hope somebody knows what to do.
    Kind Regards,
    Gerardo J

    Hi!
    Thanx for the response, That´s the way I´m implementing it at this moment and is working fine.
    Thanx in Advanced!
    Kind Regards,
    Gerardo J

  • OSB 11g - List business services with WLST

    Hi,
    We're using OSB 11.1.1.3 and 11.1.1.6 in several environments.
    We just need to use wlst scripting to keep track of all business services and their endpoint uri's automatically.
    We tried using some old scripts but found out that they don't work on 11g installations:
    We tried the following code:
    connect('weblogic','oracle10','t3://soavm2:7001')
    domainRuntime()
    sessionName = "FindServicesSession" + str(System.currentTimeMillis())
    sessionMBean = findService(SessionManagementMBean.NAME, SessionManagementMBean.TYPE)
    sessionMBean.createSession(sessionName)
    servConfMBean = findService(ServiceConfigurationMBean.NAME + "." + sessionName, ServiceConfigurationMBean.TYPE)
    alsbCore = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)
    allRefs=alsbCore.getRefs(Ref.DOMAIN)
    for ref in allRefs:
    typeId = ref.getTypeId()
    if typeId == "BusinessService":
    serviceDefinition = servConfMBean.getServiceDefinition(ref)
    endpointConfigration = serviceDefinition.getEndpointConfig()
    print endpointConfigration
    We get a "AttributeError: 'NoneType' object has no attribute 'getServiceDefinition'" error. It seems that it is related to metalink note "How To Modify Service Configurations By OSB JMX API [ID 1431254.1]". However the code provided there is for java through jmx, does anybody has a working example of how to do that on wlst?
    Thanks!
    p.d: already posted this question on wlst forum but got no answer...

    You may like to refer metalink note 1380705.1 and OSB java API (section "Using MBeans in a script")-
    http://docs.tpu.ru/docs/oracle/en/fmw/11.1.1.6.0/apirefs.1111/e15033/com/bea/wli/sb/management/configuration/SessionManagementMBean.html
    Regards,
    Anuj

Maybe you are looking for

  • APEX Listener on Weblogic licensing - SE or EE

    Does the APEX listener on Weblogic use any Weblogic Enterprise Edition features like clustering or is Weblogic Standard Edition good enough? I'm assuming you would need to license Welogic for the APEX listener right? Also do we have any sizing guidel

  • IPad Store Pick-Up Availabili​ty on BestBuy.co​m

    I can understand not having the new iPad available for shipping, but why not the option to buy it online and pick it up at the Best Buy store?  This would eliminate the hassle of having to call the store and being put on hold or having to drive to th

  • Issue with ADF Table bound to a View Object Iterator??

    Can anyone say what would prevent an ADF table bound to a View Object Iterator from displaying all the records retrieved by the View Object Query? I ran the query directly from sqlplus and it returned 21 rows, However when i use the same exact query

  • Report Writer Library: KKBC

    Hello, is there a way to understand the correspondence between: - the fields of the reporting structure <u>KKBC</u> (<i>report table CO object product cost accounting</i>); and - the fields in the tables of origin ? The structure <u>KKBC</u> is used

  • Using a calculated field

    Hi I am using a calculated field and show it in the "view". I can't change it without removing all the calculated fields shown in the "view", only removing them all I can do it and afterwards I have to put them all back This is problem? Alexandre