ADF custom binding for given service data model

hi
I have this business service that has a given data model. I would like to bind ADF Faces components to this data model.
two examples:
(1) The data model has a date attribute somewhere that holds the date of when something has been "checked"/"approved". The user interface should present this information as a regular checkbox.
(2) The data model has some attribute as "multilingual text". It is like a regular text attribute, but the text (data) has been translated. The user interface should present this information as a regular text input field, but depending on some "selected"/"current" language.
I looked at this example from Steve Muench about custom binding:
http://otn.oracle.com/products/jdev/tips/muench/custombinding/CustomAttrBindingClass.zip
I have found some "solution" to implement the kinds of custom binding I need:
http://verveja.footsteps.be/~verveja/files/oracle/CustomBindingStuff-v0.08.zip
(Check the README.txt file.)
I extend JUCtrlAttrsDef and JUCtrlAttrsBinding, introduce a ConversionProxyRule interface and added meta-data to the <x>PageDef.xml files.
JDeveloper shows warnings like these in the "Compiler - Log", but it all seems to work fine:
Warning(55,62): <Line 55, Column 62>: XML-24534: (Error) Element 'NamedData' not expected.- questions:
(1) Do I really need all this, have I missed some typical approach for this?
(2) How do I now that "extending" the binding this way, doesn't break in the next JDeveloper release?
(3) What alternatives are there to approach this kind of "binding requirements"?
many thanks
Jan Vervecken

(1) Is the simplest overall and the solution I myself would do, but given your comments....
(2) This would be the second easiest, but would involve some delegation, sure.
(3) Involves creating custom binding objects, which while possible, we don't have much documentation on that
JDeveloper shows warnings like these in the "Compiler - Log", but it all seems to work fine: Warning(55,62): <Line 55, Column 62>: XML-24534: (Error) Element 'NamedData' not expected.
This is an XMLSchema validation failure since the schema for the <attributeValues> element in that namespace does not allow <NamedData> children, only the <action> element does. You can extract all the schemas from the adfdt_common.jar file in the ./adfdt/lib directory to have a closer look at that.
- questions:
(1) Do I really need all this, have I missed some typical approach for this?
I mentioned a straightforward approach that in my opinion doesn't qualify as radically altering your data model, but I respect your opinion to see that differently of course. :-)
The approach I mentioned would be the typical approach for this case.
(2) How do I now that "extending" the binding this way, doesn't break in the next JDeveloper release?
There is no 100% guarantee other than the fact that we try our best not to perform breaking changes since keeping upward compatibility is something we've tried to do since the beginning.
(3) What alternatives are there to approach this kind of "binding requirements"?
We've discussed the three alternatives above that I can think of. This doesn't preclude others, but those are the first three we both thought of... I hope others chime in with some insights based on there experiences, too.

Similar Messages

  • Prepare a binder for the service requests is not working

    Hi all I did migration from stellet 7.5 tp oracle cs 10gr3 but my component is not working well the problem is in getEnvironment I think can any body help
    thanks
    here is the code how can i fix it
    // prepare a binder for the service requests
    DataBinder serviceBinder = new DataBinder();
    serviceBinder.setEnvironment(SharedObjects.getEnvironment());

    What is Oracle CS 10gR3? Is this an E-business component? In that case this is not the appropriate forum...

  • Single file custom logging for portal service in 7.31

    Hello Experts,
    I have a portal service.
    The service writes sensitive data to the DB and therefore I need tracing mechanism.
    Until now I've used a custom txt file but now I want to use the SAP J2EE logging infrastructure (for performance, identifying user sessions etc...)
    Since the severity of the messages will be set to 'info' I don't want to write the log entries to 'defaultTrace.trc', I want to write it to a custom file.
    I'm aware of 'ForceSingleTraceFile' parameter but where can I set the logging properties? (in older portals I could use logger.xml in my portal component project and set a custom log file but as far as I understand 'logger.xml' is not supported anymore and its parameters are ignored).
    Where can I find the documentation for setting logging properties for portal service in 7.31?
    J2EE/Portal version is 7.31 SP7.
    Regards,
    Omri

    hi omri,
    please have a look at this documentation (SpecificDestinationLogControllers - http://help.sap.com/saphelp_nw73ehp1/helpdata/de/2b/09343e32ff1033e10000000a114084/frameset.htm)
    regards,
    christian

  • To suggest a feature for Product  Oracle Data Modeler

    Dear
    I wish I could submit a suggestion for a new feature for Oralce Data Modeler, but not found to which communication channel can do it.
    Can someone tell me an email or place to submit a suggestion, please.
    Thank you,

    Hi,
    you can use:
    - Oracle support if you have license for Oracle Database
    - SQL Developer exchange -https://apex.oracle.com/pls/apex/f?p=43135:1
    - or just write it here
    Philip

  • ESB:  Is it possible to create custom WSDL for routing service?

    Hello all!
    I have an unchangeable requirement in my project - ESB routing services must confom to WSDL specifications that are already used before we started this integration project.
    For example, we have to implement not only the same logical part of WSDL description:
    <message name="AuthorisationRequestSoapIn">
    <part name="AuthorisationRequest" element="tns:AuthorisationRequest"/>
    </message>
    <message name="AuthorisationRequestResponseSoapOut">
    <part name="AuthorisationRequestResponse" element="tns:AuthorisationRequestResponse"/>
    </message>
    <portType name="OnlineServicesSoap">
    <operation name="AuthorisationRequest">
    <input message="tns:AuthorisationRequestSoapIn"/>
    <output message="tns:AuthorisationRequestResponseSoapOut"/>
    </operation>
    </portType>
    but the binding and service sections must conform to WSDL document too:
    <binding name="OnlineServicesSoapBinding" type="tns:OnlineServicesSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="AuthorisationRequest">
    <soap:operation style="document" soapAction="AuthorisationRequest"/>
    <input>
    <soap:body use="literal" namespace="http://..../OnlineServices"/>
    </input>
    <output>
    <soap:body use="literal" namespace="http://..../OnlineServices"/>
    </output>
    </operation>
    </binding>
    <service name="OnlineServicesSoapService">
    <port name="OnlineServicesSoapPort" binding="tns:OnlineServicesSoapBinding">
    <soap:address location="....."/>
    </port>
    </service>
    And after registration of ESB routing service I've got the following service description (I ommit esb bindings and logical part here, it's ok with messages and portTypes):
    <binding name="__soap_OnlineServicesSoapService_OnlineServicesSoap" type="import:OnlineServicesSoap">
    <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="AuthorisationRequest">
    <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" soapAction="AuthorisationRequest"/>
    <input>
    <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
    </input>
    <output>
    <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ESB_OnlineServicesSoapService_Service">
    <port name="__soap_OnlineServicesSoapService_OnlineServicesSoap" binding="tns:__soap_OnlineServicesSoapService_OnlineServicesSoap">
    <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://..../event/DefaultSystem/OnlineServicesSoapService"/>
    </port>
    </service>
    How can I change WSDL that is generated for routing services? Is it possible to change the names of port and binding element?
    Thanks in advance,
    Oleg Olenin

    So, no docs, no answers, no life :) - I have only one way to get the answers:
    oracle.tip.esb.configuration.util.WSDLGenerator.addSOAPBindings():
    binding.setQName(new QName(targetNamespace, WSDLConstants.generateSOAPPortName(service.getName(),portType.getQName().getLocalPart())));
    oracle.tip.esb.configuration.util.WSDLConstants:
    public static final String generateSOAPPortName(String service, String operation)
    return "__soap_" + service + "_" + operation;
    So it is not possible to change the names of SOAP binding and port.
    And I guess there is no way to change WSDL that is generated for routing services.

  • Import or Convert Visio database diagram for SQL Developer Data Modeling

    Hi,
    Would you please advise on how it would be possible to convert an existing Visio 2007 ERD diagram for import into SQL Developer Data Modeling?
    I have tried to save the model as XML Stencil, Template and Drawing, but could not successfully import it into SQL Developer Data Modeling.
    Appreciate your input on this!
    Cheers!

    Those are just drawing formats and don't contain any useful information about the datamodel. If you can generate ddl from the diagram you can import that, but visio is really just a drawing tool with partial data modeling addins.

  • Custom Token For web services security

    How can I implement a token based security for web services? I will return a
    custom token which contains a session-id among others after a JAAS
    authnetication. I want to pass this token for every web service invokation.
    I want the serverside EJB methods to be authorized based the roles in token.
    Any ideas or pointers on the possible solutions?
    Thanks,
    Vish

    How can I implement a token based security for web services? I will return a
    custom token which contains a session-id among others after a JAAS
    authnetication. I want to pass this token for every web service invokation.
    I want the serverside EJB methods to be authorized based the roles in token.
    Any ideas or pointers on the possible solutions?
    Thanks,
    Vish

  • How to add custom line for today's date

    Hi,
    I want to add one vertical line for today's date on my line chart.
    Is it possible to draw custom line dynamically in line chart.
    Thanks in advance
    Madhuri

    I think you will probably need CRChart by ThreeD Graphics (www.threedgraphics.com).  AFAIK, it's written by the guys who supply the charting module to Crystal, so integrates 100%, even if it's a bit fiddly.
    It's a bit pricey (more than CR!), but if you need that functionality, it's about your only option. I've bought it do add a 'your average' linesymbol and 'everyone's average' linesymbol to a chart.
    Essentially, it uses macros to plot user defined lines, box fills, shapes etc onto your chart.
    You put something like this into the text fields of the chart:
    @user_line 0,0,3,100 = draw a line from the 0,0 point to the 3rd group, 50th y-value.
    You can use variable to define these points, so if you have a chart in a group, it'll display a different line position for each group.

  • Oracle client for CA Erwin data modeler

    Does anyone know how to install and configure oracle client for Erwin data modeler?
    CA tech support says check with oracle

    >
    I need some help understanding what client means.
    >
    Client is any server that connects to a database. I am assuming that CA will be installed on a Windows XP machine and it will connect to a remote database on another server. I am assuming since you have not provided any details.
    >
    I can upgrade to 11g database. No problem
    >
    OK - not sure what this has to do with your issue.
    >
    I am looking for the oracle software that connects to CA Erwin
    >
    See my links posted above
    >
    I am not looking for Oracle database install
    >
    The client install does not install a database - it installs the necessary components needed to connect to a remote Oracle database.
    >
    Please be more specific.
    >
    More specific with what ? The more lucid details your provide, the better the quality of the responses on these forums.
    HTH
    Srini

  • Custom report for SLA - service desk

    Hello,
    Untill now we are using solar_eval as our report tool for the SLA functionality in service desk management. But this report does not give all the information we want to have. So do we also like te have the average response times. Does anybody have a custom ABAP-report which we can use ??
    Regards,
    Gert-Jan van Holland

    Thankyou for your reply, but i cannot see any differences in CRM_DNO_MONITOR transaction and that should be shown the product right and i still got my "first respons time and date , completion time and date blank. ? i already activate the action. Please guide me what should i do next, after i activate the action.
    Many thanks
    dinie.

  • Data syncup issue - Custom extractor for revenue recognition data from ECC into BW

    Hi there,
    We have created a custom extractor on top of a Function Module (FM) in ECC that reads data primarily from VBREVE table. Currently, we have close to 10 million records and full load isn't a preferred option so we built in a delta mechanism using "Created On" (ERDAT) and "Posting Date" (BUDAT). The idea is to do an initial full load and then switch over to delta loads on a nightly basis for data where:
    "Created On" OR "Posting Date" is within last 6 months.
    This will ensure if any updates are made to the existing VBREVE entries, this change will be reflected in the BW DSO, provided the "Created On" or "Posting Date" fall within last 6 months. The issue comes up if in ECC a billing plan is cut down to a smaller term, let's say from 3 years to 2 years, the entries for the 1 year will be deleted from VBREVE table. How can I pick up this change in BW DSO since this data has already been loaded in the past? Addition of entries are okay but I need to address the deletion on entries in VBREVE table so that it reflects this in BW DSO. Any ideas how I can accomplish this? In the example on the screenshots, BW still shows the before image and I need to be able to get it to sync up with ECC as per the after image.
    -Rohit

    Dear Rohit,
    The case is complicated , there can be workaround using the changedon date from VBAK table. if the billing plan is changed in the sales order VBAK will be updated for changedon.
    1) If the billing plan deletion is a very specific case, then using the change log tables find out which are the sales order for which there has been billing plan change. Store this sales order details in DSO day wise. call it DSO1
    2) Create a self transformation to the DSO ( DSO2) where you are currently loading from the table VBREVE (DSO2 to DSO2 -For loading data from the same DSO) .Transformation should have reverse record mode given as a constant.
    3) load the data DSO2 from DSO2 by filling up sales order details from DSO1 in the DTP filter.
    ( This will reverse the complete entry for the sales order in DSO2 for the sales order for which billing plan has been changed)
    4) Now load afresh for these sales order again from source system to DSO2 from the table VBREVE.
    You can also use VBAK changedon date to trigger this load.
    Hope I have not confused you
    Regards
    Gajesh

  • Unable to change ADF standard text for af_table ("Fetching data...")

    I wish to change the standard "Fetching data..." text displayed by ADF when scrolling through a table.
    Looking at the description in http://jdevadf.oracle.com/adf-richclient-demo/docs/skin-selectors.html, I expect to achieve this by overriding "af_table.LABEL_FETCHING" in my skinning resource bundle.
    I am able to override two af_column messages, but my af_table override does NOT work.
    My bundle looks like this;
    package com.vesterli.demo.skinning;
    import java.util.ListResourceBundle;
    public class MySkinBundle extends ListResourceBundle {
    @Override
    public Object[][] getContents() {
    return _CONTENTS;
    private static final Object[][] _CONTENTS =
    { { "af_table.LABEL_FETCHING", "Hang loose, dude" },
    { "af_column.TIP_SORT_ASCENDING", "First things first" },
    { "af_column.TIP_SORT_DESCENDING", "The last shall be the first" } };
    My trinidad-skins.xml looks like this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
    <skin>
    <id>vesterli.desktop</id>
    <family>vesterli</family>
    <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
    <extends>fusion.desktop</extends>
    <style-sheet-name>css/MySkin.css</style-sheet-name>
    <bundle-name>com.vesterli.demo.skinning.MySkinBundle</bundle-name>
    </skin>
    </skins>
    Since I am seeing my customized column tip texts correctly, the reference from trinidad-config.xml to my skin should be OK (I am also seeing my visual skinning correctly). Since I am seeing some of my texts, my resource bundle must be valid, too. I am using JDev 11.1.1.3.
    So why doesn't the af_table skinning work?
    Any pointers appreciated.
    Best regards
    Sten Vesterli

    I was having this problem too, found this thread and did cleanup here and there, redo etc. But ended up with no luck to fix it.
    Just now discovered the issue is reproducible on the official demo site: table Skinning Key Demo
    1. check the column sorting labels, prefixed with "Demo: "
    2. change any selector setting to trigger a table refresh, it's always displayed as "Fetching Data...", without prefix.(as highlighted in the "Resource styles" on the same page, there should be prefix too).

  • Custome Process for update the date

    Hello Every one,
    I have a page with the check-box where the user can select a record and update the record by pressing on the button.
    I have three processes, and each of these process update one field ( which is a date field) of the page by pressing on the specific button. here are the three processes:
    declare
    begin
    for i in 1..apex_application.g_f01.count loop
    UPDATE  REC_RET_ADD_RECORD
    SET DATE_ADMIN_APPROVED=:P8_DATE_ADMIN_APPROVED
    WHERE REC_RET_ID = APEX_APPLICATION.G_F01(I);
    end loop;
    commit;
    end;
    Condition: When Admin button pressed (submit)
    The second process:
    declare
    begin
    for i in 1..apex_application.g_f01.count loop
    UPDATE REC_RET_ADD_RECORD
    SET DATE_COMMITTEE_APPROVED=:P8_DATE_COMMITTEE_APPROVED
    WHERE  REC_RET_ID = APEX_APPLICATION.G_F01(I);
    end loop;
    commit;
    end;
    Condition: When Committee button pressed (submit)
    The third process:
    declare
    begin
    for i in 1..apex_application.g_f01.count loop
    UPDATE REC_RET_ADD_RECORD
    SET DATE_OHS_APPROVED=:P8_DATE_OHS_APPROVED
    WHERE  REC_RET_ID = APEX_APPLICATION.G_F01(I);
    end loop;
    commit;
    end;
    Condition: When OHS button pressed (submit)
    Now the problem is, when the user selects the row and selects the date for Admin field and presses the Admin button, the system inserts the date but after that if the user wants to selects the same row and update the OHS date, the system will remove the date for Admin field and inserts the OHS date in OHS field and visa verse.
    I don't know why this is happening. Could you please help me. I appreciate it.

    Here is the report query:
    SELECT  apex_item.checkbox (1,
                               REC_RET_ID,
                               'onchange="spCheckChange(this);"',
                               :f_REC_RET_ID_list,
                              ) checkbox,
    "REC_RET_ID",
    "RET_SCHEDULE_NUM",
    "RET_COST_CENTER",
    "RET_TITLE",
    "RET_TITLE_DESC",
    "RET_PERIOD",
    "DATE_USER_INSERTED",
    "DATE_ADMIN_APPROVED",
    "DATE_COMMITTEE_APPROVED",
    "RC3_FORM_REQUIRE",
    "DATE_OHS_APPROVED",
    "DESTRUCTION_SUSPENDED",
    "DESTRUCTION_SUSPENDED_NOTE",
    "INACTIVE_DATE",
    "INACTIVE_DATE_APPROVED",
    "CREATION_DATE",
    "CREATED_BY",
    "LAST_UPDATE_DATE",
    "LAST_UPDATE_BY"
    from REC_RET_ADD_RECORD

  • Set a custom path for the service endpoint associated to a BPEL process

    Hello,
    I have a BPEL process and I would like to change the endpoint address of the corresponding web service that corresponds to the BPEL process.
    To be more specific, by default, the web service corresponding to a BPEL process "MyProcess" has an endpoint like: http://MyMachine:9700/orabpel/default/MyProcess , supposing that the process is deployed in the default domain.
    What should I do to have an endpoint like
    http://MyMachine:9700/orabpel/default/MyPath/MyProcess ?
    Is it possible?
    Thanks in advance!
    Regards,
    Marinel

    Figured out that the configuration property 'location' for the PartnerLinkBinding Deployment Descriptor can be used for this purpose. Tried it and it is working out perfectly fine.
    Thanks,
    Vijay.

  • Reuse Dimdate across different database for different data models

    Hi,
    I am designing a new data model for a data mart. I need to add dimdate dimension in this data model. I noticed that dimdate already exists in another database and being used by another
    data model. Is it possible to re-use the existing dimdate table for my new data model? If so, what about the foreign key constraints? Normally we link the date columns from fact table to the dimdate keys. How would we achieve that in case we are using the
    same table across different databases?
    Any opinion on this will be highly appreciated.
    Thanks in Advance.
    Cheers!!

    You can create a copy of dimdate table to your new data warehouse.
    If both data marts were in a single data warehouse, then you don't required to copy. but as these are in two different databases then you just copy that.
    regarding FK relationship. you can connect any fact table to you date dimension. even if you want to use more than one instance of your date dimension, it would be simply adding multiple FK columns in your fact table (role playing dimension).
    For date dimension be sure that your date dimension covers most of the attributes required. here is an example of date dimension:
    http://www.rad.pasfu.com/index.php?/archives/156-Script-to-Generate-and-Populate-Date-Dimension-Version-2-Adding-Multiple-Financial-Years.html
    Regards,
    Reza
    SQL Server MVP
    Blog:  
    http://rad.pasfu.com  Twitter:
      LinkedIn:
    SQL Server Integration Services 2012 Tutorial Videos:
    http://www.radacad.com/CoursePlan.aspx?course=1

Maybe you are looking for

  • Java mapping or UDF required for a requirement!!!

    I am doing idoc to file scenario and stuck with the mapping in the following case. I think an UDF or JAVA mapping will do the bill. can some one help me in this regard please. IDoc message type, IDoc basic type, IDoc extension PAYEXT.PEXR2002.ZEXR200

  • How to know the date you added a specific contact?

    Hi, Just wanted to knnow how to figure out when exactly i added a specific contact on my skype account...? I didn't find anything in the options etc... Please help! Thanks, Cha

  • EXIT_SAPLMR1M_004

    Hi Experts,     This user exit 'EXIT_SAPLMR1M_004' is available in 4.6c. In ecc6.0 it is replaced by badi. Can i know the exact badi name. Regards, Swetha.

  • JPEGs in offset printing?

    I'm working on a book in InDesign CS4 that has ~200 images in it. Will print offset. Most images have been supplied as jpeg scans (of printed matter, like posters and letters), and digital photos provided as jpegs as well. Historically I would conver

  • OraInventory missing

    Hi, I have installed XI 3.0 with SP19. I could not find oraInventory in /oracle when i logged in as ora<SID>. I dont think this is normal. I followed the installation guide provided on SMP. I am not sure if there was any option during the installatio