Invalid trigger type error

I am new to Oracle and need some help with the following:
I was given scripts to create tablespaces, role, user, tables, indexes, sequences, triggers and synonyms.
Those scripts were created and tested under Oracle version 7.0 and 8.0. I am using Oracle Enterpise Edition ver. 8i. and was told that should be OK.
Anyway, I was successful with executing all but one of the scripts. This script triggers.sql produces an error, which reads: "Trigger created with compilation
errors" if run via SQL Plus utility like
@c:\triggers.sql.If I type(or cut and paste) the trigger I recieve an error "invalid trigger type".
Here is the SQl statement:
create trigger WALLSADMIN.TI_STATES
BEFORE INSERT or UPDATE
on WALLSADMIN.States
for each row
BEGIN
IF
INSERTING THEN
SELECT state_seq.NEXTVAL INTO :new.state_id FROM DUAL;
ELSIF UPDATING THEN
:new.state_id:= :old.state_id;
END IF;
END;
create trigger WALLSADMIN.TI_PROJECT
BEFORE INSERT or UPDATE
on WALLSADMIN.Project
for each row
BEGIN
IF
INSERTING THEN
SELECT project_seq.NEXTVAL INTO :new.project_id FROM
DUAL;
ELSIF UPDATING THEN
:new.project_id:= :old.project_id;
END IF;
END;
create trigger WALLSADMIN.TI_WORKSPACES
BEFORE INSERT or UPDATE
on WALLSADMIN.WorkSpaces
for each row
BEGIN
IF
INSERTING THEN
SELECT workspace_seq.NEXTVAL INTO :new.workspace_id
FROM DUAL;
ELSIF UPDATING THEN
:new.workspace_id:= :old.workspace_id;
END IF;
END;
In this script WALLSADMIN is the user I previously
successfully created, tables in the statement were
also successfully created.
Note, i was told to run the script with Wallsadmin
credentials. If I do so, however, I recieve 'insufficient
priveledges'. If run under system account, I recieve errors
already described, so it maybe permissions
problem as well.
here is my role script:
/* Grant appropriate privileges to the
ROLE */
GRANT "CONNECT" TO "WALLSAKB";
GRANT CREATE TABLE TO "WALLSAKB";
GRANT DROP ANY TABLE TO "WALLSAKB";
GRANT EXECUTE ANY PROCEDURE TO "WALLSAKB";
GRANT INSERT ANY TABLE TO "WALLSAKB";
GRANT SELECT ANY TABLE TO "WALLSAKB";
GRANT SELECT ANY SEQUENCE TO "WALLSAKB";
GRANT UPDATE ANY TABLE TO "WALLSAKB";
and user create script:
CREATE USER "WALLSADMIN" IDENTIFIED BY "password"
DEFAULT TABLESPACE "WALLSAKB" TEMPORARY
TABLESPACE "WALLSTMP"
PROFILE DEFAULT;
GRANT "CONNECT" TO "WALLSADMIN";
GRANT "WALLSAKB" TO "WALLSADMIN";
GRANT UNLIMITED TABLESPACE TO "WALLSADMIN";
/* Enable all ROLES that are assigned to user
WALLSADMIN */
ALTER USER "WALLSADMIN" DEFAULT ROLE ALL;
Thanks in advance.

could you tell the error by type "SHOW ERRORS" at sqlplus

Similar Messages

  • JDBC/SQLJ Team - Please respond - invalid column type error

    Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge!
    I change the way I obtain a connection to the database from using the Oracle.connect along with a properties file, to now using a DataSource connection pool. As a result, I am constantly getting a SQLException: Invalid column type error. If I change the call to the stored function to a query in the SQLJ code, it's fine. What's going on??
    A previous message I wrote stated I was constantly getting a "closed statement" error when I tried to call the next method of the iterator. I corrected this by removing the finally clause in the generated JDBC code that released the execution context.
    Again, the environment is JDK1.2.2, SQLJ 8.1.6 SDK, JDBC 8.1.6 thin, all on NT.
    Thanks
    David

    I am getting the same error message - Invalid Column Type. I am creating a Default Context by calling Oracle.getConnection(connection) passing in an instance of my own connection class that basically delegates to the OracleConnection. We wrapped the Connection so that we could trap and recover from lost database connections.
    My environment is Solaris 2.6, Oracle 7.3.4 with Sqlj 8.0.5.
    Thanks!
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Christopher ([email protected]):
    Hi, I have posted several messages regarding problems using SQL/J to call out a stored packaged function that returns a ref cursor, but haven't gotten one response. I have yet a new problem with it. JDBC team, please acknowledge!
    I change the way I obtain a connection to the database from using the Oracle.connect along with a properties file, to now using a DataSource connection pool. As a result, I am constantly getting a SQLException: Invalid column type error. If I change the call to the stored function to a query in the SQLJ code, it's fine. What's going on??
    A previous message I wrote stated I was constantly getting a "closed statement" error when I tried to call the next method of the iterator. I corrected this by removing the finally clause in the generated JDBC code that released the execution context.
    Again, the environment is JDK1.2.2, SQLJ 8.1.6 SDK, JDBC 8.1.6 thin, all on NT.
    Thanks
    David<HR></BLOCKQUOTE>
    null

  • I get an 'Invalid Image Type' error when using the Locate Features. (Evaluatio​n version)

    I'm using the Evaluation Version of Vision Builder. I Simulate Acquisition using my own image (jpg), which loads fine. However, when I try to use any of the Inspection Steps features, other than Enhance Images, I get an "Invalid Image Type" error.

    Hello,
    Vision Builder functions usually work with a certain image type. For example, all the functions listed under Binary (in the menubar) will only work with binary images. Likewise, color functions will work for color images and grayscale will work for grayscale images.
    You can convert a color image into a grayscale by extracting a color plane and a grayscale image can be converted to binary using the threshold function.
    Hope this helps!
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Strange behavior with invalid image type error

    Hi,
    I'm currently developing a stereo vision application. I started with the StereoVisionExample provided by NI but want to use my own camera drivers.
    I created the GetImage vi (see attachment) that accepts the camera handle and an allocated image, reads the acquired image from the camera, transforms the image array to a color image and returns it. I tested it with the TestVI (attached) and it works perfectly well.
    Now I wanted to integrate it as image source for the given example application and replace the ExpressVIs but this doesn't work. I get a 1074396080 invalid image type error as soon as the GetImage SubVI is called. The only possibility to run it without an error is to set the image type to RGB64 but in this case the image is not shown correctly. I get the error no matter if I choose Grayscale, HSL or RGB32 for the initial image creation. The strange is that with the TestVI everything works perfect, even with HSL that I'm using to get the grayscale image or RGB32. Basically I didn't do anything except copying the VI from Test to StereoExample. It's driving me crazy that the GetImage VI works perfect in the one but not in the other VI with the same data! What's wrong with that?
    I appreciate your help.
    Attachments:
    getImage.jpg ‏47 KB
    stereoVision example.jpg ‏92 KB
    TestVI.jpg ‏44 KB

    Hello NicoSch!
    In order to reproduce the error, I need the image data generated by the image driver you are using. Please wire the 2D array with the image data to a control on the frontpanel and run the VI. With the data now displayed, right-click the control and choose "Data Operations > Make Current Value Default" to save the data in the control. Please attach the VI to a new forum post.
    Additionally, can you describe the type of image acquired by the camera? Is the 2D array a 32bit RGB image? What camera and LabVIEW version are you using?
    Regards,
      Georg

  • Invalid column type error while calling db function.

    We are getting an exception while calling the database function which returns a Varray of objects. We are using jpub to generate the wrapper method, ran sqlj to generate the JDBC code. The environment is weblogic 5.1 EJB container with ORacle 8.1.6.0.0 database. The JDBC driver is 8.1.7 thin, sqlj version is 8.1.7. I am giving below the exception.
    When the sqlj option profile=false is not set, the error is Classcast exception. Appraently the weblogic connection object can not be used to do oracle specific calls. If somebody has done similar things(creating a bean which calls the stored function with weblogic which returns the oracle object types) or know what the issue is, please let me know.
    Thanks,
    Vijay.
    stackTrace:
    java.sql.SQLException: Invalid column type
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
    at oracle.jdbc.driver.OracleStatement.get_internal_type(OracleStatement.java:4560)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:225)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:350)
    at weblogic.jdbcbase.pool.Statement.registerOutParameter(Statement.java:438)
    at sqlj.runtime.profile.ref.RTStatementJDBCCallable.registerOutParameter(RTStatementJDBCCallable.java:135)
    at sqlj.runtime.profile.ref.ParamRegProfile$ParamRegCachedStatement.registerParameters(Compiled Code)
    at sqlj.runtime.profile.ref.ParamRegProfile$ParamRegCachedStatement.getStatement(ParamRegProfile.java:101)
    at sqlj.runtime.profile.ref.CachedStatementProfileWrapper.getStatement(CachedStatementProfileWrapper.java:134)
    at sqlj.runtime.ExecutionContext$StatementStack.setStatement(ExecutionContext.java:995)
    at sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext.java:523)
    at com.xpede.calculator.processor.jdbc.NewPrdGroupPkg.maincalculator(NewPrdGroupPkg.java:341)
    ----------------------

    Weblogic essentially wrappers the Oracle JDBC driver - as you can see from the stack trace, it does not just wrapper the connection object, but also the statement object.
    The SQLJ runtime does not recognize the JDBC layer anymore as an Oracle JDBC driver.
    What is happening at runtime may be the following:
    (1) The invalid column type likely results from SQLJ attempting to register the type as Types.OTHER (code 1111). This typecode is not supported by Oracle JDBC.
    (2) The class cast exception when using Oracle objects may result from a getObject() call which returns the value in default format (such as oracle.sql.ARRAY) rather than the JPublisher-generated wrapper object.
    Are you using JDK 1.2 / runtime12.zip?
    In that case you can try the standard (java.sql.)SQLData interface (in JPub: -usertypes=jdbc). However, this interface will not support wrappers for VARRAYs.

  • Invalid cast type error

    Hello,
    I create a new class object at runtime using:
    Class dmClass = Class.forName(dmClassName);
    I want to be able to use the Class object, dmClass, to cast new objects but I can't seem to get this to work. I've tried:
    (dmClass) .......
    (dmClass.getName()).....
    But I get an Invalid Cast type expression error.
    How can I use dmClass as the cast type in a statement?
    Thanks
    Glenn

    Ok,
    I have:
    class DataManager
    class SasDMImp which implements DataManager
    I do the following:
    String dmClassName = "SasDMImp";
    Class dmClass = Class.forName(dmClassName);
    I now want to use the SasDMImp class to cast a new object and this is the part I'm having trouble with.
    If I hard code the class name I use:
    SasDMImp dm = (SasDMImp) Naming.lookup("rmi://" host registry);
    I want to replace the hard coded SasDMImp with dmClass but I get the Invalid Cast type when I do this.
    Hope this helps.
    Glenn

  • Invalid Content Type Error in Receiver SOAP Adapter

    Hello Experts,
    Is there a solution for this problem?
    I am getting the following error in one of my receiver SOAP adapters:
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:...:com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML
    I have checked the message I am sending to the receiver adapter and it is XML, ok. After checking this thread: Re: Error in soap receiver adapter and SAP note 856597 I used the TCPGateway program to check what the web service is answering to the adapter request and I found the problem is due to an authentication failure. The TEXT/HTML is an error page the SAP WebAS that hosts the webservice is sending out as response saying no login method succeeded.
    However...  The webservice URL and basic authentication information, the user and password, are configured correctly. I double checked it and I can also run the webservice using that information directly with wsnavigator on that WebAS.
    Checking the request message I found out that the root problem is that the adapter is not sending out a basic authentication request as configured. It is actually sending a header with SAP SSO2 (single signon) ticket instead.
    The most strange thing is that I configured another channel exactly the same way and it sends a basic authentication header as it should and works correctly.
    So as a workaround I am using this new channel instead of the problematic one but why is the original sending SSO2 tickets? It is configured exactly the same as other channels. I think that SAP SSO authentication is not even supported by XI SOAP channels!!!???
    Thanks in advance for your kind responses.
    -Sam.

    Shabarish:
    Thanks for the link, but the real issue is not the request message (regarding your blog) but that the reply from the webservice is the standard HTML page informing no login module succeeded because the adapter is deciding completely on its own that it should use SAP single signon ticket instead of basic authentication as configured.
    Volker:
    I have performed full and delta cache refreshes to see if the channel performs as configured in the ID but it doesn't. It insists in trying to use SSO2 ticket instead of basic authentication.
    I am sure this is an ugly bug in the WEBAS Java, more so because an identically configured channel does use the basic authentication as it should. Anyone knows about a SAP note regarding this? I have performed many searches on the support service but haven't retrieved anything significant.
    Thanks for your help guys!
    -Sam.

  • "Invalid content type" error in SOAP receiver

    Hi ,
    I have ABAP Proxy->XI->Webservice scenario.
    I have configured the SOAP receiver with all neccessary information (Target URL pointing to WSDL , proxy details)
    However i get the following error when i try sending data to the webservice. "Invalid Content type for SOAP: text/html"
    I have seen some forums and blogs on this site on this but still not able to solve the error.
    Please advice...

    Hi Anand,
    Have a look into this thread- similar discussion
    DeliveryException:: invalid content type for SOAP: TEXT/HTML
    Also check this- in the Reciever SOAP Adapter configuration i.e Target URL must be url of the WSDL.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Hope this helps.......
    Regards,
    Abhy

  • Invalid Content-Type error using JAXM

    Hi,
    I have deployed sample JAXM application to weblogic server 7.0. When I ran the
    client it is throwing following error,
    javax.xml.soap.SOAPException: Invalid Content-Type:text/html
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable
    to internalize message
    Following is the SOAP message I am sending to the service,
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <Item ID="101" NAME="Java" PRICE="$29.99"></Item>
    <Item ID="102" NAME="Java 2" PRICE="$39.99"></Item>
    <Item ID="103" NAME="JAXM" PRICE="$19.99"></Item>
    <Item ID="104" NAME="Web Services" PRICE="$49.99"></Item>
    </soap-env:Body>
    </soap-env:Envelope>
    The above application is working fine in SUN ONE Application server.
    --Muthu

    Hi Muthu,
    Take a look at the SAAJ spec:
    http://java.sun.com/xml/downloads/saaj.html
    Towards the top part of the doc shows the diffs.
    Regards,
    Bruce
    Muthu wrote:
    >
    Hi Bruce,
    Thanks for your reply. Could I know what is the difference between JAXM and SAAJ?
    --Muthu.
    Bruce Stephens <[email protected]> wrote:
    Hello,
    Product management has stated that we have no plans to support JAXM.
    Sun
    has removed any depencies between JAXM and JAXRPC and created SAAJ as
    a
    replacement for the JAXM dependencies. JAXM will not be part of J2EE
    1.4. We support SAAJ in 8.1.
    Thanks,
    Bruce
    Muthu wrote:
    Hi,
    I have deployed sample JAXM application to weblogic server 7.0. WhenI ran the
    client it is throwing following error,
    javax.xml.soap.SOAPException: Invalid Content-Type:text/html
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException:Unable
    to internalize message
    Following is the SOAP message I am sending to the service,
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <Item ID="101" NAME="Java" PRICE="$29.99"></Item>
    <Item ID="102" NAME="Java 2" PRICE="$39.99"></Item>
    <Item ID="103" NAME="JAXM" PRICE="$19.99"></Item>
    <Item ID="104" NAME="Web Services" PRICE="$49.99"></Item>
    </soap-env:Body>
    </soap-env:Envelope>
    The above application is working fine in SUN ONE Application server.
    --Muthu

  • Invalid Content Type Error for Web Service

    Hi Experts,
    We have a XI / PI Web Service, and have created an Adaptive Web Service Model for the same. For using this web service model, we have created a HTTP destination of type WSDL.
    This configuration works great in our development and consolidation server.
    While working with our production server, with all the settings same as consolidation server, the following error is generated for Web Service call. using the AWS model
    java.io.IOException: Invalid content type while requesting http://<host>:<port>/webdynpro/resources/<application_package>/guicall.wsdl. Expected Content-type: text/xml, received Content-type: content/unknown, used user to connect: null
    The HTTP destination address is the one specified in bold above.
    Also, in later part of the stack trace we are bale to see this error:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination
    Please guide us on this issue.
    Best Regards,
    Alka.

    Hi Alka,
    How did you configure the Webservice Destinations in Visual Admin for a webservice explosed by XI system.
    I mean what was the URL specified, did you specify XI SYSTEM userid password ???
    How was the webservice published to inspection.wsil in XI system ??
    Thanks,
    Regards,
    Aditya Metukul

  • Export giving "Invalid column type" error

    Hi,
    I am using Export button in my page and I provided "BICOSortedDetlsVO1" for View instance property.
    After I ran I got java.sql.SQLException: Invalid column type.
    Can any one let me know where I am doing wrong?
    Thanks,
    Subramanyam.

    Hi Nani,
    Please find below is the query for VO.
    Thanks &
    Regards,
    Subramanyam.
    SELECT XxslipaBicosSortedDtlsVlEO.ADMINISTRATION_FEE,
    XxslipaBicosSortedDtlsVlEO.ASSIGNMENT_CATEGORY,
    XxslipaBicosSortedDtlsVlEO.BILLING_CONDITION_ID,
    XxslipaBicosSortedDtlsVlEO.BILLING_CONDITION_SET_ID,
    XxslipaBicosSortedDtlsVlEO.BILLING_CURRENCY_CODE,
    XxslipaBicosSortedDtlsVlEO.BILLING_GROUP,
    XxslipaBicosSortedDtlsVlEO.BILLING_METHOD_CODE,
    XxslipaBicosSortedDtlsVlEO.BILLING_METHOD_MEANING,
    XxslipaBicosSortedDtlsVlEO.BILLING_TYPE_CODE,
    XxslipaBicosSortedDtlsVlEO.BILLING_TYPE_MEANING,
    XxslipaBicosSortedDtlsVlEO.COST_PLUS_MARKUP,
    XxslipaBicosSortedDtlsVlEO.COST_PLUS_MAXIMUM_RATE,
    XxslipaBicosSortedDtlsVlEO.COST_PLUS_PROJECT_BASE_HRS,
    XxslipaBicosSortedDtlsVlEO.COST_PLUS_UNITS_PER,
    XxslipaBicosSortedDtlsVlEO.CREATED_BY,
    XxslipaBicosSortedDtlsVlEO.CREATION_DATE,
    XxslipaBicosSortedDtlsVlEO.DESCRIPTION,
    XxslipaBicosSortedDtlsVlEO.EFFECTIVE_END_DATE,
    XxslipaBicosSortedDtlsVlEO.EFFECTIVE_START_DATE,
    XxslipaBicosSortedDtlsVlEO.EMPLOYMENT_CATEGORY,
    XxslipaBicosSortedDtlsVlEO.ENABLED_FLAG,
    XxslipaBicosSortedDtlsVlEO.EXPENDITURE_CATEGORY,
    XxslipaBicosSortedDtlsVlEO.EXPENDITURE_CATEGORY_MEANING,
    XxslipaBicosSortedDtlsVlEO.EXPENDITURE_ORGANIZATION,
    XxslipaBicosSortedDtlsVlEO.EXPENDITURE_TYPE,
    XxslipaBicosSortedDtlsVlEO.EXPENDITURE_TYPE_MEANING,
    XxslipaBicosSortedDtlsVlEO.FIXED_RATE,
    XxslipaBicosSortedDtlsVlEO.FIXED_RATE_LIMIT_FLAG,
    XxslipaBicosSortedDtlsVlEO.FIXED_RATE_MARKUP,
    XxslipaBicosSortedDtlsVlEO.FIXED_RATE_UNITS_PER,
    XxslipaBicosSortedDtlsVlEO.FRINGE_BENEFIT_MARKUP,
    XxslipaBicosSortedDtlsVlEO.FRINGE_BENEFIT_OPERATION,
    XxslipaBicosSortedDtlsVlEO.GRADE_FAMILY,
    XxslipaBicosSortedDtlsVlEO.GRADE_PROGRESSION_LEVEL,
    XxslipaBicosSortedDtlsVlEO.GRADE_SALARY_LEVEL,
    XxslipaBicosSortedDtlsVlEO.GRADE_SALARY_REGION,
    XxslipaBicosSortedDtlsVlEO.JOB_BILL_TITLE_OVERRIDE,
    XxslipaBicosSortedDtlsVlEO.JOB_DISCIPLINE,
    XxslipaBicosSortedDtlsVlEO.LAST_APPROVAL_DATE,
    XxslipaBicosSortedDtlsVlEO.LAST_UPDATED_BY,
    XxslipaBicosSortedDtlsVlEO.LAST_UPDATE_DATE,
    XxslipaBicosSortedDtlsVlEO.LAST_UPDATE_LOGIN,
    XxslipaBicosSortedDtlsVlEO.NON_LABOR_RESOURCE,
    XxslipaBicosSortedDtlsVlEO.NORMAL_HOURS,
    XxslipaBicosSortedDtlsVlEO.ORG_ID,
    XxslipaBicosSortedDtlsVlEO.RESOURCE_NAME,
    XxslipaBicosSortedDtlsVlEO.RESOURCE_NUMBER,
    XxslipaBicosSortedDtlsVlEO.RESOURCE_TYPE_CODE,
    XxslipaBicosSortedDtlsVlEO.RESOURCE_TYPE_MEANING,
    XxslipaBicosSortedDtlsVlEO.REVENUE_CATEGORY_CODE,
    XxslipaBicosSortedDtlsVlEO.REVENUE_CATEGORY_MEANING,
    XxslipaBicosSortedDtlsVlEO.SERVICE_TYPE_CODE,
    XxslipaBicosSortedDtlsVlEO.SERVICE_TYPE_MEANING,
    XxslipaBicosSortedDtlsVlEO.TASK_NUMBER,
    XxslipaBicosSortedDtlsVlEO.WORK_TYPE_ID,
    XxslipaBicosSortedDtlsVlEO.WORK_TYPE_NAME
    FROM XXSLIPA_BICOS_SORTED_DTLS_VL XxslipaBicosSortedDtlsVlEO

  • "Invalid column type" error while calling pl/sql function in AM

    Code written in AM is ...
    String MISSING_TIME_SHEET_CALL = "begin ? = missing_time_sheet(?,?,?,?); end;";
    CallableStatement timeSheetStmt = txn.createCallableStatement(MISSING_TIME_SHEET_CALL, 1);
    timeSheetStmt.registerOutParameter(1,Types.BOOLEAN);
    timeSheetStmt.registerOutParameter(4,Types.DATE);
    timeSheetStmt.registerOutParameter(5,Types.DATE);
    timeSheetStmt.setString(2,personId);
    timeSheetStmt.setDate(3,resTermRow.getLastWorkingDate().dateValue());
    timeSheetStmt.execute();
    Body of Function is
    function missing_time_sheet (p_person_id varchar2, p_last_date date, p_start_date out date, p_end_date out date)
    -- Arvind
    return boolean

    refer this article and check your code.
    http://prasanna-adf.blogspot.com/2008/11/callable-statement.html
    --Prasanna                                                                                                                                                                                                                                                       

  • How can i creat a trigger    error  invalid trigger specification

    i have a stored procedure which i want it to be triggered when an insertion is done on table A
    and that stored procedure accepts values from the insertion performed in table A
    and inserts into Table B by either updating the table or insertion into Table B
    how can i achieve this
    OK fine i have a table called Table A
    i want a trigger that can accept values such as
    create or replace trigger UpdateMyDoc  after insert on  Table A
    for each row
    accoutntno varchar2,
    ID varchar2
    As
    cnt number;
    Begin
    update Table B value (accoutntno ,ID ); commit;
    end ;
    is the above possible if it is then i get this  [1]: (Error): ORA-04079: invalid trigger specification
    any help
    Edited by: kama021 on Aug 13, 2009 2:24 AM

    Stop right there, Kama.
    update Table B value (accoutntno ,ID ); commit;Do not go any further on triggers, until you at least know how to write an UPDATE
    Or is it INSERT
    Once you have that in place, carry on by reading a bit about Transactions
    Regards
    Peter

  • SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP

    Hi,
    At present i am using JCAPS version 5.1.1
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-
    Type:text/html. Is this an error message instead of a SOAP response?
    I got above error message while invoking the webservice.
    My intention is to get HttpRequest from user and based on the input from user, a web service should be invoked. For this i am using BusinessProcess[einsight]
    In my BusinessProcess, i have HttpServer processRequest service,
    to receive HTTP requests and then i am passing the value of parameter received from http[As String] to next partner which is responsible for invoking a webservice.[Used a wsdl in client mode]
    I am able to get http request successfully , but i got error while invoking web service.
    Please let me know, what to do for rectifying error.

    Although this is an aged topic, this is plaguing our development efforts currently. I have successfully created a webservice that can be executed externally using the generated wsdl but I am unable to get a JCD to execute the WS without getting the following error:
    [#|2007-10-09T19:51:02.700-0700|SEVERE|IS5.1.2|javax.xml.messaging.saaj.soap|_ThreadID=32606; ThreadName=Worker: 34758;|SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:296)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:146)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClientTransport.java:169)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:83)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:69)|#]
    [#|2007-10-09T19:51:02.701-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at tp6.ExecutePortType_Stub.opGetControl(ExecutePortType_Stub.java:66)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at tp6.ExecutePortType_opGetControl.invoke(ExecutePortType_opGetControl.java:188)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.stc.wsclient.runtime.impl.WSDLOtdDelegateImpl.invoke(WSDLOtdDelegateImpl.java:78)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at urn_stc_egate_jce_AI_WebServices_GetControl_jcdGetControl.OpGetControl.invoke(urn_stc_egate_jce_AI_WebServices_GetControl_jcdGetControl.OpGetControl:113)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at AIWebServicesTEST_GetControl_WS.jcdTEST_GetControl_WS.start(jcdTEST_GetControl_WS.java:21)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at TEST_GetControl_WS.cmTEST_GetControl_WS_jcdTEST_GetControl_WS1.jcdTEST_GetControl_WS_Runtime_Handler.handleRequest(jcdTEST_GetControl_WS_Runtime_Handler.java:369)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.GeneratedMethodAccessor4463.invoke(Unknown Source)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at java.lang.reflect.Method.invoke(Method.java:615)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at $Proxy108.handleRequest(Unknown Source)|#]
    [#|2007-10-09T19:51:02.702-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.sendMessage(STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.java:213)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.onContents(STC_MDB__eaJCAP_Scheduler_cmTEST_GetControl_WS_jc1527518542.java:100)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.GeneratedMethodAccessor4462.invoke(Unknown Source)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at java.lang.reflect.Method.invoke(Method.java:615)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at java.security.AccessController.doPrivileged(AccessController.java:275)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:940)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:948)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:136)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at $Proxy111.onContents(Unknown Source)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.stc.schedulerotd.scheduleradapter.FileReaderWork.run(FileReaderWork.java:77)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:54)|#]
    [#|2007-10-09T19:51:02.703-0700|WARNING|IS5.1.2|javax.enterprise.system.stream.err|_ThreadID=32606; ThreadName=Worker: 34758;|
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)|#]
    [#|2007-10-09T19:51:02.704-0700|SEVERE|IS5.1.2|javax.xml.messaging.saaj.soap|_ThreadID=32606; ThreadName=Worker: 34758;|SAAJ0535: Unable to internalize message|#]
    [#|2007-10-09T19:51:02.704-0700|INFO|IS5.1.2|STC.eGate.CMap.Collabs.TEST_GetControl_WS.cmTEST_GetControl_WS_jcdTEST_GetControl_WS1.AIWebServicesTEST_GetControl_WS.jcdTEST_GetControl_WS|_ThreadID=32606; ThreadName=Worker: 34758;|+++EXCEPTION = HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is:
         HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message|#]
    [#|2007-10-09T19:51:02.704-0700|INFO|IS5.1.2|STC.eGate.CMap.Collabs.TEST_GetControl_WS.cmTEST_GetControl_WS_jcdTEST_GetControl_WS1.AIWebServicesTEST_GetControl_WS.jcdTEST_GetControl_WS|_ThreadID=32606; ThreadName=Worker: 34758;|+++STACK     = [Ljava.lang.StackTraceElement;@31de31de|#]
    [#|2007-10-09T19:51:02.705-0700|INFO|IS5.1.2|com.stc.codegen.OTDImpl.runtime.ejb.OTDService|_ThreadID=32606; ThreadName=Worker: 34758;|terminate each service|#]
    Is anybody else having this same error and how was it resolved? Both my client and server settings seems to be in sync. My only iffy piece is the servlet context. For both client and server external components, host, port, servlet context match. What am I missing??

  • Invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error

    Hi,
    I have this error on a SOAP Receiver Channel: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    I've found several threads on SDN Forums about similar errors, but I did not find a solution for my problem yet.
    I checked this blog: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009  Pt.6 applies to my situation, but the proposed solution doesn't solve the problem.
    TRACE Messaging System
    u2026
    2011-06-06 10:59:41.822 Success Delivering to channel: CC_SOAP_RCV_XXX
    2011-06-06 10:59:41.823 Success MP: entering1
    2011-06-06 10:59:41.825 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    2011-06-06 10:59:41.828 Success SOAP: request message entering the adapter with user J2EE_GUEST
    2011-06-06 10:59:42.012 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    2011-06-06 10:59:42.014 Success SOAP: sending a delivery error ack ...
    2011-06-06 10:59:42.014 Success SOAP: sent a delivery error ack
    u2026
    Message Details
    Address   http://aaa.bbb.be:54000/MessagingSystem/receive/AFW/XI 
    Credential   PasswordCredential(PIISUSER):password=******** 
    Transport Headers   accept-encoding=gzip sap-xi-messageid=4DEA11FE90003094E10000000AE908B4 content-length=7520 http=POST host= aaa.bbb.be:54000 user-agent=SAP NetWeaver Application Server (1.0;711) content-type=multipart/related;boundary=SAP_4DEA47CEAD3A5138E10000000AE908B4_END;type="text/xml";start="" soapaction="http://sap.com/xi/XI/Message/30" 
    Configuration Details SOAP Communication Channel
    SOAP Receiver Channel
    No modules configured
    Do not use SOAP Envelope  -> NOT checked
    If I type the target URL in browser it opens (no login required) and I see the available web services.
    Anyone any idea what's the reason for this error?
    Thanks in advance
    Kind Regards
    Edmond Paulussen

    Hi Edmond,
    We faced similar problem & found alternative.
    Try out, if it works for u as well.
    1) Use HTTP Adapter instead of SOAP.
    Transport Protocol : HTTP 1.0
    Message Protocol : XI Payload in HTTP Body
    Adapter Engine : Integration Server
    Addressing type : URL Address.
    Target Host:
    Service Number :
    Path Prefix:
    Authentication type : we hv used Ananymus login, as our login details in payload header.
    Content Type : application/soap+xml;charset=UTF-8( this is IMP).
    Header Fields.
    Name         value
    Host           target host
    XI Payload Manipulation
    XML Code : UTF-8
    Hope, this helps...
    -santosh.

Maybe you are looking for

  • Iphone I cloud activation screen (forgot apple id & password)

    I shouldn't even be making this post, but i'm so frustrated. I'l do a quick summary so that I get you guys and girls up to speed on my problem. 1. Was updating phone, random error happened and the phone needed to be backed up by itunes, the phone res

  • Oracle 9.2.0.6 and Oracle 11g driver

    Can some one please confirm that Oracle 11g JDBC driver is compatible with b Oracle 9.2.0.6? I am using JDK 5. Just want to make sure that I can use it? TIA

  • PREL 7 vista, Naration, can anyone find a way to alter base/treble?

    I have tried to add naration to a PREL7 project but the resulting recording is not my voice. The mic used has been used with my Sony handycam DVD with no distortion. Can anyone advise, please.

  • Digital camera won't load...

    Not sure if I am in correct forum...but I'll give this a go. I have a Mac OS X 10.6.3 that I purchased last week and today I tried loading pictures from my camera, but nothing pops up on the Desktop or anything stating I have photos. I've tried using

  • Role, Page and Application names

    Hi, I have a role name SMS_Sales, pgSales and WD Application SMS_Main. XXX_Sales contains pgSales and pgSales contains SMS_Main. On assigning the role to the user he sees, 1. SMS_Sales 2. pgSales 3. pgSales (again) 4. SMS_Main I would like the user i