JDev 11.1.2 dropping a data control creates new DataControl Usage

After installing JDev 11.1.2 in a new Oracle Home I've been dealing with some weird behaviors
Now, each time I drag a Data Control into a page, a new Data Control Usage is created. However, View objects do not appear inside Data Control in the bindings view of the page.
After draggin AppModuleDataControl--> AccessView1 to a .jsff page, in the binding it creates:
Bindings: AccessView1
Excutables: AccessView1Iterator
Data Control: AppModuleDataControl46
I've reinstalled JDev in a new folder with no luck.
Have anyone faced this issue or has any ideas of why this happens
Maybe this is expected behavior but then I must have another problem as View Objects do not show in the Data Control Window in the Bindings
Thanks in advance,
J.-

Hi Frank
"what other information is needed to reproduce this?": Tricky question...Got me thinking.
Finally, after some experimentation, this and other weird behaviors went away after restoring the ViewController.jpr from a backup, Cleaning the project, deleting all the /classes folders and rebuilding all.
I'm not sure what failed during the migration process as these problems appeared right after first opening the application with JDev 11.1.2. However, as I've opened other applications which migrated fine, and haven't seen anyone else complaining about a an issue like this, I must conclude this happened because an isolated, uncommon, combination of facts not worth to further investigate.
Thanks for your help!!
J.-
Edited by: jpolanco on Feb 28, 2012 5:27 PM

Similar Messages

  • I just downloaded photoshop elements - have opened an existing pdf drawing - 1) I am trying to create layers; however, the option is not available? (i.e. greyed out rather than black) from the drop down menu - "layer" - "create new"? what do i do

    i just downloaded photoshop elements - have opened an existing pdf drawing - 1) I am trying to create layers; however, the option is not available? (i.e. greyed out rather than black) from the drop down menu - "layer" - "create new"? what do i do

    You'd better ask here:
    https://forums.adobe.com/community/photoshop_elements

  • Drag and Drop via Data Control doesn't seem to bind input parameter.

    Hi Everyone,
    I've followed the 'how to drag and drop a webservice data control' excercise in my current application to bring back complex data on the basis of one parameter(appId). However, when running the application, the server logs indicate that 'The value of appId cannot be null'. I have definitely bound the appId to the requestIterator, and the button that calls the webservice has been bound accordingly too. The response tables have been bound to the responseIterator. The webservice definitely works, and brings back data as I've tested it with SoapUI for this appId.
    Is there something I'm missing?
    Any suggestions will be helpful.
    Thanks,
    Preethi.

    Hi Sarojamaly,
    According to your description, when you create a Data Source View in BIDS/SSDT, you can't see the tables in the pane. Right?
    In this scenario, when creating data source, please make sure you select a correct data provider. For example, it you connect to SQL Server database, you should use
    Native OLE DB\SQL Server Native Client. Then please test your connection to the data source.
    If the tables still can't be displayed, please make sure you select proper database and the check tables existence in the database.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • URGENT ! JDEV 10.1.2 Problem with data control generated from session bean

    I got a problem with data control generated from session bean which return a collection of data transfer object.
    The dto's seem to be correct. The session bean load correctly the data into and the object's are plenty of data. Using the console to display the dto content is ok.
    When generating a data control from this session bean and associate the dto included in the collection only the first object level and one-to-one dto object are correctly setted in the data control. Object that represent collection into the dto (one-to-many foreign key) are setted as collection with an iterator but the structure of the object is not setted. I don't know how to associate this second level of collection with the dto bean class to obtain the attributes definition.
    I created a case with hr schema like the hrApp demo application in the tutorial with departments and employees table. I got the same problem.
    Is it a bug ?
    It exists a workaround to force the data control to understand the collection data structure ?
    Help is welcome ! this is urgent !!!

    we found the problem by assigning the child dto bean class to the node representing the iterator in the xml file corresponding to the master dto.

  • Pricing date control for new tax code rate

    Hi All
    I have changed the tax code rate , now have few old POs where I want to capture tax as per the new rate. But PO was picking up old tax rate as pricing date was coming as the PO creation date.
    Now I changed the pricing date in PO to current date. But still tax condition is showing old pricing date and hence old rate is picking up.
    Can anyone help in capturing new tax rate for an old PO.
    Regds
    Mukta

    Hi
    This Program doesn't give option to enter tax code for different line items of PO.
    My PO is having multiple line items and I have to change new tax code for each line item.
    Different tax rates are applicable for each line item material.
    Can you please let me know how this can be happened. I changed it manually as well, but where partial GRN done , it is capturing the old tax code only inspite have changed new tax code in the particular line item.
    Regards
    Mukta

  • Adding Business Days to a Date to create New Date

    I am looking to add a formula to auto calculate a new date, but only want to count business Days.
    Currently I am using formula to calculate how many days need to be added:
    //ODD Priority Business Days
    If left ({DEFECT.PRIORITY}, 1)= "1" then 10    
    else  
    If left ({DEFECT.PRIORITY}, 1)= "2" then 20
    else
    If left ({DEFECT.PRIORITY}, 1)= "3" then 50
    else
    If left ({DEFECT.PRIORITY}, 1)= "0" then 10
    Now I need to create a formula to add these numbers to the date field, for conversation purposes, I need to add these business days to my "start date" to equil my "ODD date".
    Example, if my "start date" is 1/1/2009 and it is a Priority 2, then I need to add 20 business days to that, so the "ODD date" would be: 1/29/2009.
    Please help.

    Thank you Garrett Fitzgerald! Please see the modified formula which I meant
    {Startdate}
        + {@BusinessDays}
        - DateDiff("ww", {Startdate}, {Startdate} + {@BusinessDays}, crSaturday)
        - DateDiff("ww", {Startdate}, {Startdate} + {@BusinessDays}, crSunday)
    Regards,
    Raghavendra

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • Request parameter of Web Service Data Control shows up as an Object

    I have deployed a simple web service on a peoplesoft instance.
    The request message is:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="SSR_CLASS_SEARCH_REQ">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="INSTITUTION" type="xsd:string" nillable="true"/>
    <xsd:element name="TERM" type="xsd:string" nillable="true"/>
    <xsd:element name="CAREER" type="xsd:string" nillable="true"/>
    <xsd:element name="SUBJECT" type="xsd:string" nillable="true"/>
    <xsd:element name="CLASS_NBR" type="xsd:int" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    While the response message has a depth of three levels:
    In jdev 11g (Studio Edition Version 11.1.1.1.0, Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) the one available for download on OTN, I perform the following steps.
    Create a Web Service Data control using the WSDL url, generated from the PSFT end.
    The Data control creates successfully. The problem is:
    - In the service operation method (in the data control) the request parameter is shown as an Object.
    - The entry under the service operation parameter tree, is 'paramater'
    The data control looks like:
    - <datacontrolname>
    - <serviceOperationName>_parameters
    - parameter
    - CAREER
    - CLASS_NBR
    - INSTITUTION
    - SUBJECT
    - TERM
    - <serviceOperationName>(Object)
    - Parameters
    - parameter
    - Return
    - <Return type>
    The return type shows up fine, with collections in hierarchy of a depth of tree.
    How do I create a parameter form for this data control.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ADF: Web Service Data Control

    Hi,
    I have created a simple Web Service with no input arguments, then create a data control for it. I just drag-and-drop this data control to a JFrame to create a JTable and the Web Service result is automatically displayed.
    Now I want to create a more complex Web Service and a data control for it.
    Altough I have a data control and some visual components bounded, I need to send arguments to the web service and call it.
    How can I send arguments and call a Web Service bounded to a data control?
    Thank´s.

    hi [email protected]
    To set the parameter value in your code, update the example Shay Shmeltzer added in this thread like this.
    (1) Double-click the "NumberToWords" button to get an empty "jButton1_actionPerformed()" method.
    (2) Add code like this:
         private void jButton1_actionPerformed(ActionEvent e)
              OperationBinding vOperationBinding =
                   (OperationBinding)panelBinding.get("NumberToWords");
              vOperationBinding.getParamsMap().put("ubiNum", "1234");
              //vOperationBinding.execute();
         // ...(3) Run again.
    If you also want to explicitly execute the OperationBinding yourself:
    (1) comment this:
              //jButton1.setModel((ButtonModel)panelBinding.bindUIControl("NumberToWords",jButton1));
         // ...(2) uncomment this:
              vOperationBinding.execute();
         // ...(3) Run again.
    success
    Jan Vervecken

  • JavaBeans Data Control / Managed beans interaction

    Working in JDev/ADF 11g
    I have an Application Scoped ADF managed bean that initializes some services for my ADF application. (These are non-database backed business services and so they do not integrate as tightly with Jdev as data controls). They require some constructor arguments and other initialization parameters and so they cannot be written as pure beans.
    I wrote Java Beans to use as data controls that wrap these services. What I would like to do is to keep the creation of these services in the application scoped bean, so they can be used programmatically in other areas. When the data controls beans are initialized, I want to grab their underlying services from the application scoped bean via the ADFContext.
    My issue is that at the time the data control beans are instantiated, the ADFContext returns null when accessing the application scoped bean - ie it has not been created yet.
    What is the proper way to pass initialization data to JavaBean data controls? Ideally I could simply pass the data control a reference to its underlying service.
    If Im going about this all the wrong way, with the application scoped bean holding the application wide business services, please feel free to advise me otherwise.
    Thanks!

    Okay - so I figured out one way to do this (detailed below), but my question still stands as to if there is a proper way to get information to a JavaBean data control when it is instantiated.
    What I just learned is that although my application scoped bean does not exist when the data control is created, it can exist when the the data control is called by the .jspx. I say 'can' because it will only exist if the .jspx backing bean references the application scoped bean as a managed property. i.e. ADF will create the data control, create the page bean, create the application bean (b/c the page needs it), and then call the data control, at which point the data control will find the application scoped bean. This is sort of a hack, since it requires an unintuitive setting for it work. so I think my question still stands, how to pass data from the application scoped bean to the data control.

  • NULL values and Data Control based on Web Service

    One of my ADF control is based on a Data Control created through a web service. Every thing is working fine except the way ADF control is handling the null values return by the web service based data control.
    For example for null columns the web service is sending the following:
    <ns0:beginDate xsi:nil="1"/>
    or
    <ns0:sourceCode xsi:nil="1"/>
    But the corresponding column in my ADF data control is trying to initialize itself using the value ‘[{nil=1}]’. It fails with the following error.
    2006-04-20 13:31:37.510 WARNING JBO-25009: Cannot create an object of type:java.util.Date with value:[{nil=1}]
    I will appreciate if someone could help me resolve this issue.
    Thanks,

    I tried again, but it seems that I'm unable to reproduce this in a test project which uses another data controls but is still as similar as possible to the original project in which I've encountered this behaviour.
    However, using a data control based on the same web service as in the original project, [{nil=1}] appears again instead of emtpy values.
    Is it possible that there is a significant difference in the generated wrapper classes? The underlying PL/SQL is the same (in strucutre) and the corresponding elements in the response XML of the web service are the same in the two cases, always like <ns0:someResponeValue xsi:nil="1"/>, so I don't know how it is possible that I can't reproduce this behaviour.
    A short description of the projects:
    Services/Model:
    I created a PL/SQL funcition in a package that returns a user type object. This return parameter consists of a non-empty string and a null value string. On top of this I created a PL/SQL web service and a data control for that.
    View/Controller:
    A JSF JSP page which has a read-only form showing the return values of the web service.
    Regards,
    Patrik

  • Managed Beans vs. POJO Data Control for sharing data

    Hi,
    I am currently using JAX-WS proxy client and POJO Data Controls to retrieve data from web services. This data needs to be shared across users. Normally I would use application scoped managed beans for this, but since I prefer using data controls and the binding layer, would using static POJO Data Control classes achieve the same thing?

    Hi,
    Data Controls don't exist across user sessions so in your use case use a managed bean in application scope. If you want to make this available from a Data Control
    - create a POJO
    - Use EL in the POJO to access the managed bean
    - Create a DataControl from the POJO
    This way the Data Control exposes the data as an API but itself always reaches out to the managed bean as a data store/cache
    Frank

  • Using UCM data controls in ADF application

    Using *.6 Jdeveloper/UCM/Protal Application/UCM
    Calling all the experts in Webcenter/Spaces/UCM/ADF.
    We have a requirement to design search inteface for Documents stored in UCM for Webcenter Portal and Spaces application.
    Our approach is
    Design simple ADF application (no security/templates)
    Bounded task flows using fragments.
    Framents to use UCM data controls (provided by oracle)
    UCM data control definition is extended to use custom metadata.
    package the application.
    Added as ADF library jar to portal application
    Added as Shared Library to Spaces application.
    Question.
    Is this approach sound?
    Does UCM data controls provide all the functionality, for example if we want to read a option list for custom metadata or need custom metadata in return table?
    Can we add other methods to UCM data control provided by Oracle or should we create different one?
    Is there good documentation for such requirements. We have acces Webcenter developers guide which throws some light on UCM data controls.
    Let me know if more clarity is needed...
    Regards

    Hi.
    One of my last components was a custom "Document Explorer" and I used for first time JCR Data Control (Custom UCM Data Control provided by Oracle).
    Sharing my experience I did something similar to you:
    1) Create a ADF Bounded Task Flow and test it individually.
    2) Add generated ADF JAR Library to WebCenter Spaces shared-lib.
    3) Add your Task Flow to Resource Catalog.
    Challenges that I found using custom Data Control:
    1) When items retrieved are content/files all custom metadata can be retrieved OOTB.
    2) When retrieving folders don't provide custom metadata like files. I used RIDC with JCR Data Control to provide all the information relative to folders. If you don't need more information about folders than the name, URI and icons then is OK :).
    3) Using JCR Data Control registers in DataControls.dcx UCM Connection name used when generate JCR Data Control. After deploy your ADF JAR Library in WebCenter Spaces you'll have problems if you don't have a WebCenter Content Connection created with the same name. (Not talking about export UCM Connection with ADF JAR Library, Data Control uses a Connection name by itself :)).
    I added extra functionallity with RIDC (not extending JCR Data Control).
    I hope this help you.
    Regards.

  • Web Service Data Control XMLDOMException exception

    This issue is produced when we have Web Service Data Control (D.C.) used as reference data provider and is used as List Data Source in selectOneChoice. This happens only when we have the data control created directly from the WSDL. If we create a WS Proxy first and then we create a D.C. from the proxy interface, we don't have this issue. How can we use the D.C. directly without creating a WS proxy ?
    Here are some snippets:
    from page definition file
    <executables>
    <accessorIterator MasterBinding="EmployeeIterator"
    Binds="workedForDepartments" RangeSize="25"
    DataControl="EditTaskUI_EditTask"
    BeanClass="EditTaskUI_EditTask.DepartmentType"
    id="workedForDepartmentsIterator"/>
    <methodIterator Binds="getDepartments.result"
    DataControl="ReferenceDataServiceWebServiceDC"
    RangeSize="25"
    BeanClass="referencedataservicewsdc.ReferenceDataServiceWebServiceDC.getDepartments"
    id="getDepartmentsIterator"/>
    <accessorIterator MasterBinding="getDepartmentsIterator" Binds="Department"
    RangeSize="-1"
    DataControl="ReferenceDataServiceWebServiceDC"
    BeanClass="referencedataservicewsdc.ReferenceDataServiceWebServiceDC.getDepartments.Department"
    id="DepartmentIterator"/>
    </executables>
    <bindings>
    <list IterBinding="workedForDepartmentsIterator" id="departments"
    DTSupportsMRU="true" StaticList="false" ListIter="DepartmentIterator">
    <AttrNames>
    <Item Value="id"/>
    <Item Value="name"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="key"/>
    <Item Value="value"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="value"/>
    </ListDisplayAttrNames>
    </list>
    <methodAction id="getDepartments" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="getDepartments"
    IsViewObjectMethod="false"
    DataControl="ReferenceDataServiceWebServiceDC"
    InstanceName="ReferenceDataServiceWebServiceDC"
    ReturnName="data.ReferenceDataServiceWebServiceDC.methodResults.getDepartments_ReferenceDataServiceWebServiceDC_getDepartments_result"/>
    </bindings>
    snippet from jsf page
    <af:selectOneChoice value="Departments"
    label="#{bindings.departments.label}"
    required="#{bindings.departments.hints.mandatory}"
    shortDesc="#{bindings.departments.hints.tooltip}"
    id="soc5">
    <f:selectItems value="#{bindings.departments.items}" id="si9"/>
    </af:selectOneChoice>
    and the wsdl used to create service, from which the D.C. is created
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions targetNamespace="urn:ReferenceDataService"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:ReferenceDataService"
    xmlns:types="urn:ReferenceDataService/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    <types>
    <xsd:schema targetNamespace="urn:ReferenceDataService/types"
    xmlns:types="urn:ReferenceDataService/types"
    elementFormDefault="qualified">
    <xsd:element name="AddressList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="types:Address" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="DepartmentsList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="types:Department" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Address" type="types:KeyValue"/>
    <xsd:element name="Department" type="types:KeyValue"/>
    <xsd:complexType name="KeyValue">
    <xsd:sequence>
    <xsd:element name="key" type="xsd:string" maxOccurs="1" minOccurs="1" />
    <xsd:element name="value" type="xsd:string" maxOccurs="1" minOccurs="1" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="ListAddressesReqMsg"/>
    <message name="ListAddressesRespMsg">
    <part name="response" element="types:AddressList" />
    </message>
    <message name="GetAddressesReqMsg"/>
    <message name="GetAddressesRespMsg">
    <part name="response" element="types:AddressList" />
    </message>
    <message name="ListDepartmentsReqMsg"/>
    <message name="ListDepartmentsRespMsg">
    <part name="response" element="types:DepartmentsList" />
    </message>
    <message name="GetDepartmentsReqMsg"/>
    <message name="GetDepartmentsRespMsg">
    <part name="response" element="types:DepartmentsList" />
    </message>
    <portType name="ReferenceDataPort">
    <operation name="listAddresses">
    <input message="tns:ListAddressesReqMsg"/>
    <output message="tns:ListAddressesRespMsg"/>
    </operation>
    <operation name="getAddresses">
    <input message="tns:GetAddressesReqMsg"/>
    <output message="tns:GetAddressesRespMsg"/>
    </operation>
    <operation name="listDepartments">
    <input message="tns:ListDepartmentsReqMsg"/>
    <output message="tns:ListDepartmentsRespMsg"/>
    </operation>
    <operation name="getDepartments">
    <input message="tns:GetDepartmentsReqMsg"/>
    <output message="tns:GetDepartmentsRespMsg"/>
    </operation>
    </portType>
    <binding name="ReferenceDataPortSOAP11Binding" type="tns:ReferenceDataPort">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="listAddresses">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/listAddresses"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="getAddresses">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/getAddresses"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="getDepartments">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/getDepartments"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    <operation name="listDepartments">
    <soap:operation style="document"
    soapAction="urn:ReferenceDataService/listDepartments"/>
    <input>
    <soap:body use="literal" parts=""/>
    </input>
    <output>
    <soap:body use="literal" parts="response"/>
    </output>
    </operation>
    </binding>
    <service name="ReferenceDataService">
    <port name="ReferenceDataPort" binding="tns:ReferenceDataPortSOAP11Binding">
    <soap:address location="http://service/ReferenceDataService"/>
    </port>
    </service>
    </definitions>
    Error log in the server consle
    <May 15, 2012 2:59:48 PM CEST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: invalid character : in name
    oracle.xml.parser.v2.XMLDOMException: invalid character : in name
         at oracle.xml.util.XMLUtil.validateQualifiedName(XMLUtil.java:530)
         at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:416)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.<init>(ElementImpl.java:80)
         at oracle.j2ee.ws.saaj.soap.BodyElementImpl.<init>(BodyElementImpl.java:20)
         at oracle.j2ee.ws.saaj.soap.soap11.BodyElement11.<init>(BodyElement11.java:19)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createBodyElement(SOAPImplementation11.java:120)
         at oracle.j2ee.ws.saaj.soap.BodyImpl.createChildElement(BodyImpl.java:160)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:827)
         at oracle.j2ee.ws.saaj.soap.ElementImpl.addChildElement(ElementImpl.java:154)
         at oracle.j2ee.ws.mdds.SAAJEnvelopeBuilder.startElement(SAAJEnvelopeBuilder.java:161)
    at ....
    Here is the sample project for download
    http://www.4shared.com/zip/96UKoyvU/Exception_In_DC.html?
    Edited by: pavle on 15-May-2012 07:41

    Luis,
    lets cut this down to the most simplest testcase. You have a Web Service that allows an input argument to be null. The application based on the WSDC has a textfield and a button. The error shows if the button is pressed without you adding a value to the textfield.
    My questions are:
    - is my understanding correct ?
    - Is the WebServices created in JDeveloper 11 as well?
    - If it is created in JDeveloper 11, is it a JAX-WS Web Services, or a RPC style service ?
    Frank

  • Dynamic Credentials and Web Service Data Controls

    I've followed Steve Muench's post on using Dynamic Credentials (14.     Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 17-MAY-2007), which works fine with the ADF BC part of the project. However, the project also contains Data Controls created from web services. I'm getting the following exception. Why are the web services being effected by the credentials and how can I fix it?
    Aug 31, 2007 12:38:41 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: Failed to create a connection to the Web Service.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadFromMetadata(WSDefinition.java:659)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:163)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.<init>(JUMethodIteratorDef.java:138)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:93)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.createIterBinding(JUMethodIteratorDef.java:84)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.controller.v2.context.LifecycleContext.getBindingContainer(LifecycleContext.java:150)
         at com.awiweb.om.view.fwkExts.OMS_FacesPageLifecycleContext.initControllerClass(OMS_FacesPageLifecycleContext.java:23)
         at oracle.adf.controller.v2.context.LifecycleContext.<init>(LifecycleContext.java:53)
         at oracle.adf.controller.v2.context.PageLifecycleContext.<init>(PageLifecycleContext.java:48)
         at oracle.adf.controller.faces.context.FacesPageLifecycleContext.<init>(FacesPageLifecycleContext.java:37)
         at com.awiweb.om.view.fwkExts.OMS_FacesPageLifecycleContext.<init>(OMS_FacesPageLifecycleContext.java:17)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.adf.controller.v2.context.LifecycleContext.getInstance(LifecycleContext.java:86)
         at oracle.adf.controller.v2.context.LifecycleContext.getInstance(LifecycleContext.java:65)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:404)
         at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:228)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.awiweb.om.view.fwkExts.OMS_ADFBindingFilter.doFilter(OMS_ADFBindingFilter.java:79)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Please ignore this post. The problem was not related to the Web Service.

Maybe you are looking for

  • CS2: Adobe Bridge Cache File on Desktop...Why?

    For some unknown reason...CS2 has started placing "Adobe Bridge Cache" file shortcuts on my desktop. When I click on one, I receive a Win XP error message that says the file .bc is unkown and can't be opened. These shortcuts have never appeared befor

  • Not able to get the actual plan from trace file

    Hi all I have a Db package and want to get actual execution plan of all the statements in that pakcage it does provides the plan for System's statements but does not displays the plan for Sql statements DB version 9.2.0 using the following sequence o

  • Run Time Stats

    Hi All, If i execute a sql statement in editor i get the execution details .. Is there a way to capture those  results i mean the time to execute the SQL Statement Thanks

  • Update routine code

    Hi friends, I have a field YREPCURR in the update rules, it needs to updated based on the attribute of /BIC/YREPCURR in 0salesorg plz help me writing a routine for this field help will be really appreciated, points would be fully awarded regards, vee

  • Ghost user account

    I'll start by apologising, I have searched but was unable to find anything similar to my post, so if there is already a thread with this subject please point me in the right direction. Ok I have two user accounts set up on a PMG5 dual 2.3GHz 4.5GB ra