Invoking a procedure from web

Hi,
I am facing a problem to access a plsql procedure from browser.
I use Apache/1.3.12 (Unix) with Oracle 8i web tool kit.
Below both urls point to same procedure in a package.
Works fine :- http://xyz.com/pls/race/ama.moh?v_Title=a
does not work:- http://xyz.com/pls/race/ama.moh(a)
I am unable to call a procedure directly by its argument.
But both the urls work for another server.
I am confused, whether it is a apche or oracle problem.
The content of the package is as follows :
CREATE OR REPLACE PACKAGE ama IS
PROCEDURE moh (v_Title IN VARCHAR2 DEFAULT NULL);
END ama;
CREATE OR REPLACE PACKAGE BODY ama AS
PROCEDURE moh (v_Title IN VARCHAR2 DEFAULT NULL) IS
BEGIN
htp.htmlOpen;
htp.headOpen;
htp.title('d');
htp.headClose;
htp.bodyOpen;
htp.p ('Amaresh - ' || v_Title);
htp.bodyClose;
htp.htmlClose;
END moh;
END ama;
Please help.
Cheers,
Amaresh

There's a published note on MetaLink (Note: 311536.1)
Subject:      Forbidden To Execute A PL/SQL Procedure With Parentheses
The use of special characters in URLs is no longer allowed as freely as in the past. The proscription against parentheses is also mentioned in a dads.README file I found, excerpted here:-------------------------- PlsqlExclusionList --------------------------------
Tips:
  Besides the patterns specified with this parameter, mod_plsql also disallows
  any fully qualified procedure names which contain special characters like
  tabs, newlines, carriage-returns, single-quotes, the reverse-slash,
  the form feed, the open parenthesis, close parenthesis, and spaces. This
  cannot be changed.
  If you wish to add to the existing defaults, please make sure that you
  add the default entries in the configuration.
  In older versions, this parameter was called "exclusion_list"Scott

Similar Messages

  • Error while invoking stored procedure from BPEL process

    Hi Folks,
    I am facing the below mentioned issue while invoking a stored procedure in BPEL process :
    I am trying to invoke a stored procedure from a BPEL process. The process runs fine for the first/second time, but gives the below error after that whenever i try to run the process :
    file:/oracle/orasoa/bpel/domains/default/tmp/.bpel_ProvisionOrderASAPReqABCSImpl_1.0_50dd1595129e9bbb00560e31e7c18cef.tmp/DB_CALL_GetPendingSubscriptionProc.wsdl [ DB_CALL_GetPendingSubscriptionProc_ptt::DB_CALL_GetPendingSubscriptionProc(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'DB_CALL_GetPendingSubscriptionProc' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the PROC_GET_PENDING_SUBSCR API. Cause: java.sql.SQLException: Io exception: Connection reset [Caused by: Io exception: Connection reset]
    ; nested exception is:
    ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the PROC_GET_PENDING_SUBSCR API. Cause: java.sql.SQLException: Io exception: Connection reset [Caused by: Io exception: Connection reset]
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API. Contact oracle support if error is not fixable.
    I am not getting how the BPEL is referring to the DB wsdl from the tmp folder. To resolve this issue, we have to stop the SOA server, delete the tmp files, and restart the server.
    Any pointers in this regard will be really helpful.

    First of all does this scenario occur again.
    "Works first/second time. Later gives this error."
    After you restart the SOA server are you able to reproduce this scenario?
    As already pointed out and from the error message, database connection is reset.
    If you find this error again, try this out.
    em -> home / oc4j_soa -> Administration -> JDBC Resources
    Use the "Test Connection" option for the Connection Pool that you are using for your database JNDI.
    It comes back and say "Connection to "XYZCP" established successfully." it is good to use.
    Run the BPEL process again and once you find the error, come back and test the connection.
    If it comes back with Error, diagnose based on the error message received.
    Cheers
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • Issue of invoke wf_engine function from web service client.

    hi,
    I want to update work flow item attribute from web service client through soa gateway. but got the below exception:
    Error Description Error occured while service was processing.
    Error Details oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. file:/pim/oracle/DEV/inst/apps/DEV_pimenv/soa/PLSQL/1318/SETITEMATTRTEXT.wsdl [ SETITEMATTRTEXT_ptt::SETITEMATTRTEXT(InputParameters) ] - WSIF JCA Execute of operation 'SETITEMATTRTEXT' failed due to: Error while processing an API interaction execution. An error occurred while processing the interaction for invoking the WF_ENGINE.SETITEMATTRTEXT API. Cause: oracle.tip.adapter.apps.AppsContextValidationException: Cannot set Context ; nested exception is: ORABPEL-11812 Error while processing an API interaction execution. An error occurred while processing the interaction for invoking the WF_ENGINE.SETITEMATTRTEXT API. Cause: oracle.tip.adapter.apps.AppsContextValidationException: Cannot set Context Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable. at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:173) at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:120)
    it indicate " cannot set context". but there is no method of wf_engine api to set it.
    Thanks,
    Rock

    Hi, Buddy,
    Did you fix your issue?
    Now, I have the same issue, EBS version is 12.1.3. Using Soapui invoking PL/SQL, then go back to SOA monitor to check the error message.
    Could you please give me some advises?
    Thanks,
    Jackie

  • Invoke a procedure from a MQ adapter

    I plan to invoke a procedure (request/reply paradigm) from a MQ adapter. The MQ adapter configured in client mode will receive a message from a remote MQ Queue Manager. On reception of a message, it will invoke the procedure. A DB adapter will implement the procedure (stored procedure). The reply will be resent to MQ Series. In MQ Series (now called Websphere MQ) terminology the MQ Message Correlation ID of the reply message must contain the Message ID of the request (quite logic in all MOM implementations). So far I couldn't find in the Oracle documentation if this is handled by the MQ adapter automatically. I didn't find either a way to retrieve the Message ID from the MQ message nor how to force the Correlation ID.
    Did someone already looked at implementing a request/reply with a MQ adapter?
    Claude

    Claude,
    The support for invoke and implement messages, such as Procedure calls, is enabled by the native support for request and reply messages in MQ Series, including its message correlation capability. It is only available when the MQ Series adapter operates in D3L mode.
    In order to take advantage of this capability, a few extra steps need to be performed during configuration, including modifying the D3L files and defining correlation fields in iStudio.
    Pl check the following link for more details: http://iasdocs.us.oracle.com/iasdl/90402integration/integrate.904/b10411/runtime.htm#1009211
    Should you have further questions, pl update this forum thread with more info. Thanks.
    - Latha

  • Initiating guided procedures  from web dynpro

    Hi All ,
             I am working on Netweaver 7.1  with guided procedures . I want to handle all process from web dynpro , i.e. i want to initiate process from web dynpro not from portal.
    Thanks in advance
    Regards
    Kavita

    Hi Kavita,
    You can Initiate the GP Process from web dynpro.
    Refer to these blogs.You have all that is required for you in these bolgs.
    The specified item was not found.
    The specified item was not found.
    Regards,
    Sumangala

  • To invoke tax procedure from SRM

    Hi Guru's
    We are using SRM ECS and our backend is connected to TAXWARE. Can you please let me know how to invoke TAX Procedure/Pricing Procedure in backend from SRM. If you can list the BAPI's, FM, RFC's that would be helpful.
    Thanks in advance
    Deepu.

    closed

  • XSQL: how to invoke stored procedure from XSQL

    Any one has example on how to invoke stored procedure within XSQL with associated *.xsl? What the syntax looks like? Thanks.

    If you want to simply invoke a stored procedure, use:
    <xsql:dml>
    begin
    proc(args);
    end;
    </xsql:dml>
    If you want to return XML that your stored procedure "prints" to the OWA page buffer, then use:
    <xsql:include-owa>
    If you want to invoke a stored function that returns a REF CURSOR function, then use <xsql:ref-cursor-function>
    null

  • Can I invoke Oracle Form from web page?

    Does anyone know how can I invoke an Oracle Forms form from an html page?

    Hi Hans
    That's what I thought re the url but I can't find out what it is, it briefly appears in the browser but then goes leaving me with the formsweb.cfg config url. I am running from the Builder on Windows 2000 and it's Forms 10g.
    Marc

  • Invoke Bpel process from web application

    Hi,
    I am using SOA 11g, I have created a Bpel human workflow process. was able to initiate the same from the console.
    My requirement is like need to invoke the same programatically.How can I do that.
    Read some docs says Bpel process can be invoked from ejb's soap etc.
    I am new to, bit confused what and how to implement the same.
    Can any one provide me links/sample for the same.
    Also need How to get the tasks ID if we want to initiate the tast thru java program
    Thanks
    Naga

    can you please tell which jar file has com.oracle.bpel.client.Locator class in SOA 11g.
    I have checked in
    1. C:\Oracle\Middleware\Jdev\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar and
    2. C:\Oracle\Middleware\Home\Oracle_SOA1\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar
    couldn't find the java file at these locations.
    thanks
    Naga

  • Invoke stored procedure from JDBC Adapter

    Is there a tool that generates interfaces for stored procedure(ORACLE PL/SQL) like RFC or IDOC adapters?

    Hi Denis,
    I dont think there is any such tool.]
    To generate a Stored Procedure of your Oracle DB, all you will have to do in your <b>JDBC adapter configuration</b> is give the name of the Stored Procedure under <Table> and you will have to give "<b>execute</b>" as the value under action attribute.
    Just check this link. Hope it helps,
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/8c103e05df2e4b95cbcc68fed61705/content.htm
    Just check this blog of Sriram wherein a stored procedure of a MaxDB Database is called.
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    I have implemented a scenario which requires an Oracle stored procedure to be executed and so, if you do need any further info, let me know.
    Hope this info helps,
    Regards,
    Bhavesh

  • Siebel analytics(Invoking Stored Procedure)

    Hi all,
    I am using Siebel Analytics(7.8.2) and am a new bee to this.
    I have invoked stored procedure from Siebel Administration but is it possible to do the same from Siebel web analytics?. I have a report where on clicking on a link/button i want to invoke a stored procedure.
    Thanks in advance
    Dhrubo...

    Hi,
    create java impl class of application module by going to java tab
    and refer following code
        public Connection getCurrentConnection() {
            Statement st = null;
            try {
                st = getDBTransaction().createStatement(0);
                return st.getConnection();
            } catch (SQLException s) {
                s.printStackTrace();
                return null;
            } finally {
                if (st != null)
                    try {
                        st.close();
                    } catch (SQLException s2) {
    public void callP(){
    Connection conn = getCurrentConnection();
                 CallableStatement cs = null;
                String stmt = "xx.xx(?,?,?,?,?,?,?)";  // ? depends on number of parametrers of procedure
                try {
                    cs = conn.prepareCall("begin " + stmt + "; end;");
                    cs.setObject("parameterName", "some Value");
                    cs.execute();
                } catch (SQLException e) {
                   throw new JboException(e);
                } finally {
                    if (cs != null) {
                        try {
                            cs.close();
                        } catch (SQLException e) {
    calling oracle stored procedure in java
    Hope this helps
    Edited by: Santosh Vaza on Apr 25, 2012 12:07 PM

  • Invoke ODI scenario from Fusion ESS

    Hi,
    We have developed one ODI scenario as part of our project to migrate the data from source(oracle DB) to target(oracle DB).
    We would need to call this ODI scenario from a ESS Job to migrate the data to target.
    Can you please let us know, what job type need to be defined for ESS job and
    how the ODI scenario can be invoked from the ESS job ?
    Thanks

    Can you go to the command line from ESS?
    Install the Agent only runtime client so its visible to ESS and run startcmd.sh in this format :
    startcmd.sh OdiStartScen -SCEN_NAME=PURGE_OPERATOR_LOG -SCEN_VERSION=-1 -CONTEXT=GLOBAL -AGENT_CODE=DGDW_AGN
    If you want to specify the agent.
    or simply :
    startscen.sh PURGE_OPERATOR_LOG -1 GLOBAL NAME=DGDW_AGN
    if you are happy for the machine where the Agent software has been installed to orchestrate the job.
    Failing that, you could look at invoking your scenario from web services ?

  • OBPM 10.3.2 Project Procedures from ScreenFlows

    I have defined a new Procedure called calculateRoute in a folder called Procedures within Processes tree in my project.
    I used the Project - New - Procedure wizard.
    The procedure has input and output arguments.
    I would to know is it possible to invoke the procedure from within a automatic activity within a Screenflow.
    Same question - this time from within a Process.
    Many Thanks for your responses.
    TR

    You could invoke your procedure from a process by adding an Automatic activity in the process and invoking it from there.
    Screenflow is a different story. You could add an Automatic task in the screenflow but cannot invoke a procedure from this.

  • How to limit the response rows while invoking a stored procedure from OSB 10gR3

    Dear Experts,
    I am trying to limit the response while invoking a stored procedure from OSB via DB adapter.
    Here the stored procedure returns cursors as response. I tried using the MaxTransactionSize propertiy (which is used for polling the database option in DB adapter).
    We are investigating the ways to protect the application from response containing huge number of rows.
    Is there any way to restrict the number of rows returned in each and every cursor while invoking the stored procedure via DB adapter?
    Thanks
    Ram

    Hi James ,
    I want to know how to run stored procedure using jca adapter in OSB11g.
    I am new to stored prcoedure,will be great if you could share some example on it as above.
    Req: Single input xml will be posted on queue ,need to perform 3 DB operation (with same input):
    1.Insert operation to insert master table contents.
    2.select the primary key column value from master table for the last inserted record.
    3.Need to insert primary key column value + other fields frm same xml file to child table.
    Pls assist me on how to create a simple stored procedure and to run the same with OSB 11g.I am familiar with creation of DB adapter using Jdeveloper,we have option to perform insert and to call stored procedure here,will it be useful for this scenario?
    Edited by: Anitha R on Nov 21, 2010 9:30 PM

  • Problems invoking a method from a web service

    Am using netbeans 6.1 and my problem is when i invoke a method from a web service that has a custom class as a return type.
    When I debug the client that consumes my web service, It get Stack in this line:
    com.webservice.WebServiceInfoBean result = port.getWebServiceInfo(nameSpace, serviceName, portName, wsdlURL);
    i don't get any error on the console.
        static public void function1() {
            try { // Call Web Service Operation
                com.webservice.WebServiceMonitorService service = new com.webservice.WebServiceMonitorService();
                com.webservice.WebServiceMonitor port = service.getWebServiceMonitorPort();
                // TODO initialize WS operation arguments here
                java.lang.String nameSpace = "NameSpaceHere";
                java.lang.String serviceName = "WebServicePrueba";
                java.lang.String portName = "Soap";
                java.lang.String wsdlURL = "http://localhost/Prueba/WebServicePrueba.asmx?wsdl";
                // TODO process result here
                com.webservice.WebServiceInfoBean result = port.getWebServiceInfo(nameSpace, serviceName, portName, wsdlURL); // <--- here it stack
                System.out.println("getWebServiceInfo");
                Iterator i = result.getMethods().iterator();
                while (i.hasNext()) {
                    MethodBean method = (MethodBean) i.next();
                    System.out.print("Nombre: " + method.getname());
                    System.out.print(" Returns: " + method.getreturnType());
                    Iterator j = method.getparameters().iterator();
                    while (j.hasNext()) {
                        ParameterBean parameter = (ParameterBean) j.next();
                        System.out.print(" ParameterName: " + parameter.getname());
                        System.out.print(" ParameterType: " + parameter.gettype());
                    System.out.print("\n");
                    System.out.print(method.getfirma());
                    System.out.print("\n");
                    System.out.print("\n");
            } catch (Exception ex) {
                ex.printStackTrace();
        }Web Service side
         * Web service operation
        @WebMethod(operationName = "getWebServiceInfo")
        public WebServiceInfoBean getWebServiceInfo(@WebParam(name = "nameSpace")
        String nameSpace, @WebParam(name = "portName")
        String portName, @WebParam(name = "serviceName")
        String serviceName, @WebParam(name = "wsdlURL")
        String wsdlURL) throws Throwable {
            //TODO write your implementation code here:
            webservicemonitor instance = new webservicemonitor();
            return instance.getWebServiceInfo(nameSpace, serviceName, portName, wsdlURL);
        }I have tested my internal code from the web service side and everything works fine. The problem occurs when i invoke it from a client side. probably I did not made the right serialization form my class WebServiceInfoBean? or am missing something. here it is:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.beans;
    import java.util.ArrayList;
    * @author Tequila_Burp
    public class WebServiceInfoBean implements java.io.Serializable {
         * Holds value of property wsdlURL.
        private String wsdlURL;
         * Getter for property wsdlURL.
         * @return Value of property wsdlURL.
        public String getwsdlURL() {
            return this.wsdlURL;
         * Setter for property wsdlURL.
         * @param wsdlURL New value of property wsdlURL.
        public void setwsdlURL(String wsdlURL) {
            this.wsdlURL = wsdlURL;
         * Holds value of property namespace.
        private String namespace;
         * Getter for property namespace.
         * @return Value of property namespace.
        public String getnamespace() {
            return this.namespace;
         * Setter for property namespace.
         * @param namespace New value of property namespace.
        public void setnamespace(String namespace) {
            this.namespace = namespace;
         * Holds value of property serviceName.
        private String serviceName;
         * Getter for property serviceName.
         * @return Value of property serviceName.
        public String getserviceName() {
            return this.serviceName;
         * Setter for property serviceName.
         * @param serviceName New value of property serviceName.
        public void setserviceName(String serviceName) {
            this.serviceName = serviceName;
         * Holds value of property wsdlURL.
        private String portName;
         * Getter for property wsdlURL.
         * @return Value of property wsdlURL.
        public String getportName() {
            return this.portName;
         * Setter for property wsdlURL.
         * @param wsdlURL New value of property wsdlURL.
        public void setportName(String portName) {
            this.portName = portName;
         * Holds value of property methods.
        private ArrayList methods = new ArrayList();
         * Getter for property methods.
         * @return Value of property methods.
        public ArrayList getmethods() {
            return this.methods;
         * Setter for property methods.
         * @param methods New value of property methods.
        public void setmethods(ArrayList methods) {
            this.methods = methods;
        public MethodBean getMethod(int i) {
            return (MethodBean)methods.get(i);
    }by the way, everything has been worked on the same PC.

    Hi Paul,
    This sound familiar, but I cannot at the moment locate a reference to
    the issue. I would encourage you to seek the help of our super support
    team [1].
    Regards,
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Paul Merrigan wrote:
    >
    I'm trying to invoke a secure 8.1 web service from a 6.1 client application and keep getting rejected with the following message:
    Security Violation: User: '<anonymous>' has insufficient permission to access EJB:
    In the 6.1 client, I've established a WebServiceProxy and set the userName and password to the proper values, but I can't seem to get past the security.
    If there something special I need to do on either the 8.1 securing side or on the 6.1 accessing side to make this work?
    Any help would be GREATLY appreciated.

Maybe you are looking for

  • Is there a way to have multiple responders work on the same form?

    I am creating a form that multiple people need to answer. For example, I work on a team where multiple people need to complete their part of the checklist for one employee.  Is there a way multiple people can work on a specific for that was already s

  • Cisco 4507R problem

    I have started to see the problem for couple days where some hosts connected to 4507R stopped responding to ping and I saw huge latency upto 400msec. (In normal cases it is 1 msec becuase they are directly connected hosts. I couldn't find anythiing i

  • Rerun tts import with ASM

    I am doing a data migration from one platform to another (itanium, shared file system to linux ASM). I went through the process to import all datafiles into ASM with Rman, and I was ready to import the metadata. I messed up, and forgot to create the

  • How to use a scanner!

    I'm writing after 3 hours of trial and error. I've a Canon Lide 20 and I've downloaded and installed the driver and scanbox software. I confirmed that the device is connected to my mac. The problem is that the canon scanning software wants me to link

  • Student need details about Business One prices.

    Hi I'm a german student and i have to do a project about SAP Business One. It's necessary for me to get more informations about the prices for this ERP software. I've searched the I-net for many days but couldn't find any helpfull informations. I nee