Problem creating webservice in Oracle 9i OSE

I have been trying to configure a webservice for the OSE in a JSP development plan, but I keep getting this error:
java.sql.SQLException: ORA-29540: class oracle/aurora/namespace/shell/sql/ShellStoredProc does not exist
ORA-06512: at "SYSTEM.DBMS_NAMESPACE", line 0
ORA-06512: at line 1
in the sess_sh environment after issuing the createwebservice command, as suggested by the documentation.
I would appreciate any help I can get either to explain this or suggest a work around.
Regards,
Segun

If the import is 'Terminated with Warnings' then something must be wrong (i.e. tablespaces not created), the log files must be showing an error of some kind, if not you have a bug that should be reported.

Similar Messages

  • Problem calling WebService from Oracle Forms created by JDeveloper

    Hi All,
    I am trying to call a Webservice from Oracle Form using JAVA Class created by Oracle JDeveloper.
    The Java Function (in JDeveloper) is as follows:
    public Vector GetPIValue(String TagName, String ReadingTime) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    requestBodyEntries.addElement(TagName);
    requestBodyEntries.addElement(ReadingTime);
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.send(endpointURL, "http://tempuri.org/GetPIValue", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    return responseBody.getBodyEntries();
    When this Class is Imported into Oracle Forms the Function is converted into the following PL/SQL code:
    FUNCTION GetPIValue(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    Message('param passed: '||a0||' - '||a1);
    cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPIStub');
    mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    Message('I am Here');
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;
    When I am calling this Function from Within Forms and Passing into it the Parameters, I am displaying some Debugging Messages. When the Code reaches "JNI.CALL_OBJECT_METHOD" there is NO RESPONSE from the Webservice and nothing is moving forward after this Point...
    A similar Webservice that can be Tested is:
    http://www.webservicex.com/CurrencyConvertor.asmx
    with WSDL file:
    http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
    Kindly note that this Webservice is running properly from the Web Browser but the call from Oracle Forms is not Succeeding!!!! :-((
    Any help is much appreciated.
    Regards,
    Baz

    Hi,
    Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
    Other solution would be to use JRE 1.5 (instead of JInitiator).
    Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
    -Arun

  • Problem creating webservice from existing code in sjse8

    I have a java class with three methods in an enterprise app (no ejbs) that I want to expose with webservice. In sudio5 I had no problem with webservice creation but in studio8 when I chose "From scratch, Use existing code", it gives me the opting to go to my class and select those methods. When I click finish, it generates an Implementation class that has declaration for my java class repeated 3 times which is obviously wrong and under it says:
    // Enter web service operations here. (Popup menu: Web Service->Add Operation)
    The class is empty.
    I choose "rpcliteral", "strict", "useonewayoperations" and "donotoverride" under web module property / webservice.
    And as you can guess it generates a wsdl file with no webservice methods info.
    I have and am checking all forums and searching different sites but haven't fond anything yet.
    I appreciate any help resolving this issue.

    Seems this feature doesn't work properly in jse and completely removed from latest nb55 enterprise pack (only session enterprise bean case remain)

  • Creating Webservice in Oracle10g

    Hi Friends,
    I m completely new in webservices...
    I m given task to create webservice in oracle pl/sql..
    I know you can create ur procedure ,incorporate it in package and then use that package in Jdeveloper to create and publish a webservice..but here we r not allowed to use jdeveloper..... I need to strictly use PL/SQL.. for creating a web service..
    If poss if you can give me 1 simple example of creating web service..
    or any useful link for creating web service through PL/SQL...
    Thanks in advance friends..

    Helllo Toon,
    Is it possible in oracle database 10g..
    Because v have 10g r1 @our client side..
    also Regarding oracle 11g...
    I m not able to understand..as per the link provided...do have any simplified language for that if possible...

  • Problem creating Network ACL for a ROLE in Oracle 11gR2

    According to Oracle Documentation when you create a new Network ACL you can add privileges to a user or role.  I need to create a new ACL for the UTL_SMTP package for a specific role, but when I granted it the users who have that role are still getting the "ORA-24247: network access denied by access control list (ACL)" error when they try to send an email.  If I grant the ACL privilege to the same users directly it works fine.  Is there any step I'm missing?  This is the test I have made on my Solaris 10 - Oracle 11gR2 (11.2.0.3) Standard Edition server:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 09:31:52 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> SET LINES 1000
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> COLUMN host FORMAT A20
    SQL> COLUMN lower_port FORMAT 99999
    SQL> COLUMN upper_port FORMAT 99999
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN acl FORMAT A40
    SQL> COLUMN principal FORMAT A15
    SQL> COLUMN privilege FORMAT A10
    SQL> COLUMN is_grant FORMAT A8
    SQL> COLUMN status FORMAT A10
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    no rows selected
    SQL> CREATE USER testacl IDENTIFIED BY testacl;
    User created.
    SQL> GRANT CONNECT TO testacl;
    Grant succeeded.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL         connect    true
    After creating this ACL I test it like this:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    HOST                 LOWER_PORT UPPER_PORT PRIVILEGE  STATUS
    localhost                    25         25 connect    GRANTED
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    PL/SQL procedure successfully completed.
    SQL>
    This works fine and I receive the email correctly.  Now if I try to do the same thing for a role:
    SQL> CONNECT system/******@testdb
    Connected.
    SQL> BEGIN
      2     dbms_network_acl_admin.drop_acl('test_smtp.xml');
      3     commit;
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    no rows selected
    SQL> CREATE ROLE testacl_role;
    Role created.
    SQL> GRANT testacl_role TO testacl;
    Grant succeeded.
    SQL> ALTER USER testacl DEFAULT ROLE ALL;
    User altered.
    SQL>
    SQL> BEGIN
      2     dbms_network_acl_admin.create_acl('test_smtp.xml','TEST SMTP ACL','TESTACL_ROLE',true,'connect');
      3     dbms_network_acl_admin.assign_acl('test_smtp.xml','localhost',25);
      4     commit;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SQL> SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
    HOST                 LOWER_PORT UPPER_PORT ACL
    localhost                    25         25 /sys/acls/test_smtp.xml
    SQL> SELECT acl,principal,privilege,is_grant FROM dba_network_acl_privileges;
    ACL                                      PRINCIPAL       PRIVILEGE  IS_GRANT
    /sys/acls/test_smtp.xml                  TESTACL_ROLE    connect    true
    SQL>
    And now I test it again with the same user:
    SQL> CONNECT testacl/testacl@testdb
    Connected.
    SQL>
    SQL> SELECT host, lower_port, upper_port, privilege, status FROM user_network_acl_privileges;
    no rows selected
    SQL> DECLARE
      2     c utl_smtp.connection;
      3  BEGIN
      4     c := utl_smtp.open_connection('localhost', 25); -- SMTP on port 25
      5     utl_smtp.helo(c, 'localhost');
      6     utl_smtp.mail(c, 'Oracle11.2');
      7     utl_smtp.rcpt(c, '[email protected]');
      8     utl_smtp.data(c,'From: Oracle'||utl_tcp.crlf||'To: [email protected]'||utl_tcp.crlf||'Subject: UTL_SMTP TEST'||utl_tcp.crlf||'');
      9     utl_smtp.quit(c);
    10  END;
    11  /
    DECLARE
    ERROR at line 1:
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 4
    SQL>
    I'm aware that role privileges doesn't apply inside procedures, functions or packages by default, but this is an anonymous block so it should use the active roles for the user.  I also tried adding a "dbms_session.set_role('TESTACL_ROLE');" at the beggining of the anonymous PL/SQL block but I got the same access error.
    Thanks in advance for any help you can give to me on this question, it would be very hard to grant the ACL to all the individual users as they are more than 1000, and we create more regularly.

    Thanks for your quick reply... I don't have a problem creating the basic ACL with the privileges granted for a user.  The problem appears when I try to create an ACL with privileges for a ROLE.  You can see here http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_networkacl_adm.htm#BABIGEGG than the official Oracle documentation states that you can assign the ACL principal to be a user or role:
    Parameter
    Description
    acl
    Name of the ACL. Relative path will be relative to "/sys/acls".
    description
    Description attribute in the ACL
    principal
    Principal (database user or role) to whom the privilege is granted or denied. Case sensitive.
    My issue is that when I try to create the ACL for a role it doesn't work.
    Have you ever created an ACL for a role? if so please send me an example or let me know which step I might be missing.  Cheers.

  • Problem faced while creating database in oracle 10g

    SQL> get C:\Oracle_Docs\ex\dbcreation_script\DBCREATIONSCRIPT
    1 create database db_test
    2 logfile group 1 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO01.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO02.rdo') size 100 m,
    3 group 2 ('C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO03.rdo','C:\oracle\product\10.1.0\oradata\orcl\testdb\REDO04.rdo') size 100 m
    4 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\system01.dbf' size 32m
    5 SYSAUX DATAFILE 'C:\oracle\product\10.1.0\oradata\orcl\testdb\SYSAUX.DBF' SIZE 325M
    6 undo tablespace testundotbs
    7 datafile 'C:\oracle\product\10.1.0\oradata\orcl\testdb\undo01.dbf' size 40 m
    8 default temporary tablespace test_temptbls
    9 tempfile 'C:\oracledb\testdb\tempo1.dbf' size 40 m
    10 character set WE8MSWIN1252
    11* national character set AL16UTF16
    12 /
    create database db_test
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'DB_TEST' does not match parameter db_name 'orcl'
    create spfile = 'C:\oracle\product\10.1.0\db_1\database\spfiledb_test.ora' from pfile = 'C:\oracle\product\10.1.0\admin\orcl\pfile\init.ora'
    ERROR at line 1:
    ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file
    'C:\ORACLE\PRODUCT\10.1.0\ADMIN\ORCL\PFILE\INIT.ORA'
    Message was edited by:
    user525645

    i have the init file which contains my database name.i have tries asking one sir regarding this. he checked out my problem but couldnt get the solution.he told he'll check it out and tell...he 's telling ther is 25% chance in installation problem.
    my init.ora file
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=db_test
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\product\10.1.0\admin\orcl\bdump
    core_dump_dest=C:\oracle\product\10.1.0\admin\orcl\cdump
    user_dump_dest=C:\oracle\product\10.1.0\admin\orcl\udump
    # File Configuration
    control_files=("C:\oracle\product\10.1.0\oradata\orcl\testdb\control01.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control02.ctl", "C:\oracle\product\10.1.0\oradata\orcl\testdb\control03.ctl")
    db_recovery_file_dest=C:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    Message was edited by:
    user525645

  • Special characters vanish when passed to webservice on Oracle AS 10gR2

    I've created a rpc webservice with an "echo" method. It has a single String parameter and simply returns this parameter. I've been using JDeveloper 10.1.2 and deployed this webservice onto OAS 10gR2 (10.1.2). To access it in client application I used proxy generated by JDeveloper. Problem appears when I pass the value containing special characters like < or >. Echo method receives this value without these characters. So client sends something like <hello> and webservice sends back hello instead of <hello>. I've tried to replace < and > with '& lt;' and '& gt;' but then & character is lost. So from '& lt;hello& gt;' client receives lt;hellogt;.
    This problem doesn't appear when I deploy webservice to Oracle AS 9.0.4 so I suspect it has something to do with AS configuration.
    I would appreciate any help.

    take a look at
    http://www.oracle.com/technology/products/ias/portal/html/javadoc/xml_tag_reference_v2.html
    and look for <escapeOutput> parameter - "Controls whether control characters in the response from the web service (such as '<' and '&') are escaped in the portlet response so that they display in HTML" - the default value is on, meaning special characters are escaped - this parameter applies only to Oracle Portal, but maybe there is a similiar parameter for AS

  • ProcessRemoteException when invoke  webservice from Oracle E-Business Suite

    Hi,when i invoke webservice from Oracle E-Business Suite R12.1 – Integrated SOA Gateway’s
    I get following exception.
    fuego.soaptype.SoapExecutionException
    at fuego.soaptype.SoapCall.processRemoteException(SoapCall.java\:750)
    at fuego.soaptype.SoapCall.invoke(SoapCall.java:238)
    at fuego.soaptype.SoapObject.invoke(SoapObject.java:309)
    at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
    at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
    at xobject.Fuego__AutoGen__Screenflows__.__SubmitReport.initializeReport(__SubmitReport.xcdl:30)
    at.......
    this webserivce has been deployed and granted. and I can test it with soapUI.
    my code:
    configuration as Configuration = Configuration("FND_PROGRAM_Service");
    endpoint as HttpEndpoint=HttpEndpoint("http://ep066020.bscdev.net:8002/webservices/SOAProvider/plsql/fnd_program/");
    endpoint.setUsername("sysadmin");
    endpoint.setPassword("sysadmin");
    configuration.endpoint = endpoint;
    usernameTokenPlain as UsernameTokenProfileSecurityPolicy=UsernameTokenProfileSecurityPolicy("sysadmin","sysadmin");
    usernameTokenPlain.usernameTokenPasswordType = UsernameTokenPasswordType.PASSWORD_TEXT;
    policies as SecurityPolicy[];
    policies[]=usernameTokenPlain;
    configuration.securityPolicies = policies;
    service as FND_PROGRAM_Service= FND_PROGRAM_Service(configuration)
    sh as SoaHeader = SoaHeader();
    sh.namespace="";
    sh.responsibilityApplName="SYSADMIN"
    sh.responsibilityName="System Administrator"
    sh.securityGroupName="STANDARD"
    sh.nlsLanguage="AMERICAN"
    pam as InputParameters9 = InputParameters9()
    result as OutputParameters
    pam.application="SQLGL";
    pam.executableshortname="ENABLED"
    do
    logMessage "333333333333333";
    executableexists service
    using header = sh,
    body = pam
    returning result = bodyOutput (throw exception)
    logMessage "2222222222222";
    reportSF.description=String.valueOf(result.fndprogram24executableexists)
    reportSF.comments="11111111111";
    on ex as Any
         logMessage "aaaaaaaaaaaa"+ex
    end

    I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy
    I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
    policy.username ="mark";
    policy.password = "password";
    tws = YourWebService();
    response = tws.callWebServiceMethod();
    I realize the security profile isn't tied anywhere to the web service, but try it anyway.
    There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
    Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
    Edited by: Mark Peterson on Mar 19, 2010 9:20 AM

  • Error creating job in oracle

    I'm having a problem creating a job in oracle . I want at the end of each day to put some values from table1 in table2, empty table1, and then delete and re-create some sequences..because I have auto-increment id and each day I want to sequence to start from 0 again. So long story short I tried creating this job using toad for oracle.
    if I just put the first 2 tasks(put data from table1 in table 2, then delete) in the job it works like a charm. if I also add the drop sequence, create sequence I get an error saying
    Encountered the symbol "DROP" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    so this is what I want the job to do:
    insert into A(a,b,c) select a2,b2,c2 from B;
    delete from A;(so far it would work)
    drop sequence ida_seq;
    create sequence ida_seq
    start with 1
    increment by 1
    nomaxvalue;
    drop sequence idb_seq;
    create sequence idb_seq
    start with 1
    increment by 1
    nomaxvalue;
    so anybody can give me a clue on why I get the error? maybe if someone can give me a link on how to do oracle jobs..cause if I google "oracle+job" I get only jobs(for work) in oracle...but I don't get stuff related to syntax and how to create jobs in oracle. 10x in advance

    If this is a PL/SQL question, then PL/SQL has no 'DROP' or 'CREATE' keywords and you would need to use dynamic SQL with EXECUTE IMMEDIATE.
    btw there are various techniques around for resetting a sequence to start again at 1 using ALTER SEQUENCE, rather than dropping and recreating it.

  • How many users/ schemas can we create in an oracle database?

    How many users can we create in an oracle database? Or how many users can oracle handle?
    Problem-
    I have to store information of ontologies (I will use countries instead) in db.
    I have to store information regarding countries.
    I have 13 tables in all to maintain for each country.
    Now there are two approaches:
    1) keep only 13 tables. Have an extra column in each table to indicate that a particular
    row stores information for which country.
    2) create a new user/ schema for each country. So we can get rid of the extra column
    needed in 1st approach.
    I have used the second approach. This is because number of entries in each table for a
    given country will be large.
    So initially when the s/w is installed I create a central-user. Each time data for new
    country has to be entered central-user creates a user/ schema, and creates tables for
    this user/ schema. The central user can access the tables of all the countries by
    country_name.table_name. By this approach I believe searching would be easy.
    If there is any flaw in my approach kindly mention it.
    Thank you

    There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
    Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
    Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
    If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
    Justin
    One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
    Message was edited by:
    Justin Cave

  • Error in Creating Webservice in JDeveloper 10.1.3 EA

    hi,
    I'm trying to implement a java webservice using JDev 10.1.3 EA. I just create one simple class with one method returning a string. here is the class code:
    public class ServiceTest {
    public ServiceTest() {
    public String getMessage() {
    return "hello wooorld!";
    after that, i do right-click on it and select "Create J2EE Webservice", and I choose J2EE 1.4 (JAX-RPC), and let JDev do its job creating several classes. I'm trying to run its WSDL file and nothing happens except string message "Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview initialized" appears.
    After that, i'm creating web service proxy by right-click on WSDL file and select "Generate Webservice Proxy" and let JDev creates several class. But when I invoke webservice by calling method
    myPort.getMessage();
    in the MyWebService1SoapHttpPortClient.java and run it, the following error occurs:
    java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at mypackage.proxy.runtime.MyWebService1SoapHttp_Stub.getMessage(MyWebService1SoapHttp_Stub.java:92)
    Is there any mistake in my code? I've also created Webservice Proxy for GoogleAPI Webservice using JDev 10.1.3 EA and it runs well. thanks a lot for any suggestion.
    regrads,
    fox

    yes, i found an URL and I try to access this via browser, and the following message appears:
    Error instantiating web-application
    Error compiling :C:\My Documents\Java\Webservice\Service3\public_html: Syntax error in source or compilation failed in: E:\master\Oracle JDeveloper 10.1.3 Early Access\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Webservice-Service3-webapp\galih\service\runtime\MyWebService1SoapHttp_Tie.java E:\master\Oracle JDeveloper 10.1.3 Early Access\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Webservice-Service3-webapp\galih\service\runtime\GalihServiceService_SerializerRegistry.java:36: error #300: MyWebService1_getMessage_ResponseStruct__LiteralSerializer not found in class galih.service.runtime.GalihServiceService_SerializerRegistry
    CombinedSerializer serializer = new galih.service.runtime.MyWebService1_getMessage_ResponseStruct__LiteralSerializer(type, DONT_ENCODE_TYPE);
    ^
    1 error

  • Problem in installation of Oracle 9i in windows xp

    hi everybody
    I've encountered an error while installing Oracle 9i. At the end of installation process when it wants to configure "Database Configuration Assistant" it passes the two first steps :
    "Copying database files"
    "Initializing database"
    but it fails through the step of "Creating and starting Oracle instance" at the progress of 81% and it shows an error dialog with no comment and no hint (just an empty window is shown).
    Any help would be greatly appreciated. Thanks in Advance.

    thank you for your help. This is last 50 lines from the install log:
    Starting to execute optional autolaunch configuration tools
    Launched configuration tool Oracle Net Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -Duser.dir=C:\oracle\ora92\network\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\network\jlib\NetCA.jar;C:\oracle\ora92\network\jlib\netcam.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\network\tools" oracle.net.ca.NetCA /orahome C:\oracle\ora92 /orahnam OraHome92 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp,nmp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile C:\oracle\ora92\network\install\netca_typ.rsp
    Configuration tool Oracle Net Configuration Assistant succeeded
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -DORACLE_HOME="C:\oracle\ora92" -DJDBC_PROTOCOL="thin" -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\kodiak.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\lib\xmlparserv2.jar;C:\oracle\ora92\jdbc\lib\classes111.zip;C:\oracle\ora92\classes;C:\oracle\ora92\jlib\gss-1-1.zip;C:\oracle\ora92\jlib\oembase-9_2_0.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\assistants\jlib\assistantsCommon.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\oracle\ora92\assistants\dbca\jlib\dbca.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\lib\vbjorb.jar;C:\oracle\ora92\lib\vbjtools.jar;C:\oracle\ora92\lib\vbjapp.jar;" oracle.sysman.assistants.dbca.Dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName bill -sid bill -datafileJarLocation C:\oracle\ora92\assistants\dbca\templates -datafileDestination C:\oracle\oradata -responseFile NO_VALUE -characterset AL32UTF8 -passwordDialog true Protected value, not to be logged
    Configuration tool Oracle Database Configuration Assistant was canceled
    Result code for launching of configuration tool is -1
    Launched configuration tool Agent Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\network\agent\agentca.jar" oracle.agent.AgentCA /orahome C:\oracle\ora92 /nodeinfo NO_VALUE
    Configuration tool Agent Configuration Assistant succeeded
    Result code for launching of configuration tool is 0
    Launched configuration tool Starting Oracle HTTP service
    Command which is being spawned is C:\oracle\ora92\Apache\Apache//bin/startapache.exe C:\oracle\ora92\Apache\Apache\Apache.exe -k start -d C:\oracle\ora92\Apache\Apache
    Configuration tool Starting Oracle HTTP service succeeded
    Result code for launching of configuration tool is 0
    Error :*** Alert: One or more tools have failed. It is recommended but not required that these tools succeed for this installation. You can now select these tools, read its details to examine why they failed, fix those problems, and retry them. Or, you can click "Next" to continue. ***
    User selected: Yes/OK
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.8\bin/jrew.exe -DORACLE_HOME="C:\oracle\ora92" -DJDBC_PROTOCOL="thin" -classpath ";C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\oracle\ora92\jlib\ewt3.jar;C:\oracle\ora92\jlib\kodiak.jar;C:\oracle\ora92\jlib\ewtcompat-3_3_15.jar;C:\oracle\ora92\lib\xmlparserv2.jar;C:\oracle\ora92\jdbc\lib\classes111.zip;C:\oracle\ora92\classes;C:\oracle\ora92\jlib\gss-1-1.zip;C:\oracle\ora92\jlib\oembase-9_2_0.jar;C:\oracle\ora92\jlib\srvm.jar;C:\oracle\ora92\assistants\jlib\assistantsCommon.jar;C:\oracle\ora92\jlib\share.jar;C:\oracle\ora92\jlib\swingall-1_1_1.jar;C:\oracle\ora92\assistants\dbca\jlib\dbca.jar;C:\oracle\ora92\jlib\help3.jar;C:\oracle\ora92\jlib\oracle_ice5.jar;C:\oracle\ora92\jlib\netcfg.jar;C:\oracle\ora92\lib\vbjorb.jar;C:\oracle\ora92\lib\vbjtools.jar;C:\oracle\ora92\lib\vbjapp.jar;" oracle.sysman.assistants.dbca.Dbca -progress_only -createDatabase -templateName General_Purpose.dbc -gdbName bill -sid bill -datafileJarLocation C:\oracle\ora92\assistants\dbca\templates -datafileDestination C:\oracle\oradata -responseFile NO_VALUE -characterset AL32UTF8 -passwordDialog true Protected value, not to be logged
    Configuration tool Oracle Database Configuration Assistant failed
    Result code for launching of configuration tool is 1
    Warning :*** Alert: Do you really want to exit? ***
    User selected: Yes/OK
    Launched configuration tool LaunchOEM
    Command which is being spawned is C:\oracle\ora92\bin\oemapp.bat console "oem.LoginMode=standalone"
    *** End of Installation Page***
    ShowEndSession = SHOW_END_SESSION_PAGE = true
    User Exit

  • Problem in generating the Oracle report6i to PDF file.

    Hi guys,
    I had encounter problem in generating the Oracle report6i to PDF file. The Amount column once the report is genrated to PDF it double the amount reflected in the PDF file report. See sample scenarios below:
    Can anybody help me explain this issue how it really happens?
    Example:
    FROM ORACLE REPORTS6i :
    ITEM # PRODUCT AMOUNT
    1 PRINTER 5,000
    2 KEYBOARD 2,000
    TO PDF FILE :
    ITEM # PRODUCT AMOUNT
    1 PRINTER 10,000
    2 KEYBOARD 4,000
    Thank you.
    Lala

    Hi "LawlordsX",
    I do understand the issue, something seems to have messed up the Shell Extensions on the 2 Lenovo laptops you talked about.
    Could you please check if the 2 m/c(s) have an additional version of Office installed in parellal to Office 2007, say Office 2010 trial pre-installed on them. This can be verified via CONTROL PANEL > PROGRAMS AND FEATURES > Check for the versions of Office installed. If yes, please let me know the additional Office software version/type.
    Also, could you be more specific about the bitage of the system, i.e. whether the Windows 7 m/c is 32-bit or 64-bit?
    This can be checked from CONTROL PANEL > SYSTEM > Under "System" section check for "System Type".
    If converting multiple files at a time to PDF is an issue, as an alternate you could use FILE > CREATE > BATCH CREATE MULTIPLE FILES to workaround the problem for the time being.
    Thanks!

  • Unable to create webservice system!!!

    Hi Friends,
    I am using SAP NetWeaver 2004s Visual Composer SP 08.
    My problem is, No matter whatever WSDL url i give to create the WebService System in the VC its throwing me the error '<i>Invalid Web Service URL: http://ws.invesbot.com/stockquotes.asmx?WSDL</i>'
    I have given as below:
    New System name : <i>invesbot</i>
    New System alias: <i>invesbot</i>
    Web Service URL: <i>http://ws.invesbot.com/stockquotes.asmx?WSDL</i>
    I am really clueless to know whats wrong in the WSDL URL. When i give the above WSDL url on the browser it shows the XML details.
    Is there anything else i should do for the Web Service URL?????
    Thanks,
    Raghavendra P

    Hi Raghavendra,
    I tried to create webservice using the URL you've given and it worked on my system (fyi: I am using sneak preview)
    Just for counter checking, can u able to try creating webservice for the following URL?. This is an example provided in the VC help docs.
    http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
    Name the system CurrencyConverter and give it the alias Converter
    Thanks
    Sathish

  • Error Creating Database on Oracle 10g Release 2

    I'm having a problem creating a second database on 10g release 2 on Windows server 2003.
    I have created an initialization parameter file on %Oracle_Home%\database\initDB2.ora
    However, whenever I try to run sql command to create a database with the same name as the db_name parameter in the initialization parameter, it gives an error database name 'DB2' does nto matchthe parameter db_name = dbase
    dbase is the first database that was created automatically when I installed Oracle.
    Any solutions? Why is the server not using the parameter file I have created? Why does it seem to use the initialization parameter file that belongs to the first database?
    Cheers

    'startup nomount' with 'pfile=...initDB2.ora' clause? In this case Oracle chooses a server parameter file (spfile) by default and I still assume ORACLE_SID is set to your first database. So automatically spfile from the first database is used. You should try:
    set ORACLE_SID=DB2
    (now in sqlplus) startup nomount pfile=%ORACLE_HOME$\database\initDB2.ora
    Werner

Maybe you are looking for

  • Function to Delete assignment of HU from outbound delivery in VL02n

    Hi, in my scenario the objective is delete assignment from the delivery and not cancel the HU. Using the functions HU_GET_HUS V51P_DELETE_RELATIONSHIP HU_POST I can delete assignmento of  the HU from the delivery but when I want to cancel the deliver

  • Transfer songs from a ipod mini that was created from another account

    I bought a used ipod mini that came loaded with over 400 songs which I would like to add to my itunes MAC account. The ipod mini is in Windows format and I understand that at sometime in the future I will have to restore the ipod mini in order to con

  • Changing outgoing email address from iphone

    I currently have my MobileMe account set up on my iphone, and it is using my MobileMe ID as my email address <Edited by Host>. However I would like to set it up with my alias<Edited by Host>. Is there a way to change this setting on the phone? I know

  • Error code: ssl_error_rx_malformed_alert

    I have a reocurring problem that happens at a seemingly random intervall. Sometimes in a timespan of several hours i am banned from all https sites, at a few sites it showes (erros code: ssl_error_rx_malformed_alert). I have searched for the alert bu

  • GE40 2OC with 1 SSD. Where to put second hd?

    Hello, My laptop comes with only one hard disk SSD of 128gigabyte. I would like to insert an additional hard disk. I am not sure where I can insert it, should I remove the dvd and buy an adaptor/caddy? What kind of hard disk should I buy? Is it possi