Validations in Jdeveloper with ADF

Hello I would like to know where I can find examples with code of validations done for ADF in Jdeveloper or some tutorial.
Thank you very much

Well thats pretty difficult to answer since it is so extensive.
You can validate data in the database, in your business services, in the bindings in the UI (on the server side) or client side validation. You can validate when you enter data, save data, query data...and you can do it before or after those actions!!!! So you can see, its pretty extensive.
The developer guide tells you about this.
Regards
Grant

Similar Messages

  • Can't get Struts validator to work with ADF 10.1.3.36.73 in Jdev 10.1.3.0.4

    I am attempting to use the "How to Use the Struts Validator Plug-in with JDeveloper 10g" written by Duncan in a JDeveloper 10.1.3.0.4 application with standard model/ViewController projects. I am using JSP/Struts/ADF technologies.
    I have performed the below:
    Struts Config:
    <form-bean name="surveyDataForm" type="oracle.adf.controller.v2.struts.forms.BindingContainerValidationForm" className="oracle.adf.controller.struts.forms.BindingContainerValidationFormConfig"/>
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
    </plug-in>
    In the validation.xml:
    <!DOCTYPE form-validation
    PUBLIC "-//Apache Software Foundation//
    DTD Commons Validator Rules
    Configuration 1.0//EN"
    "http://jakarta.apache.org/
    commons/dtds/validator_1_0.dtd">
    <form-validations>
    <formset>
    <form name="surveyDataForm">
    <field property="EmpName" depends="required">
    <arg0 key="survey.name"/>
    </field>
    <field property="DateOfService" depends="required">
    <arg0 key="survey.service.date"/>
    </field>
    <field property="ReloContractor" depends="required">
    <arg0 key="survey.relo.contract"/>
    </field>
    </form>
    </formset>
    </form-validations>
    And in my JSP, I have:
    <script type="text/javascript">
    <html:javascript formName="surveyDataForm"/>
    </script>
    <html:form action="/survey.do" onsubmit="return validateSurveyDataForm(this)">
    (The validation-rules.xml was copied from the JDev install jakarta-struts folder).
    I can now see the Javascript showing up in my JSP page, but I don't have a method generated for validateSurveyDataForm or any form like this. I didn't think I had to create this. Also, even without the Javascript, the validator is not called because the JBO errors for required are still showing up. The only thing I have not done is included the modelReference in the Form Bean definition in the struts-config.xml. I'm not sure this will work, or even what to populate this with, as the UIModel.xml is replaced by PageDef.xml and DataBindings.cpx changes.
    Anyone have any ideas?
    Shay

    Only have one network; wireless. On it's own, the MacBook can use wifi to surf the net and Apple TV can watch movie previews from Apple via wifi.
    It did work about two months ago. I haven't used it since then for home sharing but have used the Apple TV on its own.
    I read the Troubleshooting page on Apple Support. It involves turning various things on and off, which I did

  • Help  About Jdeveloper 11.1.21.0 with ADF

    Hello , i want to know about this error , i ejecuted a program with Jdeveloper WITH ADF  in my Navegator (mozilla firefox) and  is shown  this error
    Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.5 404 Not Found  The server has not found anything matching
    Can i Help for solve this problem,
    Thanks
    Tony

    Hola  Timo
    I would like to help me with the following I am working with JDeveloper 11 Release 2 (11.1.2.1.0) well run program with ADF when I edit and run in jdeveloper tool 11.1.21.0, fuciona but now I want it now running within a shortcut on the desktop but does not work
    I made a shortcut on the desktop and placed him this link that works within the jdeveloper  http://localhost:7101/hr-ViewController1-context-root/faces/browse.jsf and
    raise the service instance weblogic with the script that does the same jdeveloper when run from there, in the following directory
    C: \ Users \ ACOSTA \ AppData \ Roaming \ JDeveloper \ system11.1.2.1.38.60.81 \ DefaultDomain \ bin Startweb      y the startup  the  data base Oracle
    but I get the following error when running in the browser
    Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.5 404 Not Found  The server has not found anything matching
    Sorry if  my english is not clear but my native languaje is spanish
    Thanks
    Tony

  • JDeveloper without ADF???

    Hello to all!
    Sorry for my poor english but i need your help.
    I download Developer Suite 10g cause i need both oracle forms and report builder. Now, in my new project i want to use JDeveloper with ADF.
    JDeveloper also is in the package with forms, and report builder.
    But, when i start JDeveloper in Component Palette no ADF Faces appear!
    Why? I need to install something else?
    Thanks!

    JDev 10.1.2.1.0 doesn't has adf faces (neither the trinidad faces not the adf rich faces).
    Loading the current jdev 11g version will give you access to the adf rich faces, but as you need oracle forms and report builder, I guess you only can use a version compatible with your forms and report builder.
    So I would try to find out which versions are compatible and the load exactly that. I'm no expert in forms or report build, so I can't advise.
    Once you found out which version to use, you can just delete the the folder where you installedthe 10.1.2.1 version.
    Timo

  • Jdeveloper 11.1.1.2.0 with ADF 11g.  add a adf button like ADD(+)

    Hi,
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I'm display'g view object i.e, i drag some xxxvo1 from datacontrol and drop on jsf with from - i selected ADF form. Now i add a adf button like ADD(+) on top of the panel form.
    here when i fire Add button , i want to add the same set of input text box with label of ADF form i mean the above i have created ADF form.
    like
    ADF FORM
    + --> ADD BUTON
    EMPNO ________
    EMPNAME ______
    EMPDEPT ____
    when i fire "+" ADD BUTTON
    + -- > ADD BUTTON
    EMPNO ________
    EMPNAME ______
    EMPDEPT ____
    EMPNO ________
    EMPNAME ______
    EMPDEPT ____
    i hope above example give some idea.
    thanks in advace

    See the example code as below. I use the countries table from HR schema.
    <af:table value="#{bindings.CountriesRO1.collectionModel}" var="row"
    rows="#{bindings.CountriesRO1.rangeSize}"
    emptyText="#{bindings.CountriesRO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.CountriesRO1.rangeSize}"
    rowBandingInterval="0" id="t1" columnSelection="none"
    rowSelection="none" horizontalGridVisible="false"
    verticalGridVisible="false" contentDelivery="immediate"
    contextMenuSelect="false">
    <af:column sortProperty="CountryId" sortable="false"
    id="c2" >
    <af:panelFormLayout id="pfl1">
    <f:facet name="footer"/>
    <af:inputText value="#{row.bindings.CountryId.inputValue}"
    label="#{bindings.CountriesRO1.hints.CountryId.label}"
    required="#{bindings.CountriesRO1.hints.CountryId.mandatory}"
    columns="#{bindings.CountriesRO1.hints.CountryId.displayWidth}"
    maximumLength="#{bindings.CountriesRO1.hints.CountryId.precision}"
    shortDesc="#{bindings.CountriesRO1.hints.CountryId.tooltip}"
    id="it2">
    <f:validator binding="#{row.bindings.CountryId.validator}"/>
    </af:inputText>
    <af:inputText value="#{row.bindings.CountryName.inputValue}"
    label="#{bindings.CountriesRO1.hints.CountryName.label}"
    required="#{bindings.CountriesRO1.hints.CountryName.mandatory}"
    columns="#{bindings.CountriesRO1.hints.CountryName.displayWidth}"
    maximumLength="#{bindings.CountriesRO1.hints.CountryName.precision}"
    shortDesc="#{bindings.CountriesRO1.hints.CountryName.tooltip}"
    id="it1">
    <f:validator binding="#{row.bindings.CountryName.validator}"/>
    </af:inputText>
    <af:inputText value="#{row.bindings.RegionId.inputValue}"
    label="#{bindings.CountriesRO1.hints.RegionId.label}"
    required="#{bindings.CountriesRO1.hints.RegionId.mandatory}"
    columns="#{bindings.CountriesRO1.hints.RegionId.displayWidth}"
    maximumLength="#{bindings.CountriesRO1.hints.RegionId.precision}"
    shortDesc="#{bindings.CountriesRO1.hints.RegionId.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.RegionId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.CountriesRO1.hints.RegionId.format}"/>
    </af:inputText>
    </af:panelFormLayout>
    </af:column>
    </af:table>

  • HELP: include another page in with JDeveloper and ADF

    Hi all,
    I am trying to make a layout page with JDeveloper and ADF. But I just can't make things work. I have the pre-coded header and footer html pages and want to include them in a jspx somehow. I tried panelPage too, but the rendering style is away from our pre-coded header and footer.
    1. Use jsp:include.
    header works fine but footer is rendered before the page content, even if the footer is placed after the page content. Is there a way to customize the position?
    <f:facet name="footerFacet">
    <f:subview id="footerView"
    binding="#{backing_welcomePage.footerView}">
    <jsp:include page="/footer.jspf"/>
    </f:subview>
    </f:facet>
    2. Use frameBorderLayout.
    I followed the doc and use the document tag. But the frame page is rendered but none of included pages are rendered. So I got a blank page.
    <!-- frame page -->
    <f:view>
    <afh:html>
    <afh:head title="my frame page">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <afh:frameBorderLayout height="100%" width="100%">
    <f:facet name="center">
    <afh:frame source="topPage.jspx" name="topPage3"/>
    </f:facet>
    <f:facet name="top">
    <afh:frame source="topPage.jspx" height="200" name="topPage2"/>
    </f:facet>
    <f:facet name="bottom">
    <afh:frame source="topPage.jspx" height="200" name="topPage1"/>
    </f:facet>
    </afh:frameBorderLayout>
    </afh:body>
    </afh:html>
    </f:view>
    <!-- top page -->
    <f:view>
    <af:document title="FrameBorderLayout Demo">
    <af:form>
    <af:panelGroup layout="vertical">
    <f:facet name="separator">
    <af:objectSeparator />
    </f:facet>
    <af:outputFormatted styleUsage="instruction" value="&lt;b>A frameBorderLayout&lt;/b>"/>
    </af:panelGroup>
    </af:form>
    </af:document>
    </f:view>

    for #1 have you tried throwing a verbatim tag around your includes like:
    <f:verbatim>
    <jsp:directive.include file="/includes/footer.jsp"/>
    </f:verbatim>
    it's how we got around intermixing html and jsf

  • Jdeveloper 10g with Adf training

    Dear all,
    I need to know anybody is interested to provide me
    jdeveloper 10g with Adf training in chennai during feb 2006.
    Dont suggest oracle corpration it is too costly for me.
    please send me the list of computer education institutes/indiviguals in chenai
    thanks and regards
    selva

    Dear all,
    I need to know anybody is interested to provide me
    jdeveloper 10g with Adf training in chennai during feb 2006.
    Dont suggest oracle corpration it is too costly for me.
    please send me the list of computer education institutes/indiviguals in chenai
    thanks and regards
    selva

  • Any date for jdeveloper 10.1.3 beta with adf features

    Hi Jdeveloper team,
    Is there any date we can expect the next jdeveloper 10.1.3 beta with more complete adf features ? I'm currently evaluating the technology stack+tool to use for our next project ( preferably jsf based ), the lack of an adf faces release with adf databinding and adf bc features means I can't do a complete evaluation of 10.1.3 now.
    Regards,
    Low

    Low,
    we don't have a date for a preview release of Oracle JDeveloper 10.1.3 with ADF. Our intention is to release a preview version on OTN as soon as possible and if possible.
    Frank

  • JMS with ADF in Jdeveloper tutorial needed

    Hi,
    I am a newbie to ADF and JMS. Can anyone please provide me a sample tutorial on how to configure JMS in jdeveloper and integrate with ADF.
    Thanks much.
    Amy

    Thanks Jim, i have posted the tutorial needed at
    "http://forums.oracle.com/forums/thread.jspa?threadID=2140626'
    now iam facing problem in message listener. My aim is to get a popup window opened in my reciever page once i send a msg from sender page.
    i shouldnt do any opns on the receiver page except opening it.
    how do i make it..
    PFB the sample codes that i hav developed. I am able to get the msg on the reciever page only on click of a button which shodnt be the case.
    package view;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueReceiver;
    import javax.jms.QueueSender;
    import javax.jms.QueueSession;
    import javax.jms.TextMessage;
    import javax.naming.InitialContext;
    import javax.faces.context.FacesContext;
    public class SenderBean {
    private String varHi;
    public SenderBean() {
    super();
    * @return
    * @throws Exception
    public void send() throws Exception {
    System.out.println("in sender bean");
    QueueConnectionFactory qconFactory = null;
    QueueConnection qcon = null;
    QueueSession qsession = null;
    Queue queue = null;
    TextMessage msg = null;
    InitialContext ctx = CustomInitialContext.getInitialContext();
    qconFactory = (QueueConnectionFactory)ctx.lookup("jms/MyQueueFactory");
    qcon = qconFactory.createQueueConnection();
    qsession =
    qcon.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue)ctx.lookup("jms/MyQueue");
    //Posting message to Queue
    QueueSender qsender = qsession.createSender(queue);
    msg = qsession.createTextMessage();
    msg.setStringProperty("MSG_ID", "12345678947");
    msg.setText("Hello at " + System.currentTimeMillis());
    qsender.send(msg);
    System.out.println("Sent");
    qsender.close();
    // QueueReceiver queueReceiver = qsession.createReceiver(queue);
    // CustomAsyncReceiver listener = new CustomAsyncReceiver();
    // queueReceiver.setMessageListener(listener);
    * @return
    public void actionListener() throws Exception{
    FacesContext fm2;
    fm2=FacesContext.getCurrentInstance();
    System.out.println("fm-->"+fm2);
    // return fm2;
    public void recieve() throws Exception {
    System.out.println("in receieve method of sender bean");
    System.out.println("in reciever bean");
    FacesContext fctx = FacesContext.getCurrentInstance();
    System.out.println("fctx-->"+fctx);
    QueueConnectionFactory qconFactory = null;
    QueueConnection qcon = null;
    QueueSession qsession = null;
    Queue queue = null;
    TextMessage msg = null;
    InitialContext ctx = CustomInitialContext.getInitialContext();
    qconFactory = (QueueConnectionFactory)ctx.lookup("jms/MyQueueFactory");
    qcon = qconFactory.createQueueConnection();
    qsession =
    qcon.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue)ctx.lookup("jms/MyQueue");
    // QueueReceiver queueReceiver = qsession.createReceiver(queue);
    // CustomAsyncReceiver listener = new CustomAsyncReceiver(fctx);
    // queueReceiver.setMessageListener(listener);
    //To receive message from Queue
    qcon.start();
    QueueReceiver qReceiver = qsession.createReceiver(queue);
    while (true) {
    TextMessage txt = (TextMessage)qReceiver.receiveNoWait();
    System.out.println("txt-->"+txt);
    if (txt == null){
    System.out.println("txt is null");
    break;
    else{
    // FacesContext ctx = FacesContext.getCurrentInstance();
    if (fctx != null) {
    System.out.println("iam not null");
    FacesMessage fm =
    new FacesMessage(FacesMessage.SEVERITY_INFO, txt.getText(),
    "chat");
    fctx.addMessage(null, fm);
    System.out.println("iam in else");
    System.out.println(txt.getText() + "with header MSG_ID=" +
    txt.getStringProperty("MSG_ID"));
    qReceiver.close();
    qsession.close();
    qcon.close();
    public void setVarHi(String varHi) {
    this.varHi = varHi;
    public String getVarHi() {
    return varHi;
    public void actionListener(ActionEvent actionEvent) {
    // Add event code here...
    ***********************************************Reciever.JSPX*******************************
    <?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 id="d1">
    <!--<af:messages id="m1" binding="#{Sender.recieve}"/>-->
    <af:form id="f1">
    <af:outputLabel value="HI IAM RECIEVER" id="ol1"/>
    <af:commandButton text="openreciever" id="cb1"
    action="#{Sender.recieve}"
    />
    <!-- <af:commandButton action="#{AsyncReciever.asynRecieve}" text="show"/>-->
    <!--<af:popup id="prnDlg">
    <af:dialog title="POPUP"
    id="d2" type="none">
    <af:outputLabel value="HI IAM RECIEVER" id="ol91"/>
    </af:dialog>
    </af:popup>-->
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Please provide me help on the same

  • Possibility & Drawback  Using JDeveloper 11g ADF Faces with Oracle 10g DB

    We are new to ADF Faces, would like to use JDeveloper 11g ADF Faces with Oracle 10g database (Enterprise Edition). As we are new to JDeveloper 11g ADF BC, so we want to know about the Possibility & the Drawback.
    Edited by: eng.shahed on Apr 5, 2010 11:21 AM

    i dont think so any drawbacks using Jdeveloper with any database.....its a open product ... You can use it with Sybase, MySQL, Oracle etc etc..

  • Timesten with JDeveloper and ADF

    Hello,
    I'm using Timesten with Jdeveloper and ADF and have noticed some problems which I allready posted in the JDevloper Forum:
    Re: ADF TimesTen
    These problems arise from using Identifiers with reserved words, which is not forbidden with Ora DB.
    The settings in Jdev are to generate SQL92 conform code. This is the only way it works.
    I'm wondering if there is a setting to make TT behave syntactical 1:1 like a Ora DB.
    I even tried to change the Type Mode to Oracle and restarting TT but this doesn't help eighter.
    Maybe someone of the TT pro's has a solution for this? TT is used as a cache in front of an Ora DB so it should understand the Ora Syntax ??
    Thanks
    Ognian

    for #1 have you tried throwing a verbatim tag around your includes like:
    <f:verbatim>
    <jsp:directive.include file="/includes/footer.jsp"/>
    </f:verbatim>
    it's how we got around intermixing html and jsf

  • JDev11 with ADF backing bean examples?

    I have gone through many of the OBEs, How To examples, and a few custom examples in blog posts. Almost all of the examples that use ADF Business Components to model oracle data do not use backing beans, at least not of the ones I have found. If anyone know of links to examples that show JDeveloper using ADF to model Oracle table and using backing beans (Could be calls to the application module, whatever). Could you please post links. The examples from Oracle tend to be declarative with ADF components, and I want to get to the next level of complexity in development that combines custom code with existing declarative code.
    It would be great if a few of the OBEs could show a declarative, and also a programmatic way to solve the same problem in a few cases - such as the "Build a Fusion Web Application" in the help. I don't need everything programmatically done, just show where something can be done declarative and how it could also be done programmatically. It would also help to know the limits of declarative programming and where you would need to code a solution.
    Thanks, Ken

    >
    Warning: Long Post. I wanted this to be clear as to what I really need help with.
    >
    What I am looking for is more clarification on both how to use and when to use backing beans.
    Here is an example that I am currently working on using jdev11u2 with ADF BC for the model and JSF.
    I have a single page. The goal is to have several filter components, then a run report. Under the run report there are several components based on select statements that use one or more of the filter components. These components are displayed as graphs (because that is what management wants to see.)
    Seems easy enough.
    I have four graphs that are desired. In my oracle schema, I use sql developer to develop four queries that return the data that I want.
    In the model, I create four view objects. Each one has a one or more binds for filters. I don't put in a default value, but make them required. Most of the views have a common bind for techID, which actually points to a different column name in each of the views, but generally has a similar meaning. I didn't create the tables, just have to live with the existing design. Sound familiar? After creating read only views that do not have EOs, I add these to the Application Module. I also create a lookup for techid that queries a table and returns two values, techname and techid. I want this to be used for a combobox to select the user to run the report on.
    Three of the queries have a date component. The idea is to have options so that the use can select from three choices, last 30 days, last 60 days, and last 90 days. I modify three of the queries in the VOs, and add a DateFilter bind that is of type Date. This happens to be oracle.jbo.domain.Date
    So to get this to work so far, I create a method named updateViews in my Application Module. I create two methods, one that receives String TechID, and another that receives String TechID and java.util.Date date. In the code for the first choice, I simple get the date 30 days ago and use that, then call the second method with both techid and the date. In the second method, I convert java.util.Date to oracle.jbo.domain.Date. I create an instance of each VO, and call a method on each named updateWithParams(String techid, Date date). The Date is automatically defined as the oracle.jbo.domain.Date. In each of my VO's, I create a method in the VOImpl.java for each that is basically the same - accepts the parameters, sets them in the where clause, then calls the execute method.
    In the form, I start simple. I drag the ExecuteWithParam method to the form from the updateView that only has the techid field as an ADF Button. I Then drag the techid parameter under this method to the form as a single selection, and set this up so that it uses my lookup for the data, displays the name, and uses the techid as the value.
    To test, I drag each of the VOs to the page as simple read only tables, not bothering to change any of the settings. This is just to make sure it is working.
    To note, the page uses an actionlistener for the button, so the code on the page for the button is:
    <af:commandButton actionListener="#{bindings.updateViews1.execute}"
      text="updateViews1"
      disabled="#{!bindings.updateViews1.enabled}"/>Everything works! Yea!
    Now to make this more interesting, I want to add the date filter.
    I delete the Command button and the combobox. I now drag the method that has two parameters. Same procedure as before, adding the techid parameter that uses the combobox that uses the lookup vo. Great so far.
    Now here is where I run into problems and am trying to understand backing beans as a possible solution.
    I need the data selection to be a radio button that has three choices: Last 30, Last 60, and Last 90. Using the drop method of the parameter to the form, it doesn't appear that I have any way to setup initial values correctly. Just to test, I dropped as an input date. In this case I can't set the default date. I get the following component on the page:
              <af:inputDate value="#{bindings.date.inputValue}"
                            required="#{bindings.date.hints.mandatory}"
                            shortDesc="#{bindings.date.hints.tooltip}">
                <f:validator binding="#{bindings.date.validator}"/>
                <af:convertDateTime pattern="#{bindings.date.format}"/>
              </af:inputDate>What I want is to be able to modify the value for #{bindings.date.inputValue}, but I don't understand how backing beans work well enough to implement this. When I try, everything gets messed up. I even tried to use a backing bean for the command button, but then I have an actionlistener, I have to create both the binding and action. I don't know if this is correct, and haven't found documentation that shows what to do.
    So this is my dilemma, I think that a backing bean will solve the problem, but need examples that incorporate both standard table bound components to ADF BC model, that I can manipulate. Eventually, I want the date component to point to a radio button. If I drop the component on the form and drop as a select one radio, this is my starting point. Now, how can I setup the values so that the 30, 60, and 90 are really SYSDATE - 30, SYSDATE - 60, and SYSDATE -90 (or java equivalent using Calendar), and still bound to the ADF component so when the command button is pressed, the correct parameters are sent.
    What is not clear is whether I need to switch out the execwithparams to backingbean functionality to call the method. Can both co-exist with actionlistener being set, and an action pointing to a backing bean?
    This is why I am requesting more examples, so that the mixing of ADF BC model bound to ADF faces components and programming code to get the compoents to work according to a specific user case can be completed.
    Thanks, Ken

  • Issue with SharePoint foundation 2010 to use Claims Based Auth with Certificate authentication method with ADFS 2.0

    I would love some help with this issue.  I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0  I have a test account set up with lab.acme.com to use the ACS.
    When I log into my site using Windows Auth, everything is great.  However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
    to use to log in   and after 3-5 second
     and return me the logon page with error message “Authentication failed” 
    I base my setup on the technet article
    http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
    I validated than all my certificate are valid and able to retrieve the crl
    I got in eventlog id 300
    The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
    Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
    Additional Data
    Exception details:
    Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
    ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
    correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    --- End of inner exception stack trace ---
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
    serializationContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
    trustNamespace, AsyncCallback callback, Object state)
    System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
    failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    thx
    Stef71

    This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
    on my case was :
    PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ad0001.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
    Certificate                 : [Subject]
                                    CN=domain.AD0001CA, DC=domain, DC=com
                                  [Issuer]
                                    CN=domain.AD0001CA, DC=portal, DC=com
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    22/07/2014 11:32:05
                                  [Not After]
                                    22/07/2024 11:42:00
                                  [Thumbprint]
                                    blablabla
    Name                        : domain.ad0001
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : domain.ad0001
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17164
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ADFS_Signing.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
    Certificate                 : [Subject]
                                    CN=ADFS Signing - adfs.domain
                                  [Issuer]
                                    CN=ADFS Signing - adfs.domain
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    23/07/2014 07:14:03
                                  [Not After]
                                    23/07/2015 07:14:03
                                  [Thumbprint]
                                    blablabla
    Name                        : Token Signing Cert
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : Token Signing Cert
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17184
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.PORTAL>

  • Help required with ADFS 3.0 client certificate authentication

    Hi,
    I am currently working on integrating ADFS 3.o for Single Sign On to some 3rd party services along with PKI solution. The basic requirement is that I should be able to choose client authentication certificate as an authentication method in ADFS and then
    federate user credentials to 3rd party trust for single-sign-on.
    I had done this successfully with ADFS 2.0 and that setup is working fine. I have the setup as ADFS 3.0 client authentication method enabled. When I open browser to logon, the ADFS 3.0 page displays a message as "Select a certificate that you want to
    use for authentication. If you cancel the operation, please close your browser and try again." but the certificates are not displayed for selection.
    The certificates are valid and have valid chaining to CA. Could someone help me resolve this issue?
    Thanks!
    -Chinmaya Karve

    Hi Yan,
    Thanks for your response. I have gone through the posts that you have suggested, and my setup looks pretty much as expected.
    So, as I mentioned earlier, I have 2 parallel setups with 3rd party service(SalesForce). Once of them is running ADFS 2.0 and another one has ADFS 3.0. I can logon to the third-party services, from both the setups using username/format. I can logon to SF
    using client authentication certificate from ADFS 2.0 setup, but from the same client machine, when I try to logon SF via ADFS 3.0, the browser just does not pick up any certificate. The page just shows message of "Select a certificate that you want to use
    for authentication. If you cancel the operation, please close your browser and try again.".
    I have checked the browser, and it has the right certificates. Also, the same browser/machine is used to logon to SF through ADFS 2.0 via client certificate, which works just fine !
    I am really confused now, as to whose issue this really is...
    Just to confirm, I am using Certificate Authentication from ADFS 3.0 Authentication Methods for both Intranet and Extranet.
    Any suggestion or inputs where I could have gone wrong in the setup?
    Thanks!

  • Ebusiness suite integration with ADF

    HI there xperts!
    I am having a lot of trouble trying to decipher the multitude of information around for integrating Jdeveloper ADF applications with ebusiness 12.1.3
    Essentially, I have created a number of view pages, in my application but now need to call some API's to add transactional capabilities.
    My undertstanding at this time, is to actually expose web services and call those in ADF using web service data controls.
    I have been able to go to the integration repository and deploy the APIs. It is at this point I get stuck. Do I have to use BPEL / Oracle Service BUS?
    Or can I now access these exposed services directly from ADF. If so, how? I can see addresses specific to our environment in the WSDL file, however, these are invalid when I try to create a web service data control.
    My second question, when deploying to a client site, do these details need to be updated each time (ie, there will be specific addresses for each environment?
    Any help would be very much appreciated.
    Thanks
    S

    Hi Simo;
    Please check below note which could be helpful for your issue:
    Using Oracle Application Framework (OAF) and Application Development Framework (ADF) [ID 563047.1]
    FAQ for Integration of Oracle E-Business Suite and Oracle Application Development Framework (ADF) Applications [ID 1296491.1]
    You can also post your issue on Forum Home » Application Development in Java » JDeveloper and ADF
    Regard
    Helios

Maybe you are looking for

  • Workflow copy...

    Hi, In my scenario I have a custom workflow working fine. I need to create another workflow that works exactly the same, only difference is that the Business object associated is different (but has all the necessary methods / attributes as of first w

  • Compare and sync iPhoto library with other folders

    I have several folders of photos from a defunct Windows pc, some of which are in the iPhoto library, others not. Is there any way of comparing the contents given that is is impossible to view the iPhoto library in Finder? I have SyncFolder and would

  • Blank Reports after deploying

    i developed an application with .Net technology i used crystal reports but when i deploy the application as exe file the reports doesn't appear in the application. what can i do?

  • Calling form error

    Hi all... iam facing a problem while calling a form. iam opening a form,inserting data in empty columns of an existing record and with out saving iam calling another form.Inserting and updating data in the called form and again coming back to old for

  • Dynamic Query Help

    Experts, I've sample tables with sample records as:- IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Entity]') AND type in (N'U')) DROP TABLE [dbo].[Entity] GO IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID