JDeveloper 11g incorrect WSDL generation

Setup:
In jDeveloper 11.1.1.3.0 connecting to an Oracle 11g database with the following data types.
create or replace type test as object (a varchar2, b varchar2);
create or replace type table_of_test as table of test;
If the there is a package that has a procedure that uses the type table_of_test
create or replace package blah_pkg as
procedure blah_prc( my_table table_of_test);
end blah_pkg;
Problem:
In jDeveloper publish the package as a web service, when you attempt to deploy this, it will error. With the following error ->
[04:28:13 PM] Weblogic Server Exception: weblogic.application.ModuleException: [HTTP:101216]Servlet: "MyWebService1Port" failed to preload on startup in Web application: "tester-ws-context-root.war".
weblogic.wsee.ws.WsException: Failed to load class intrepiddev.holders.ArrayOfTableOfTestUserHolder:weblogic.xml.schema.binding.util.ClassUtil$ClassUtilException: unable to load class:java.lang.ClassNotFoundException: intrepiddev.holders.ArrayOfTableOfTestUserHolder
On investigating the WSDL you can see that there are two array elements in the WSDL one named ArrayOfTableOfTestUser and one named TableOfTestUserArray but only one java class was created TableOfTestUserArrayHandler.
If you change the element in the WSDL, from ArrayOfTableOfTestUserArray to TableOfTestUserArray the deployment and the web services will work.
Question:
Is this a bug in jDeveloper, or am I doing something stupid?
While this work around does ... well, work, it is no good in the long run as the WSDL will need to be fixed every time the web services are re-generated.

To be a bit more specific in package oracle.wsdl.toolkit class JavaXSDTypeMapper.class
private String getArrayComplexTypeName(QName componentXSDType)
String typeName = componentXSDType.getLocalName();
int lastDot = typeName.lastIndexOf('.');
if(lastDot > 0)
typeName = typeName.substring(lastDot + 1);
String complexTypeName = "ArrayOf" + StringUtil.firstCharToUpper(typeName);
for(int i = 1; m_arrayComponentToComplexTypeMap.values().contains(complexTypeName); i++)
complexTypeName = complexTypeName + i;
return complexTypeName;
Should be String complexTypeName = StringUtil.firstCharToUpper(typeName) + "Array";

Similar Messages

  • Unable to Create PLSQL Webservice in JDeveloper 11g

    Hi,
    i have created webservice for PL/SQL for functions with out TYPE data types as parameter..
    but i am unable to create a webservice for procedure having
    Freight_Pkg.PROCEDURE get_freight(
    p_sbl_source_line_tab IN OUT SYK_SBL_SOURCE_LINE_TAB_TYPE
    ,l_total_freight OUT NUMBER
    ,l_err_code OUT NUMBER
    ,l_err_mesg OUT VARCHAR2
    and when i try to create web service it generates below Warning
    =========================================
    Log Message of WebService
    ========================================
    Generating PL/SQL Web Service
    Generating WSDL and mapping file
    WARNING: OWS-00077 The Value Type class: SykSblSourceLineBase does not have a valid Java Bean pattern.
    Adding service files to deployment profile
    Service generation finished
    Generation complete.
    Please let me know the procedure for creating Webservice for PLSQL of Table Type Parameters passing as IN parameter in Procedure.
    Thanks,
    Vijay

    Vijay,
    Is this configured with Oracle E-Business Suite? If yes, please note that JDeveloper 11g is not certified with Oracle Apps 11i/R12.
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    If this is not related to EBS, post your question in the appropriate forum for a better/faster response.
    JDeveloper and ADF
    JDeveloper and ADF
    Thanks,
    Hussein

  • ADF - Multple View Objects in one ADF table - Jdeveloper 11g

    Hi,
    I'm using Jdeveloper 11g, is there a way to use multiple view objects in one ADF table? And if so, do you have an example?
    In my case the view objects are not based on a database table they were created based on an ESB wsdl, one is for person and one is for address.
    Any information or pointers you could provide would be appreciated.
    Thanks!

    Hi,
    That would be a good solution, however, I'm supposed to see if there is a way to use the VOs that were created for person and address. Even better if the solution requires little coding.
    Is it possible to combine these two VOs into a single VO to use with an ADF table or to use both of them in a single table? Or is there some other solution that would enable me to use the person and address VOs in a similar manner?
    Thanks!

  • JCA DBAdapter configuration using JDeveloper 11g

    hello,
    I cannot create correct wsdl files for the jca WSDL-based business service :-(
    I try to use JCA dbAdapter in OSB 10.3.1
    following guideliness from
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jcatransport/transport.html
    and
    OSB DBAdapter Demo (but it refers to JDev 10gR3 :-( which allows creation of DBAdapter component)
    in Jdev 11g, I can create such components only inside SOA project
    and no bindings are generated inside the wsdl (they are in composite.xml)
    is there a way to automatically use the wizard to create the correct wsdl (or I have to write it on my own)
    thanx in advance
    regards
    yannis
    Edited by: ydes on May 11, 2010 1:01 PM

    Hi Yannis,
    You can use the DB Adapter created with JDeveloper 11g on OSB 11g.
    The only difference from OSB/JDev 10g is that you will import a JCA file (along with WSDL and its dependencies) from JDev 11g into OSB 11g.
    Then you just need to right click on the JCA file and select 'Oracle Service Bus / Generate Service' and OEPE will automatically create the business service and the respective wsdl.
    Hope it helps.
    Regards,
    Rodrigo

  • Can't Run JDeveloper 11g on JDK 6_13 for Windows 64-bit

    Hi all,
    When I attempt to run JDeveloper 11g (base install), and select my java.exe file from my JDK 6_13x64 installation I get the following error message:
    "Unable to find Java Virtual Machine.
    "To point to a location of a Java Virtual Machine, please refer to the Oracle9i JDeveloper Install Guide (jdev\install.html)."
    In addition to the incorrect version number, the JDeveloper Install Guide makes no mention of this problem. I've found a few posts on this forum where people had this problem, but they're all pretty old, and none of them got satisfactory answers. A few possibilities mentioned in those posts that I've eliminated are as follows:
    - I've confirmed that this is, indeed, the JDK, not just a JRE.
    - This is the production version of JDeveloper 11g, not a technical preview, so it shouldn't require 1.5.
    - There are no spaces in the paths to either the JDK or JDeveloper.
    Has anyone found a solution to this problem?
    Thanks much,
    Avrom

    Thanks, Shay. That does seem to work, and will suffice as a workaround for now. But are there plans to make JDeveloper compatible with the 64-bit edition of Java? It would be nice to get what I assume is a substantial performance enhancement from using it.
    10:06 PM: Actually, it doesn't work very well. JDeveloper will start, but it has a lot of stability problems; it seems to freeze at 100% CPU usage (well, 25%, but I'm on a quad processor) at the drop of a hat, such as when I minimize, walk away for 90 minutes, and come back--once it even did it just when I tried to create a new application. I've installed this version of JDev on a 32-bit system and have found it to be generally quite stable, so I assume this is a problem with my setup.
    Edited by: Avrom on May 10, 2009 10:06 PM

  • Can't create WS from PLSQL package (Jdeveloper 11g 4) (Exception occured)

    Hello,
    I'am using JDeveloper 11g preview 4.
    On database i have a package with 2 procedures.
    When I like to create a WS from database package I get the Exception:
    java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType
         at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.getJarFiles(AddToDeploymentProfiles.java:592)
         at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.action(AddToDeploymentProfiles.java:292)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
         at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:242)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:366)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:137)
         at oracle.jdevimpl.webservices.WebServicesAddin.fastCreatePlSqlService(WebServicesAddin.java:1503)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
         at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
         at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
         at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
         at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1043)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Exception from Jdeveloper console
    Validating XML...
    Validating C:\Generali\WsGenerali\public_html\WEB-INF\web.xml
    Validate XML: 0 errors, 0 warnings.
    Aug 13, 2008 1:20:20 PM oracle.javatools.logging.LogUtils log
    WARNING: Exception in task oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1@1fa522d on model oracle.jdevimpl.webservices.wsdl.WSDLXmlModel@129271e; txn name=null
    java.lang.NullPointerException
         at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1.performTask(FixLocationAttribute.java:72)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:172)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
         at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute.action(FixLocationAttribute.java:51)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
         at java.lang.Thread.run(Thread.java:595)
    Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
    my procedures are:
    type r_sifrant is record
    ( id number,
    nadrejeni_id number,
    opis varchar2(100),
    privzeto varchar2(1)
    type r_cursor is ref cursor return r_sifrant;
    function f_sel_sifrant(p_naziv in varchar2) return r_cursor;
    procedure gen_polica(p_username in varchar2, p_polica_xml in clob, p_stevilka_police out number);
    Here I have posted a video of generating ws from plsql package (screen capture):
    http://shrani.si/f/x/P6/m5GSF8c/in2.avi
    Thank you for any help
    best regards
    Peterv
    Message was edited by:
    user651799

    Hello,
    I'am using JDeveloper 11g preview 4.
    On database i have a package with 2 procedures.
    When I like to create a WS from database package I get the Exception:
    java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType
         at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.getJarFiles(AddToDeploymentProfiles.java:592)
         at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.action(AddToDeploymentProfiles.java:292)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
         at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:242)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:366)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:137)
         at oracle.jdevimpl.webservices.WebServicesAddin.fastCreatePlSqlService(WebServicesAddin.java:1503)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
         at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
         at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
         at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
         at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1043)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Exception from Jdeveloper console
    Validating XML...
    Validating C:\Generali\WsGenerali\public_html\WEB-INF\web.xml
    Validate XML: 0 errors, 0 warnings.
    Aug 13, 2008 1:20:20 PM oracle.javatools.logging.LogUtils log
    WARNING: Exception in task oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1@1fa522d on model oracle.jdevimpl.webservices.wsdl.WSDLXmlModel@129271e; txn name=null
    java.lang.NullPointerException
         at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1.performTask(FixLocationAttribute.java:72)
         at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:172)
         at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
         at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute.action(FixLocationAttribute.java:51)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
         at java.lang.Thread.run(Thread.java:595)
    Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
    my procedures are:
    type r_sifrant is record
    ( id number,
    nadrejeni_id number,
    opis varchar2(100),
    privzeto varchar2(1)
    type r_cursor is ref cursor return r_sifrant;
    function f_sel_sifrant(p_naziv in varchar2) return r_cursor;
    procedure gen_polica(p_username in varchar2, p_polica_xml in clob, p_stevilka_police out number);
    Here I have posted a video of generating ws from plsql package (screen capture):
    http://shrani.si/f/x/P6/m5GSF8c/in2.avi
    Thank you for any help
    best regards
    Peterv
    Message was edited by:
    user651799

  • Jdeveloper 11g - JAX-RPC 1.1 method is not supported in WLS 8.1 clients.

    Hi,
    I am using Jdeveloper 11g and migrating a web Service Proxy created using jdeveloper 10g.
    I imported all the proxy classes and when I try to run web service client In Jdeveloper 11g I get the following error
    "JAX-RPC 1.1 method is not supported in WLS 8.1 clients. If you are attempting to run an OC4J 10.1.3 JAX-RPC client in WLS, please see the Web Service Migration Guide for instructions."
    Please advise on how to solve this?
    which is the offending jar/library file in Jdeveloper 11g which is causing the above error?.
    Is the above problem there in the WebLogic Server Runtime also?
    Please let me know.
    2) I cannot generate web server proxies also with jdev11g because the wsdl has overloaded methods omitting the name property within the input and output message, ie, they have a null name. therefore Jdeveloper 11g is using the library which
    when called with an overloaded operation that contains null input/output message names, a duplicate error occurs because it sees other operations with the same name. so it is effectively not allowing to create the web service proxies.
    Thanks,
    Appreciate your quick response to the above

    Have you checked the 'Web Service Migration Guide' mentioned in the error message?
    Timo

  • [SOLVED] JDeveloper 11g Data Controls Accordion Missing

    Hello all, this is my first post in the forums. I am following the JDeveloper 11g tutorial found here:
    http://www.oracle.com/technology/obe/obe11jdev/11/rich_client/adfrichclient.htm
    However, once I get to the section "ADF Table Component and ADF Binding" step 2 tells me to open my Data Control Accordion in the Application Navigator, which I cannot find. In JDeveloper 10g you could easily open it via View | Data Control Palette (if I am not mistaken).
    Inside the Application Navigator the only accordions I see are, "Projects", "Application Resources", and "Recently Opened Files". Also note that I am using the "Default Role" schema.
    Message was edited by:
    kabronkline

    Shay I apologize for the mistake, I think your link is incorrect; however, I've found the correct forum at:
    JDeveloper and OC4J 11g Technology Preview
    You were right about this problem, I had initially started JDeveloper 11g in "Java EE" role. Eventually I changed it to "Default" role on my own via Tools | Preferences | Roles - this apparently is what caused my problem.
    Being on a *nix machine I followed your instructions and ran the following command:
    <jdev_home>/jdev/bin/jdev -su
    I was prompted for role selection and user migration and it gave me a fresh start. I can now see my Data Controls Accordion. Big thanks!

  • Oracle Jdeveloper 11g R1 has a Bug?-- Swing Application Deploy Error

    Oracle Jdeveloper 11g R1 (11.1.1.2.0) (build 5536)
    1. Create an empty swing application.
    File-->New-->Applications-->Java Desktop Application
    New-->Swing/AWT-->Frame
    2. Project properties--->Deployment: Create new JAR Deployment Profile: test
    3. Edit Deployment Profile: test
    File Groups --->new--->Create File Group (Type: Dependency Analysis) :da
    4. Error: Cannot enter "da"---->contributors , No display (such as "Libraris")
    5. If deploy it (test), I get an Unexpected Error.
    Error Messages:
    Title: StackOverflowError in o.ji.xml.JDevXmlIntergrationUtilsImpl:18
    Performing action Report a Bug...[ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Invoking command: [ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Performing action New...[ from oracle.jdevimpl.uieditor.UIEditorImpl ]
    Performing action Show Overview
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: Class Generation[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action Project Properties...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action Project Properties...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.StackOverflowError
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18)
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18)
    o.ji.xml.JDevXmlIntegrationUtilsImpl.canBeSelected0(JDevXmlIntegrationUtilsImpl.java:18) ......
    When I use Oracle Jdeveloper 10g (10.1.3.4.0) , I can use it to set Libraris.
    I have a swing application need these operation.
    Does anyone can tell me what's the reason?
    Thanks.
    I had tried Oracle JDeveloper 11g R1 (11.1.1.1.0)(Build 5407).
    It is OK.
    Maybe I need to download Oracle JDeveloper 11g (11.1.1.2.0) again.
    Edited by: [email protected] on 2010-2-24 下午4:58
    Edited by: [email protected] on 2010-2-25 下午5:47

    I am encountering the same bug / problem right now.
    Anybody from Oracle who has a workaround for this BUG?
    We are migrating to JDev 11.1.1.2.0 for a client and this bug is still there!
    Any help from the JDev team is highly appreciated!

  • Jdeveloper 11g Preview :Could not canonicalize jdk

    hi guys,
    I am using Jdeveloper 11g preview version. when i run the pages i got following message in the log :
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\thillakan\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config>
    C:\jdevstudio1111\jdk\bin\javaw.exe -client -classpath C:\jdevstudio1111\j2ee\home\oc4j.jar;C:\jdevstudio1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\thillakan\Application Data\JDeveloper\system11.1.1.0.17.45.24\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    Could not canonicalize '%C:\Java\jdk1.5.0_09\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
    Jun 27, 2007 12:26:34 PM oracle.dms.trace.TraceManager record_config
    INFO: TransactionTracing is enabled at MIN level
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 26188 ms.
    I am worrying about this message
    "Could not canonicalize '%C:\Java\jdk1.5.0_09\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path. "
    Environment :
    i am using Win Xp and i have stetted environment variable JAVA_HOME=C:\Java\jdk1.5.0_09\bin'

    thanks Ric,
    I set the user environment varilable; like this.
    JAVA_HOME = C:\Java\jdk1.5.0_09 and i added bin directory with path directory.
    path=%JAVA_HOME%\bin;
    The reason i mention about java home. The jdeveloper log shows the message
    "Could not canonicalize '%C:\Java\jdk1.5.0_09\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path."
    what i wonder how it refer "C:\Java\jdk1.5.0_09\bin" ? jdeveloper has it's own java compiler.
    i checked your suggestion.
    Tool --> Embed OC4J Preferences --> java compiler
    Compiler : ojc
    Bin : jdev bin
    i tried other settings it does not work me.
    Actually what is saying to us through this message.
    "Could not canonicalize '%C:\Java\jdk1.5.0_09\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path."

  • Calling a Axis2 Secure Web Service with JDeveloper 11g

    We are attempting call a Blackboard (Axis2) web service using Oracle JDeveloper 11g. We are currently unable to generate the security header required, could anyone please point me in the right direction?
    I have following the following steps highlighting my issue. What steps might I be missing? Should I have created a keystore? Should I implement this with the metro stack? Any help or suggestions to go in a different direction would be greatly appreciated.
    1. Install JDeveloper 11.1.1.5.0 (accept defaults)
    2. Open JDeveloper
    3. Create a Project by selecting File > New > Generic Project > Finish
    4. Right-click newly created project and select New
    a. Select Web Services in the Categories
    b. Select Web Service Proxy, then Next
    c. Next
    d. Select JAX-WS Style, then Next
    e. Enter http://gpstc.blackboard.com/webapps/ws/services/Context.WS?wsdl for the WSDL Document URL, then Next
    f. Next
    g. Remove “:80” from the Endpoint URL in each row, the first row should be http://gpstc.blackboard.com/webapps/ws/services/Context.WS, then Next
    h. Next
    i. I don’t see an option for WSSOAP12Binding which this webservice utilizes, so I selected “oracle/wss11_username_token_with_message_protection_client_policy”
    j. Next
    k. Finish
    5. As a test, add the following code after “// Add your code to call the desired methods.”
    GetServerVersionResponse myv = new GetServerVersionResponse();
    myv = contextWSPortType.getServerVersion(new GetServerVersion());
    System.out.println(myv.toString());
    6. Run the Project
    7. Received the following exception “Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: WSDoAllReceiver: Incoming message does not contain required Security header"
    Currently running JDeveloper 11g with Oracle WebLogic Server 11gR1
    Attempting to connect to Blackboard, Release 9.1.50119.0
    Thanks, Adam Ham

    Hi,
    Did you configure the Axis2 in Jdeveloper?
    Best Regards
    Sunny

  • Using the Edit definition feature for data controls in Jdeveloper 11g

    Hello,
    I am using Jdeveloper 11g 11.1.2.3.0.
    I have some data controls used in my application. Initially they were pointing to lab now it has been changed to development.
    I need to change the wsdl urls' for each data controls. I used edit definition feature in each data controls and copy pasted the new urls. But this does not seem to work.
    Is this the right way of doing it or is there any other way to accomplish this?
    Thanks in advance,
    Sal

    Hi,
    choose Application Resources (iAccordion in Application Navigator) --> ADF META-INF --> Open and Change connections.xml
    Frank

  • Pro: SOAP to RFC, WSDL generation

    Hi Frnd,
    I  am getting problem in the WSDL Generation from the ID,
    When i generated it first time i was getting the following in the    Soap:address
    <soap:address location="http://vessxip01:8001/XISOAPAdapter/MessageServlet?channel=:BS_PWS:CC_PWS_WeighVoidData_SOAPsend&version=3.0;Sender.Service=BS_PWS;Interface=+urn%3Aveoliaes%3APWSTransaction%3ASAPR3toPWS%5EMIout_WeighVoidData" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
    But When i am generation it again i am getting the following  for the same tag,   SOAP:Address
    <soap:address location="http://vessxip01:8001/XISOAPAdapter/MessageServlet?channel:BS_PWS:CC_PWS_WeighVoidData_SOAPsend&version=3.0;Sender.Service=BS_PWS;Interface=urn%3Aveoliaes%3APWSTransaction%3ASAPR3toPWS%5EMIout_WeighVoidData" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
    When we look concentrate i found " + " sign is missing in the next generation.
    Please tell me what is the meaning of "+" sign, and why it is not comming in the regeneration of the WSDL.
    Where as first one is working fine and the second one is not working.
    Thanks,
    Raj.

    http://vessxip01:8001/XISOAPAdapter/MessageServlet?channel:BS_PWS:CC_PWS_WeighVoidData_SOAPsend&version=3.0;Sender.Service=BS_PWS;Interface=urn%3Aveoliaes%3APWSTransaction%3ASAPR3toPWS%5EMIout_WeighVoidData
    The WSDL format that you are using is configured to hit the Integration Engine....hence the port number that you use should be that of the Integration Engine......
    Now from where will i get this information:
    1) Open SAP GUI --- tcode /nSXMB_ADM ---> Integration Engine Configuration ..... you will see the port here.... so if it is 8001 you need to use 8001 in the above URL.....
    2) RWB --> Component Monitoring --> Integration Engine --> Test Message .....you can again see the port over here....
    If i am not wrong 5XX00 is supposed to be used (mandatory) from PI7.1 onwards.....
    Please tell me what is the meaning of "+" sign, and why it is not comming in the regeneration of the WSDL.
    absolutely no idea :(.........but never saw a wsdl format with "+" sign in it.....
    please correct me for any incorrect information given by me
    Regards,
    Abhishek.

  • Unable to make UDDI Registry connection from Jdeveloper 11g

    Hi all,
    I am getting the below error while trying to connect to UDDI registry inquiry end point from Jdeveloper 11g.
    Testing connection with proxy proxy.tcs.com:8080...
    Contacting http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/...
    The inquiry endpoint could not be contacted. Test failed.
    Unsupported response content type &quot;text/html&quot;, must starts with &quot;text/xml&quot;. Response was:
    &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Error Message&lt;/TITLE&gt;
    &lt;META http-equiv=Content-Type content=&quot;text/html; charset=UTF-8&quot;&gt;
    &lt;STYLE id=L_10060_1&gt;A {
         FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #005a80; FONT-FAMILY: tahoma
    A:hover {
         FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #0d3372; FONT-FAMILY: tahoma
    TD {
         FONT-SIZE: 8pt; FONT-FAMILY: tahoma
    TD.titleBorder {
         BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 0px solid; COLOR: #955319; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-ALIGN: left
    TD.titleBorder_x {
         BORDER-RIGHT: #955319 0px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE: 12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 1px solid; COLOR: #978c79; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-ALIGN: left
    .TitleDescription {
         FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: tahoma
    SPAN.explain {
         FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225
    SPAN.TryThings {
         FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225
    .TryList {
         MARGIN-TOP: 5px; FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: tahoma
    .X {
         BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12pt; BORDER-LEFT: #955319 1px solid; COLOR: #7b3807; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: verdana; BACKGROUND-COLOR: #d1c2b4
    .adminList {
         MARGIN-TOP: 2px
    &lt;/STYLE&gt;
    &lt;META content=&quot;MSHTML 6.00.2800.1170&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
    &lt;BODY bgColor=#f3f3ed&gt;
    &lt;TABLE cellSpacing=0 cellPadding=0 width=&quot;100%&quot;&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD class=titleborder_x width=30&gt;
    &lt;TABLE height=25 cellSpacing=2 cellPadding=0 width=25 bgColor=black&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD class=x vAlign=center align=middle&gt;X&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;/TD&gt;
    &lt;TD class=titleBorder id=L_10060_2&gt;Network Access Message:&lt;SPAN class=TitleDescription&gt; The page cannot be displayed&lt;/SPAN&gt; &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;TABLE id=spacer&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD height=10&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
    &lt;TABLE width=400&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD noWrap width=25&gt;&lt;/TD&gt;
    &lt;TD width=400&gt;&lt;SPAN class=explain&gt;&lt;ID id=L_10060_3&gt;&lt;B&gt;Explanation:&lt;/B&gt;&lt;/ID&gt;&lt;/SPAN&gt;&lt;ID id=L_10060_4&gt; The request timed out before the page could be retrieved. &lt;/ID&gt;&lt;BR&gt;&lt;BR&gt;
    &lt;B&gt;&lt;SPAN class=tryThings&gt;&lt;ID id=L_10060_5&gt;&lt;B&gt;Try the following:&lt;/B&gt;&lt;/ID&gt;&lt;/SPAN&gt;&lt;/B&gt;
    &lt;UL class=TryList&gt;
    &lt;LI id=L_10060_6&gt;&lt;B&gt;Refresh page:&lt;/B&gt; Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
    &lt;LI id=L_10060_7&gt;&lt;B&gt;Check spelling:&lt;/B&gt; Check that you typed the Web page address correctly. The address may have been mistyped.
    &lt;LI id=L_10060_8&gt;&lt;B&gt;Contact website:&lt;/B&gt; You may want to contact the website administrator to make sure the Web page still exists. You can do this by using the e-mail address or phone number listed on the website home page.
    &lt;/UL&gt;
    &lt;ID id=L_10060_9&gt;If you are still not able to view the requested page, try contacting your administrator or Helpdesk.&lt;/ID&gt; &lt;BR&gt;&lt;BR&gt;
    &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;TABLE id=spacer&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height=15&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
    &lt;TABLE width=400&gt;
    &lt;TBODY&gt;
    &lt;TR&gt;
    &lt;TD noWrap width=25&gt;&lt;/TD&gt;
    &lt;TD width=400 id=L_10060_10&gt;&lt;B&gt;Technical Information (for support personnel)&lt;/B&gt;
    &lt;UL class=adminList&gt;
    &lt;LI id=L_10060_11&gt;Error Code 10060: Connection timeout
    &lt;LI id=L_10060_12&gt;Background: The gateway could not receive a timely response from the website you are trying to access. This might indicate that the network is congested, or that the website is experiencing technical difficulties.
    &lt;LI id=L_10060_13&gt;Date: 8/11/2011 6:03:20 AM [GMT]
    &lt;LI id=L_10060_14&gt;Server: INCHNSIRCEL01.India.TCS.com
    &lt;LI id=L_10060_15&gt;Source: Firewall
    &lt;/UL&gt;
    &lt;/TD&gt;
    &lt;/TR&gt;
    &lt;/TBODY&gt;
    &lt;/TABLE&gt;
    &lt;/BODY&gt;
    &lt;/HTML&gt;
    I am getting the below page while trying to open the endpoint from browser.
    *<definitions name="UDDI_API_V3" targetNamespace="urn:uddi-org:api_v3generated/">*
    *<import namespace="urn:uddi-org:api_v3" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/3.0/wsdl"/>*
    *<import namespace="urn:uddi-org:inquiry" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/1.0/wsdl"/>*
    *<import namespace="urn:uddi-org:api_v2" location="http://01HW324617.India.TCS.com:7101/registry/uddi/inquiry/2.0/wsdl"/>*
    *</definitions>*
    Please help me in fixing the above issue.
    Regds,
    Harini

    Hi,
    See this.
    <LI id=L_10060_11>Error Code 10060: Connection timeout
    <LI id=L_10060_12>Background: The gateway could not receive a timely response from the website you are trying to access. This might indicate that the network is congested, or that the website is experiencing technical difficulties.
    <LI id=L_10060_13>Date: 8/11/2011 6:03:20 AM [GMT]
    <LI id=L_10060_14>Server: INCHNSIRCEL01.India.TCS.com
    <LI id=L_10060_15>Source: Firewall
    It means that you are testing the service from behind the proxy. Try adding the hostname, 127.0.0.1, localhost etc to the exception list and see if it helps.
    -Arun

  • JDeveloper 11g/Weblogic Webservices: Is there a test page like OC4J?

    Hi All,
    I am using JDevelope r 11.1.2.2.0.
    I have begun the process of going from a JDeveloper 10/OC4J environment, to a JDeveloper 11g/Weblogic environment.
    My initial steps to migrate the code (mainly webservices) was to go through a process of generating the web services from the WSDL and the dependent schemas.
    I also refactored the previous web service implementation to make it better to Unit test etc, and seperate it out from the generated stubs, as it's always a pain to regenerate the stubs.
    However, this seems fine, the unit tests run fine, but when I come to deploy the the integrated weblogic server I run across a problem.
    Well, not a problem as such, but in the OC4J world, you used a get a nice HTML generated page at the end point, with this you could paste XML in and submit them to the web service.
    However this isn't the case in what I have produced. I am not sure what actually generated it previously, if it was jdev 10 or oc4j or something else?
    Is this the intention on weblogic, or am i doing something wrong? I only get a very basic web page with a link to the WSDL ant nothing much else.
    I have been banging my head against a wall for a day or so with this, and any help appreciated, it would be really useful to get that test page up.
    Thanks
    Norm
    Edited by: user2631187 on 14-Jun-2012 06:24

    Additionally, there seems to be an issue with the bindings in the WSDL (see below)
    We have 2 bindings and there seems only one servlet mapping in the web.xml, where in Jdeveloper 10 there were 2.
    Does anyone know why this is ?
    *<binding name="EToNSoap12" type="tns:EToNSoap">*
    *<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>*
    *<operation name="EToNrequest">*
    *<soap12:operation style="document" soapAction="http://www.******/Schemas/ETON/EToNrequest"*
    soapActionRequired="false"/>
    *<input>*
    *<soap12:body use="literal"/>*
    *</input>*
    *<output>*
    *<soap12:body use="literal"/>*
    *</output>*
    *</operation>*
    *<operation name="EToNping">*
    *<soap12:operation style="document" soapAction="http://www******/Schemas/ETON/EToNping" soapActionRequired="false"/>*
    *<input>*
    *<soap12:body use="literal"/>*
    *</input>*
    *<output>*
    *<soap12:body use="literal"/>*
    *</output>*
    *</operation>*
    *</binding>*
    *<binding name="EToNSoap" type="tns:EToNSoap">*
    *<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>*
    *<operation name="EToNrequest">*
    *<soap:operation style="document" soapAction="******Schemas/ETON/EToNrequest"/>*
    *<input>*
    *<soap:body use="literal"/>*
    *</input>*
    *<output>*
    *<soap:body use="literal"/>*
    *</output>*
    *</operation>*
    *<operation name="EToNping">*
    *<soap:operation style="document" soapAction="http://www.****/Schemas/ETON/EToNping"/>*
    *<input>*
    *<soap:body use="literal"/>*
    *</input>*
    *<output>*
    *<soap:body use="literal"/>*
    *</output>*
    *</operation>*
    *</binding>*

Maybe you are looking for

  • Looking for a Specific product

    Hello, I am looking for a specific Desktop PC. Similar to M73 ThinkCenter in size, but needs to have 3-4x HDMI inputs. This computer will run digital menus for restaurants/coffeeshops 24/7. The M73 has display ports but we are looking to move away fr

  • Replicat an epoch date to a date column

    I have a source table that has a number column that stores an epoch date that needs to be copied to a target table as an actual date/timestamp. I would like to have GoldenGate do the actual conversion in the map statement of my replicat using the DAT

  • How do I get to see all my events on my MacOS X Calendar but not let anyone I share with see every event?

    In iPad's Calendar application when I select "Calendars" it shows a list of all my email accounts and allows me to assign any event to any email account not just iCloud. How do I get the MacOS X Calendar to do the same? I share my MacOS X Calendar wi

  • Do I need to delete my photo,s once I have downloaded them on to my computer?

    do i need to delete my photo,s from my iphone after saving on to a computer? will this create space?

  • Proportionate Consolidation

    Hi, I am using BPC for financial consolidation and I need to do proportionate consolidation for one entity, say Entity J.  What this means is that Entity J is owned 50% by the parent.  During the consolidation process, Entity J will upload its full t