Importing WebService class into Forms10g

Hi ,
I want to import webservice from Jdeveloper in Forms10g.I am using Jdeveloper 10.1.3.4 complaint with JDK 1.4. When I import the class in Forms10g from Jdeveloper it gave me error:
Importing Class Proxy.classes.oracle.srtutorial.datamodel.proxy.SendServiceSoapClient...
Exception occurred: java.lang.UnsupportedClassVersionError: Proxy/classes/oracle/srtutorial/datamodel/proxy/SendServiceSoapClient (Unsupported major.minor version 49.0)
I figured out that this error is due to different versions of JDK used in Oracle Forms10g(JDK 1.3) and Jdeveloper 10.1.3.4(JDK 1.4). So I changed the compile properties in Jdev to 1.3.
After changing this to 1.3 when I import the class the previous error is resolved but I get another error :
Importing Class Proxy.classes.oracle.srtutorial.datamodel.proxy.SendServiceSoapClient...
Exception occurred: java.lang.NoClassDefFoundError: Proxy/classes/oracle/srtutorial/datamodel/proxy/SendServiceSoapClient (wrong name: oracle/srtutorial/datamodel/proxy/SendServiceSoapClient)
Please help how to resolve this.
Regards,
Noman
Edited by: user773433 on Aug 11, 2009 4:33 AM

Hi,
I have tried. The problem is when I make the JAR file in Jdeveloper and Change the class path in Windows. The Jar doesnt shows up in Formgs10g when we import the class. I have tried several times by adding the path of JAR file in windows environment but still it doesnt shows up..
Regards,
Edited by: user773433 on Aug 12, 2009 10:54 AM

Similar Messages

  • Error while importing java class into oracle forms 10g

    Hi
    I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
    Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    Thanks in advance

    Do you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
    If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
    Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub

  • Importing development class into SAP from out site

    Hi Guys,
    I am integrating SAP-GIS Using Smallworld business integrator 4 for SAP.
    In the doumentaion they asked to import
    K900363.DEV
    D900363.DEV
    R900363.DEV
    into SAP from SBI4 with TR
    All development classes are located in one single transport request:
    DEVK900363.
    can any body tell me what is the procedure to do in SAP.
    how to import into SAP Development class?
    thanks in advance.
    rgdasari

    Dear Prasada,
      The document what we got with SBI4(integrator for SAP and Smallworld)is giving below. full description giving below.I am a ABAP with BAPI Consultant.I don't have BASIS knowledge.if possible pls send me in detail where we need to which TRCOD we need import those .dev files and how to create ne Dev clall with Given TR requerst..ect..
    Importing the Business Integrator source files You import the Business Integrator sources for SAP as transport files. To transport development objects from one SAP system to another, you create a Request. Different kinds of requests exist. Change Requests usually transport
    changes from one known system into another in a known Target Transport Layer. This is the usual method in an SAP environment in which you have a development system, a quality system and a production system. For the Business Integrator SAP sources, Transport of Copies is used. All objects from the Business Integrator are included in the development classes ZPLUG, ZPL_DDIC, and ZPLUG_EXT. They are packed in one single transport file. Ask your SAP system administrator to import the files into the SAP environment.When you import copies into different systems, in the development class, the properties TRANSPORTLAYER and HOMESYSTEM do not change. You must change them manually using transaction SE03 (Transport Organiser Tools). Select CHANGE OBJECT CATALOG ENTRIES and select R3TR DEVC xxx (xxx stands for the development class, for example, ZPLUG). Press F8 to change the TransportLayer, the owner, and the home system of the development class. Repeat this for all three
    development classes (ZPLUG, ZPL_DDIC and ZPLUG_EXT).

  • How to import outer classes into package inner classes?

    Hi, hope you all under stand my question. Sample as below:
    import A.*;
    public class ClassA{
        public ClassA{
            ClassB.CA = this;
    package A;
    public class ClassB{
         public static ClassA CA;  //Problem Here
    }As the sample above, i cannot declare public static ClassA CA in ClassB. Any way I can solve this? Can I import ClassA into package A? Thanks.
    Edited by: ocboon8 on Apr 6, 2008 6:50 AM

    A class that is in a package cannot access a class that is not in a package.
    db

  • Importing java classes into jsp page

    I'm trying to import java classes inside my jsp page, while doing that i am getting compilation error "package uma.natarajan.javaclasses" not found. I don't know where to copy the java files. i'm keeping my jsp files under public_html folder
              

    Hi uma,
              create uma\natarajan\javaclasses under weblogic_home\myserver and copy java
              classes(u want to import) to uma\natarajan\javaclasses and then u try.
              Concept is the java classes u import should be present in a classpath. Hope
              this may help u,
              Arun,
              [email protected]
              "uma natarajan" <[email protected]> wrote in message
              news:3a490bcb$[email protected]..
              > I'm trying to import java classes inside my jsp page, while doing that i
              am getting compilation error "package uma.natarajan.javaclasses" not found.
              I don't know where to copy the java files. i'm keeping my jsp files under
              public_html folder
              

  • Importing Custom Classes into a JSP page

    Hello,
    I have created custom package com.srjgroup.report. It sits in C:\workspace\src\com\srjgroup\report directory. I have java files as well as compiled classes there. No jar files there.
    did amend classpath to point to this directory.
    In my JSP page I have the import statement as following
    import="java.sql.*, java.util.*, java.text.SimpleDateFormat, com.srjgroup.report.*"It imports all the packages without any errors. However, when I try to use one of the classes in the package, I get error
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 3 in the jsp file: /SQLServer.jsp
    Generated servlet error:
    SRJReports cannot be resolved to a type
    SRJReports is one of the classes that I am trying to use in that package. When I comment out all references to the class, everything is fine.
    So, to fix this I moved the entire package to
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\WEB-INF\lib direcory, preserving the hierarhy. So, now my custom package is located here:
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\WEB-INF\lib\com\srjgroup\report again there are no jar files, only java and classes here. Still, no go.
    What am I doing wrong ?

    Put the class in
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\ROOT\WEB-INF\classes\com\srjgroup\report
    One more thing, there is no subdirectory in lib directory. You may look at the example within tomcat for reference. I start from there.

  • Error when importing fileuploader class into forms 9.0.4

    Hi all,
    I have a problem when I try to import the fileuploader class that is included with the oracle forms demos. I get the following message:
    Importing Class oracle.forms.demos.uploadclient.FileUploader...
    ...exception: java.lang.NoClassDefFoundError: oracle/forms/ui/VBean
    How I specify the environment variable CLASSPATH so the class can be imported?.

    Hi,
    make sure that the f90all.jar file in the forms90/java directory is referenced in the Forms90_Builder_Classpath registry variable before starting the Forms Developer
    Frank

  • Can't import class into JSP

    Hi,
    I am trying to import a class into my JSP and am getting the following error at runtime:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    [javac] D:\jwsdp-1.2\work\Catalina\localhost\pe\org\apache\jsp\guestbook_jsp.java:7: '.' expected
    [javac] import MessageGetter;
    My import statement in the JSP is simply:
    <%@ page import="MessageGetter" %>
    and I am placing the class in the WEB-INF/classes directory. This is stumping me - if you've come across this or a similar problem, please let me know. Thanks.
    P

    Try posting your question in the JSP forum (http://forum.java.sun.com/forum.jsp?forum=45)
    cheers,
    Mike

  • How to import classes into labview project?

    Hi everyone 
    I start objected oriented program with labview, I have two sample project and I want to import their classes into my new project? is it possible to do that ? how can I import them ?
    thanks 

    You can simply add them like you would any other VI or library. I would recommend creating a virtual folder for your classes so you can keep your project organized.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Forms 10.1.2 - Imported Java Classes are not running on JNI.NEW_OBJECT call

    Hi All,
    I've created a java class to call a webservice. This has been developed and tested in JDeveloper and works ok (using JDev Wizards - so it's generated code). I've created the JAR from it, imported the classes into Forms Builder and have my package and imported the java exception_ class too.
    So, everything compiles and looks good. When I run the application I can see in the console that my JAR is included in the loaded list. When I call the class (basing my code on the Forms Webservice example here on OTN) it doesn't work. I get the error ORA-6503 - function returns no value.
    I can step through the code in debug and it's in the generated constructor "new" function when the JNI.NEW_OBJECT is executed. I can't see into that so I'm a bit stuck ... I don't whether it's my java that is now failing or the system is failing to call it :
      FUNCTION new(
        a0    VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
      BEGIN
        args := JNI.CREATE_ARG_LIST(1);
        JNI.ADD_STRING_ARG(args, a0);
        RETURN (JNI.NEW_OBJECT('oracle/forms/atrium/wsexport/proxy/AtriumExportWSSoapHttpPortClient', '(Ljava/lang/String;)V', args));
      END;Has anyone any experience or pointers for me ?
    Are there any extra JAR files I need to include in the CLASSPATH ?
    Forms Builder is 10.1.2.0.2, the Application Server is 10.1.2.3 and it JDeveloper 10 compiling Java 1.4. All on a Windows platform.
    TIA
    Steve

    Not sure if this is exact the document you are searching for, but this one works for me:
    http://www.oracle.com/technetwork/developer-tools/forms/webservices-forms-11g-094111.html
    It's for 11g, but I don't think there is much difference to 10g.
    Did you add your Jar file also to the classpath in the environment file of your webconfig?
    cheers
    Edit: too slow somehow -.- heading for a cup of black coffee
    Edited by: christian erlinger on 03.09.2010 01:18

  • Importing Java class problem!

    Hello
    I have problem by Importing java class into form. When I select in Forms Builder from menu: Programs/Import Java Classes it returns error: PDE-UJI001 JVM not able to create!
    Can someone know what I must do to fix that problem?
    Thanks, Chrity

    It is a shame because it, probably, contains no special 1.5 new instruction at all.
    Maybe it would be possible to try replacing the current JDK/JRE of your <ORACLE_HOME>/jdk installation after a safe backup of course.
    You probably have a very little chance that it works, and it also won't be supported.
    Francois

  • Classpath problems when importing my classes

    I'm using a tutorial with sample programs dealing with bank accounts.
    I get this error:
    InterestBearingAccount.java [9:1] '.' expected
    import Account;
    ^
    1 error
    Errors compiling InterestBearingAccount.
    The Account class already exists in the current directory. I've tried everything as far as setting the classpath variable (nothing, just a period, period & slash, the actual complete path for the current directory, nothing works!!!!!). I also tried using -classpath (.) and the end of my javac command and that seemed to not work at all.
    The Java Coffee Break tutorial have some already compiled (*.class) files and they run fine. My *.java files are identical. In fact, I cut and pasted them so I know it's not a typo.
    My path is set to include the jdk1.4.0\bin directory and I've only begun to have problems now that I need to import existing classes into the programs.
    I should mention that I get the same error using Forte environment or doing it at the command prompt window. Please help.

    Thanks ATMGUY. I commented out the import statements in both InterestBearingAccount and AccountDemo and it worked fine. I guess the author of that tutorial was obviously not working with jdk 1.4.
    As far as using packages, com.kusek.bank would make a good package name then??
    The statement:
    package com.kusek.bank; OR a shorter version package kusek.bank;
    should be added to all three classes and no import statements would then be necessary, right??
    I just remember reading that it should be something unique as a good habit to get into.
    I'm trying to learn enough to make a useful GUI program for a special project so I probably should be using packages anyway when I get to that point.
    My programming backround is limited to procredural languages Basic, QBasic, Pascal, and Fortran and I find myself still wanting to think in those terms. I have read several web sites and worked through some basic examples but I still have much to learn. I once I can grasp how to write OOP style it would be nice to look at code for a somewhat detailed application (like a store checkout app) and have every line explained as to why it's there. I can see where it makes sense to have your GUI classes predefined (Swing), File I/O, serial port communications, and even things like this InterestBearingAccount example that extends from the Account class utilizing its basic attributes but overriding the constructors for the additional parameters (interest calculation) that are passed. How to take a common problem and go about creating a solution is what I need to see being done to help me.
    My telemetry project uses VHF radios with packet radio modems to monitor two diesel engines and turn one off if the other turns off. The modems have built in A/D data gathering and can also output control signals, they just need to be told what to do. I can manually use a Windows Hyperterminal session and type in "connect Engine1" and use commands to determine the A/D inputs "analog". The modems have built in end-to-end acknowledgement so the only think I need is an application than can be setup to run in the Startup folder to handle this. It would use a timer class to "poll" engine1 every 5-10 minutes and if it has stopped (based on the response of the "analog" command) I would "disconnect" from engine1 and "connect" to engine2 and send a "ctrl B off" or something similar. The standard responses from the modem should allow me just to send and recieve STRING data to and from the serial port and parse them as needed. I need at least this much but it shouldn't be too much harder to develop a way to reset the system(reverse of this) when that is required. I could also read a water pressure value at one of the locations and display that on the screen along with the current status of the engines (using values obtained from the "analog" command on the modems).
    The hardest part of OOP programming seems to be knowing what classes are already out there and knowing how to find them or apply them. I hope Swing has classes that provide for displaying values on the Windows taskbar (my motherboard monitor freeware displays temperature readings down on the taskbar). I appreciate all the help given here. It's almost like having a private tutor.
    randy

  • How to import a class in 10g

    I have a jar file and wanted to import the class into pl/sql
    I have saved the jar file in c:\ora10g\forms\java and have this path to my classpath in default.env file when i tried to import the class . I got an error
    Importing Class C:\ora10g\forms\java\XXX.jar...
    Exception occurred: java.lang.ClassNotFoundException: C:\ora10g\forms\java\XXX/jar
    Can anyone help me how to set the classpath correctly.

    The path to the jar file (including the jar file name and extension) must be added to the FORMS_BUILDER_CLASSPATH registry variable for the import step. For runtime you need to have it in the default.env.

  • PDE-UJ1001, while trying to import java classes.

    Hi,
    When I try to import java classes into forms using the java
    importer, I get an error stating PDE-UJ1001-Failed to create
    JVM. I tried installing a patch in Developer 2000(Path 4a). But
    still it doesnt work. Could anybody guide me in this?
    Thanks,
    Karthick.

    am getting similar error - my dba has suggested that oracle developer uses the jvm from ie4 but i'm sure that cant be true as i thought the jvm was built in.
    could somebody out there clarify this or inform me whats missing..
    error
    from dev 6i forms builder (6.0.8.11.3) on 8i (8.1.7.2.0) when trying to select option 'import java classes' from program menu returns error 'PDE-UJ1001 Failed to create the JVM.'
    regards and thanks in anticipation....
    vin ferguson

  • Import other class from other class file

    let say, i got class student in the file name "student.class".
    my main program is school.class.
    how to import student.class into school.class so i can use student class.?
    what is the directory i had to store the 2 file?

    School.java:
    class School {
        Student a, b, c;
        public static void main(String[] args) {
            a = new Student("fred","foobar");
            b = new Student("fred","barbaz");
            c = new Student("fred","bazqux");
            System.out.println("Student a is "+a.name+" "+a.surname);
            System.out.println("Student b is "+b.name+" "+b.surname);
            System.out.println("Student c is "+c.name+" "+c.surname);
    class Student {
        String name, surname;
        public Student(String nam, String sur) {
            name = name;
            surname = sur;
    }

Maybe you are looking for

  • How to extract elements from a document

    I'm new to Java and I'm using JDOM in a JSP page. I've a document like this: <OFFERTA> <FACOLTA idFacolta="F1"> <CORSO value="xxx"/> <CORSO value="yyy"/> </FACOLTA> <FACOLTA idFacolta="F2"> <CORSO value="zzz"/> </FACOLTA> <FACOLTA idFacolta="F3"> </F

  • How to import existing eclipse Project to JDeveloper

    Hi,      previously I used to use Eclipse IDE. I have started to use Oracle JDeveloper 11.1.2.4.0 now. How can I import my existing Eclipse projects to JDeveloper? Please Note, I already have tried following options - "Importing Existing Files into a

  • Hacked account, email address changed

    My email was changed without my permission. I changed my password but would like further assistance. Please help!

  • How come my ATV2 causes my internet to crash?

    Anytime I go on to my ATV2 and start watching a movie, streaming music to it, or whatever, after a little while my internet goes down and none of the computers on my WIFI can use the internet until I reset my router(aka unplug it and plug it back in)

  • Testing a SOAP adapter

    Hello friends I want to play with SOAP adapter. I have a basic question. For File adapter I can put a file in a director in the XML or Comma delemeted format and point to that location in ID (Configuration Side). In case of SOAP, which is the best wa