Oracle XML Gateway- Mapping XML to Oracle Apps API - Wrong Number or types

XML GATEWAY INBOUND – CALLING AN API (PL/SQL record type IN variable) TO INSERT THE DATA INTO SAMPLE TABLE
Hi,
I am using XML Gateway to push data into Oracle Apps using a procedure call with “Record Type” as the parameter. I am getting a “wrong number” or types of arguments mismatch error inspite of following the process described in the Oracle XML Gateway User’s Guide
Steps followed:
DB
1. I Created a sample table XX_CUST_HIST(ID NUMBER, ACCOUNT_NAME VARCHAR2(50), FIRST_NAME VARCHAR2(50), LAST_NAME VARCHAR2(50), TITLE VARCHAR2(50))
2. I then Created a package ‘XX_XML_DEMO_API’ in which we have defined a record type and a procedure.
3. The Record type ‘customerRecordType’ holds account_name , first_name, last_name and the title.
4. The Procedure ‘insert_customer_r’ takes 2 IN arguments :
1. p_ id number
2. p_customer customerRecordType
5. The procedure will insert the values into xx_cust_hist table
p_id -> id
p_customer.account_name -> account_name
p_customer.first_name -> first_name
p_customer.last_name -> last_name
p_customer.title -> title
Now I need to call the procedure ‘XX_XML_DEMO_API . insert_customer_r’ from XML gateway.
Following are the steps to call the procedure:
[1] Create DTD
ELEMENT NEW_CUSTOMER_APIR (DATAAREA)
ELEMENT DATAAREA (CUSTOMER_DATA)
ELEMENT CUSTOMER_DATA (ID, CUSTOMER_RECORD)
ELEMENT ID (#PCDATA) ELEMENT CUSTOMER_RECORD (ACCOUNT_NAME, FIRST_NAME, LAST_NAME, TITLE)
ELEMENT ACCOUNT_NAME (#PCDATA)
ELEMENT FIRST_NAME (#PCDATA)
ELEMENT LAST_NAME (#PCDATA)
ELEMENT TITLE (#PCDATA)
[2] Creation of XML map Data Definition type for Source and Destination are set to XML.
While executing the procedure ‘XX_XML_DEMO_API . insert_customer_r’ in post_process from the message designer, instead of 2 (p_id IN number , p_customer IN customerRecordType) parameters it is showing 6 parameters (p_id IN number, p_customer IN customerRecordType, account_name IN varchar2, first_name IN varchar2, last_name IN varchar2, title IN varchar2). Six parameters are getting mapped, instead of the 2 that the procedure really needs.
[3] Testing of XML map. Error message in transaction monitor:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'INSERT_CUSTOMER_R' ORA-06550: line 1, column 7: PL/SQL: Statement ignored -
ECX_ACTIONS.BIND_PROC_VARIABLES
The process executed and produced the error message given in the step 3. The standard documentation is unclear on how this should be done. Being a newbie to the XML Gateway technology I am unable to get a clue about what the error message could be and which step of the process produced the message. Could anyone help me to proceed further?
Thanks in advance.

Hi Siva,
It seems like the walletkey property of event type is defined incorrectly. Please try by defining the event as follows:
<wlevs:property name="walletkey" type="char" length="20"/>
Use "char" instead of "char[]".
Best Regards,
Sandeep

Similar Messages

  • Replicating a standard Oracle API giving PLS-00306: wrong number or types

    I have replicated standard Oracle API to customize it and call it from an external procedure.
    When I am calling the customized API, it is giving me '[Error] PLS-00306 (3484: 16): PLS-00306: wrong number or types of arguments in call to 'PICK_RELEASE'' error.
    I am pretty sure that I am passing proper parameter values to the customized API call.
    Is there any thing I am missing here or is there any restriction on package which is not letting me use the standard API?
    Thank you,

    996060 wrote:
    I have replicated standard Oracle API to customize it and call it from an external procedure.
    When I am calling the customized API, it is giving me '[Error] PLS-00306 (3484: 16): PLS-00306: wrong number or types of arguments in call to 'PICK_RELEASE'' error.
    I am pretty sure that I am passing proper parameter values to the customized API call.
    Is there any thing I am missing here or is there any restriction on package which is not letting me use the standard API?
    Thank you,Have you reviewed the suggested solutions in (OERR: PLS-306 wrong number or types of arguments in call to '%s' [ID 27323.1])?
    Thanks,
    Hussein

  • Oracle XML Gateway Message Designer for Oracle EBS R12.1.2

    Goog Day to everyone!
    I'm Looking for the tool "XML Gateway Message Designer". I have found in Metalink(Oracle Support) the note ID 557101.1, here explain how to get the message designer for Oracle Apps R12. It says that you have to download the patch 4066964. This patch install the Oracle Workflow Builder (2.6.3.0.1) and the Oracle XML Gateway Message Designer (2.6.3). This tools are supported to be used with Oracle Apps 11.5.10 and 12.0.X.
    The release of Oracle Apps that I'm using is 12.1.2.
    Questions:
    - The version of the Message Designer that you get from patch 4066964 works for OraApps R12.1.2 ?
    - The version of the Workflow Builder that you get from patch 4066964 works for OraApps R12.1.2 ?
    - If the version of Message Designer doesn't work with OraApps R12.1.2, where can I find one that works with it?
    Thanks for your advice.
    LCJ

    Hi Hussein,
    Thanks for replay.
    I downloaded the rapid install package from e-delivery. The B53824-01_4of4 was the OWB installer, and it has a readme file that says: "+This patch contains Oracle Workflow Builder (version 2.6.3.0.1) and Oracle XML Gateway Message Designer (version 2.6.3). These client tools are supported for use with an Oracle E-Business Suite Release 12.1 instance.+"
    I believe, as well as you, that it should be work for 12.1.2.
    I'm gonna make some test, and in a few days I will post my results.
    Thanks for the help.
    LCJ

  • Is the xml gateway one part of oracle application server 10g

    If I buy the oracle application 10g server, does it include the xml gateway?

    No it does not include XML gateway. It includes XDK and Workflow among others, but no XML gateway.

  • XML Gateway  Mapping Issue

    Hi All,
    My map has following structure
    -<envelope> -- root element and also level
    -<gdsnItemRegistryResponse> --Level
    -<docException> --Level
    -<docAcknowledgement> --Level
    <docException> and <docAcknowledgement> are siblings
    I dont have any dtd's associated with map
    In payload <docException> and <docAcknowledgement> can be occur in any order
    When I push the payload with following order same as defined in XMG map
    -<docException>
    -<docAcknowledgement>
    its working fine
    but when I push the payload with different order
    -<docAcknowledgement>
    -<docException>
    PL/SQL procedure calling on INPROCESS action on <docAcknowledgement> is
    working fine,
    but
    PL/SQL procedure calling on INPROCESS action on <docException> is being
    performed, but XML Gateway is not passing values to the parameters of that
    procedure.
    When I verified the parameter values in log, all are null
    I am calling same procedure on both tags
    How to overcome above problem ?
    How to enforce that two tags can be in any order without dtd?
    Thanks
    -Praveen

    Just I am confirming my map structure
    -<envelope> -- root element and also level
    ----<gdsnItemRegistryResponse> --Level
    -------<docException> --Level
    -------<docAcknowledgement> --Level                                                                                                                                                                                                                                                                                                                                                                                                   

  • XML Gateway Mapping of XML Element Attribute

    Hi:
    If an inbound XML message contains this tag:
    <STATUS CODE="100"></STATUS>
    is it possible to map the CODE attribute to a database column?
    I've been attempting to do this but I'm receiving this error: Element STATUS not complete, expected elements ''.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I'll answer my own question here.  Found the section in the XML User Guide about mapping HTTP Error Responses (chapter 22 in the v6.1 pdf) and realized that the XML gateway had preconfigured settings to handle various error conditions.  Edited the error handling configuration for the specific Handler (rather than the global setting) and checked the box to allow the error to pass through the XML gateway.  Redeployed the subpolicy.

  • Oracle Database Gateway for ODBC with Oracle XE

    Dear Colleague,
    Is it possible to use the Oracle Database Gateway for ODBC in conjunction with the Oracle Express Edition (or does one have to use the Standard or Enterprise Editions)? If yes, are there any restrictions when using the Oracle Database Gateway for ODBC in the context of Oracle XE?
    Best regards,
    Randy

    Hi,
    As it says, as long as you have an RDBMS license then you do not need a separate license for DG4ODBC. If the confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a machine different" then that is just to clarify that you can run the gateway on a completely separate machine from where the licensed RDBMS is running, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
    If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed into a separate ORACLE_HOME.
    If this is still not clear then please get back and let us know exactly what you need clarifying.
    Regards,
    Mike

  • Oracle XML Gateway - custom WSDL configuration in service partner setup

    We are trying to configure a custom WSDL for service partners to send/receive outbound/inbound messages using OTA. I have a coded a WSDL that pretty much replicates the Generic WSDL template that was provided with the gateway. When i configured it, it has trouble finding the endpoint of the custom WSDL. Has anyone run into this situation before? Please throw some light on this issue. We are pretty much stuck right now!!

    No. I am afraid that your understanding is incorrect. Oracle B2B is part of Oracle SOA suite and XML Gateway is part of Oracle Apps. Yes both of them have some overlapping areas of work but apart from that both products do not have any connection in between.
    Regards,
    Anuj

  • OracleApps Adapter VS Oracle XML Gateway

    Can any one tell me difference between Interconnect Oracle Apps adapter and Oracle XML Gateway. I am not familiar with Oracle XML gateway tool. I wonder if i could use XML Gateway comes with Interconnect Oracle Apps adapter instead of the product Oracle XML Gateway.

    Hi,
    I am also having one question relating to this thread.
    We are using Oracle Applications 11.5.10.
    We have a Business Requirement to send Approved Purchased Orders to Supplier in XML format.
    We have made all the required setup to generate the PO in XML format using XML Gateway, which places the XML message in a queue.
    Our design expert has suggested us to use Oracle Applications Interconnect for sending the message to the supplier through AQ adapter (From Oracle Apps to Interconnect) and HTTP adapter (from Interconnect to supplier).
    As per my knowledge (read in Oracle documentation) this can be done using Oracle Transport Agent (OTA), which comes with Oracle XML Gateway and also I believe that OTA is tightly integrated with Oracle XML gateway and we can easily track the status of the message.
    When contacted our design expert he told that there are some advantages of using Interconnect but I didn't understand his argument well, may be because I am very much new to using Oracle Interconnect.
    I will be grateful if somebody could tell me, how advantageous is using Interconnect over Oracle Transport Agent (OTA) (please note we are not doing any modifications to the message generated by XML gateway, we are transferring as it is).
    Thanks in Advance,
    Thiru

  • Need to send XML msg to TP using B2B, but format should be Orcl XML Gateway

    Current Interface:
    ==================
    We have an EBS 11.5.10 with XML Gateway.
    Actively we were exchanging XML data with 5 trading partners (different application maintained by 3rd party) using EBS XML Gateway.
    XML Gateway uses OAG Format (attached the format bellow)
    Future Interface:
    =================
    Our company is in process of moving our EBS 11.5.10 app to Oracle Fusion Apps.
    Oracle Fusion app interfaces will be using Fusion Middleware and B2B.
    For that we doing a POC interface between a Fusion MDM and 1 Trading Partner.
    Problem:
    ========
    But, when sending XML message to other TP using B2B, the format is different. i.e. Message in the XML Format.
    Eg.
    <?xml version="1.0" ?><OUTB_FUS_IND_DATA> <OUTB_FUS_IND TRANSACTION_TYPE="TP_INDIVIDUAL_OB" TRANSACTION_SUBTYPE="INDIVIDUAL.UPDATE"> <OUTB_FUS_IND KEYVALUE="100010058799220" PERSON_FIRST_NAME="Xyz" PERSON_LAST_NAME="Abc"/> </OUTB_FUS_IND></OUTB_FUS_IND_DATA>
    Oracle XML Gateway send message with message envelop, which have attributes as text field and payload in the XML message format (XML Gateway envelope details is below).
    (Sample XML messages goes out: HTTP Body
    TRANSPORT_PROTOCOL=OXTA
    TRANSPORT_PROTOCOL_VERSION=1.0
    REQUEST_TYPE=SEND
    MESSAGE_ID=A1234567890ZZ0987654321
    MESSAGE_TYPE=XML
    MESSAGE_STANDARD=OAG
    TRANSACTION_TYPE=TP_INDIVIDUAL_IB
    TRANSACTION_SUBTYPE=INDIVIDUAL.UPDATE
    DOCUMENT_NUMBER=12345
    PARTYID=9999
    PARTY_SITE_ID=8888
    PROTOCOL_TYPE=HTTPSu2013OXTA
    PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
    Therefore, when I receive the document in PI the mapping fails due to an incorrectly formed message payload. For example:
    TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&REQUEST_TYPE=SEND&MESSAGE_ID=9EA3BD2......
    We want B2B send messages to other TP as same way XML gateway use to send.
    How we solve this issue?
    XML Gateway Envelope (Manual)
    =====================
    In addition to the business document such as a purchase order or invoice in the XML Payload, a set of message attributes are transmitted. Collectively, these attributes are called the XML Gateway envelope.
    This section discusses the XML Gateway envelope and its data in the validation process for inbound messages, or its source of data for its creation for outbound messages. Data entered into the Trading Partner Setup form is referred to as data in the trading partner table. Data entered into the Define Transactions form is referred to as data in the transaction table.
    Most of the data elements are copied from the Trading Partner tables or the Transaction tables to the XML Gateway envelope.
    Attribute
    =========
    MESSAGE_TYPE
    MESSAGE_STANDARD
    TRANSACTION_TYPE
    TRANSACTION_SUBTYPE
    DOCUMENT_NUMBER
    PARTYID
    SOURCE_TP_LOCATION_CODE
    PARTY_TYPE
    PROTOCOL_TYPE
    PROTOCOL_ADDRESS
    USERNAME
    PASSWORD
    ATTRIBUTE1
    ATTRIBUTE2
    ATTRIBUTE3
    ATTRIBUTE4
    ATTRIBUTE5
    PAYLOAD

    First of all EBiz and B2B/BPEL are two different products meant for different purpose and hence you cannot expect that EBiz and B2B/BPEL should have same functionality.
    Whatever headers you have mentioned, those are added by OXTA (Oracle Transport Agent) which is part of EBiz. You can add almost all these headers in Oracle B2B in "Additional transport headers" section of Transport Protocol Parameter.
    Search for "Additional transport headers" at below link -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/b2b_tps.htm#BABBCDHI
    Regards,
    Anuj

  • Order Import after PO Inbound via XML Gateway Error

    I am using Apps Adapter (11g) to connect to EBiz Suite 11.5.10. I am doing PO Inbound and using XML Gateway to create the sales order. Even though I am populating order type in <POTYPE> under the <POORDERHDR>, during order import, I keep getting the error that "please provide order type". Can you please let me know which xml tag I need to populate the order type.
    Thanks
    Shanthi

    Following are some of the pros of using XML Gateway:
    1) XML is being accepted and more and more technologies are moving towards XML, so that "seems" to a future ready solution
    2) XML processing is real-time.
    3) Most of the maps for universally accepted standards are seeded in Oracle.
    4) You can use Oracle Supplier Network(Free service provided by Oracle) with your XML gateway to transmit/receive xml documents to a supplier who may or may not be accepting the format you are generating(e.g. if your PO is in OAG standard and your supplier is accepting cXML format, OSN takes care of translating your document)
    You might want to consider these points while deciding the technology.
    Nitin S. Darji

  • Connecting XML Gateway outbound to BPEL.

    Hello Folks,
    I am trying to use XML Gateway as a notification mechanism to trigger BPEL in Fusion middleware suite. For example XML Gateway in eBiz will publish a new hire event from XML Gateway to invoke a BPEL process.
    The problem I am having is getting XML Gateway event to invoke BPEL. Can some one point me to a tutorial? If you have implemented it in-house, could you please point me to a list of things to-do?
    I have gone through XML Gateway users guide as well as Oracle Applications Adapters guide, but still couldn't get the integration working. Any advice would be very much appreciated.
    Regards,
    Manoj
    7139181668(Phone)
    [email protected]

    Hi,
    I was searching about XML gateway on google & found out this link. Here I am providing with URL for XML Gateway. I know its a very old post but may be the link provided by me will prove helpful for someone.
    URL for XML Gateway:
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28351/T430238T430339.htm
    cheers,
    Abhi..

  • When text/xml is not XML

    Greetings XDBers,
    [ (9.2.0.4.0) on Windows Server 2003 (Standard) ]
    Using xdbconfig.xml, I mapped the custom extensions "xrq" and "xnt" to mime type "text/xml" however, the resources created in the repository in response to an FTP upload with those extensions are created as CLOB (non-schema-based) XML.
    Strangely enough
    INSERT INTO <schema_mapped_table>
    SELECT rv.res.createSchemaBasedXML()
    FROM RESOURCE_VIEW rv
    WHERE under_path( v.res, '/public/application/inbound' ) = 1;
    works correctly, so its seemingly not the inbound XML structure thats at fault.
    Is the schema mapping (shred) triggered in some other way?
    Thanks,
    Lachlan

    SQL*Plus: Release 10.1.0.2.0 - Production on Thu Apr 8 22:34:13 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> spool addMimeType.log
    SQL> set trimspool on
    SQL> connect sys/&1 as sysdba
    Connected.
    SQL> --
    SQL> set timing on
    SQL> set long 10000
    SQL> set pages 10000
    SQL> set feedback on
    SQL> set lines 132
    SQL> --
    SQL> column EXTENSION format A10
    SQL> column MAPPING format A32
    SQL> --
    SQL> select extractValue(value(MAPPING),'/mime-mapping/extension','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    2 extractValue(value(MAPPING),'/mime-mapping/mime-type','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    3 from table(xmlsequence(extract(xdburitype('/xdbconfig.xml').getXML(),'/xdbconfig/sysconfig/protocolconfig/
    ppings/mime-mappings/mime-mapping'))) MAPPING
    4 /
    EXTENSION MAPPING
    au audio/basic
    avi video/x-msvideo
    bin application/octet-stream
    bmp image/bmp
    doc application/msword
    eml message/rfc822
    gif image/gif
    htm text/html
    html text/html
    jpe image/jpeg
    jpeg image/jpeg
    jpg image/jpeg
    jsp text/html
    mid audio/mid
    mov video/quicktime
    movie video/x-sgi-movie
    mp3 audio/mpeg
    mpe video/mpg
    mpeg video/mpg
    mpg video/mpg
    msa application/x-msaccess
    msw application/x-msworks-wp
    pcx application/x-pc-paintbrush
    pdf application/pdf
    ppt application/vnd.ms-powerpoint
    ps application/postscript
    qt video/quicktime
    ra audio/x-realaudio
    ram audio/x-realaudio
    rm audio/x-realaudio
    rtf application/rtf
    rv video/x-realvideo
    sgml text/sgml
    tif image/tiff
    tiff image/tiff
    txt text/plain
    url text/plain
    vrml x-world/x-vrml
    wav audio/wav
    wpd application/wordperfect5.1
    xls application/vnd.ms-excel
    xml text/xml
    xsd text/xml
    xsl text/xml
    zip application/x-zip-compressed
    45 rows selected.
    Elapsed: 00:00:00.30
    SQL> alter session Set events='19027 trace name context forever,level 4'
    2 /
    Session altered.
    Elapsed: 00:00:00.01
    SQL> call dbms_xdb.cfg_update
    2 (
    3 insertxml
    4 (
    5 dbms_xdb.cfg_get(),
    6 '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings',
    7 'mime-mapping',
    8 xmltype
    9 (
    10 '<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
    11 <extension>mdd</extension>
    12 <mime-type>text/xml</mime-type>
    13 </mime-mapping>'
    14 )
    15 )
    16 )
    17 /
    Call completed.
    Elapsed: 00:00:00.22
    SQL> call dbms_xdb.cfg_update
    2 (
    3 insertxml
    4 (
    5 dbms_xdb.cfg_get(),
    6 '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings',
    7 'xml-extensions',
    8 xmltype
    9 (
    10 '<xml-extensions xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
    11 <extension>mdd</extension>
    12 </xml-extensions>'
    13 )
    14 )
    15 )
    16 /
    Call completed.
    Elapsed: 00:00:00.07
    SQL> commit
    2 /
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> select extractValue(value(MAPPING),'/mime-mapping/extension','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    2 extractValue(value(MAPPING),'/mime-mapping/mime-type','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    3 from table(xmlsequence(extract(xdburitype('/xdbconfig.xml').getXML(),'/xdbconfig/sysconfig/protocolconfig/
    ppings/mime-mappings/mime-mapping'))) MAPPING
    4 /
    EXTENSION MAPPING
    au audio/basic
    avi video/x-msvideo
    bin application/octet-stream
    bmp image/bmp
    doc application/msword
    eml message/rfc822
    gif image/gif
    htm text/html
    html text/html
    jpe image/jpeg
    jpeg image/jpeg
    jpg image/jpeg
    jsp text/html
    mid audio/mid
    mov video/quicktime
    movie video/x-sgi-movie
    mp3 audio/mpeg
    mpe video/mpg
    mpeg video/mpg
    mpg video/mpg
    msa application/x-msaccess
    msw application/x-msworks-wp
    pcx application/x-pc-paintbrush
    pdf application/pdf
    ppt application/vnd.ms-powerpoint
    ps application/postscript
    qt video/quicktime
    ra audio/x-realaudio
    ram audio/x-realaudio
    rm audio/x-realaudio
    rtf application/rtf
    rv video/x-realvideo
    sgml text/sgml
    tif image/tiff
    tiff image/tiff
    txt text/plain
    url text/plain
    vrml x-world/x-vrml
    wav audio/wav
    wpd application/wordperfect5.1
    xls application/vnd.ms-excel
    xml text/xml
    xsd text/xml
    xsl text/xml
    zip application/x-zip-compressed
    mdd text/xml
    46 rows selected.
    Elapsed: 00:00:00.25
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    open mdrake-lap 2100
    user XDBTEST XDBTEST
    cd /home/XDBTEST
    ls -l
    put "testcase.xml" "testcase.xml"
    ls -l
    get "testcase.xml" "testcase.xml.out"
    quit
    Connected to mdrake-lap.
    220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production)
    331 pass required for XDBTEST
    230 XDBTEST logged in
    250 CWD Command successful
    200 PORT Command successful
    150 ASCII Data Connection
    drw-r--r-- 2 XDBTEST oracle 0 APR 09 05:34 xsd
    226 ASCII Transfer Complete
    ftp: 59 bytes received in 0.00Seconds 59000.00Kbytes/sec.
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 4810 bytes sent in 0.05Seconds 96.20Kbytes/sec.
    200 PORT Command successful
    150 ASCII Data Connection
    -rw-r--r-- 1 XDBTEST oracle 0 APR 09 05:34 testcase.xml
    drw-r--r-- 2 XDBTEST oracle 0 APR 09 05:34 xsd
    226 ASCII Transfer Complete
    ftp: 127 bytes received in 0.00Seconds 127000.00Kbytes/sec.
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 4434 bytes received in 0.00Seconds 4434000.00Kbytes/sec.
    221 QUIT Goodbye.
    SQL*Plus: Release 10.1.0.2.0 - Production on Thu Apr 8 22:34:16 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> spool testcase.log
    SQL> set trimspool on
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> set long 10000
    SQL> set pages 10000
    SQL> set feedback on
    SQL> set lines 132
    SQL> --
    SQL> select object_value from PURCHASEORDER
    2 /
    OBJECT_VALUE
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localh
    /poSource/xsd/purchaseOrder.xsd">
    <Reference>AMCEWEN-20030209123335701PDT</Reference>
    <Actions>
    <Action>
    <User>KPARTNER</User>
    </Action>
    </Actions>
    <Reject/>
    <Requestor>Allan D. McEwen</Requestor>
    <User>AMCEWEN</User>
    <CostCenter>S30</CostCenter>
    <ShippingInstructions>
    <name>Allan D. McEwen</name>
    <address>Oracle Plaza
    Twin Dolphin Drive
    Redwood Shores
    CA
    94065
    USA</address>
    <telephone>650 506 7700</telephone>
    </ShippingInstructions>
    <SpecialInstructions>Counter to Counter</SpecialInstructions>
    <LineItems>
    <LineItem ItemNumber="1">
    <Description>Blood for Dracula</Description>
    <Part Id="715515009522" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="2">
    <Description>That Obscure Object of Desire</Description>
    <Part Id="37429162026" UnitPrice="29.95" Quantity="4"/>
    </LineItem>
    <LineItem ItemNumber="3">
    <Description>Carnival of Souls</Description>
    <Part Id="715515010221" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="4">
    <Description>The Rock</Description>
    <Part Id="786936150421" UnitPrice="49.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="5">
    <Description>How to Get Ahead in Advertising</Description>
    <Part Id="715515012324" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="6">
    <Description>Playtime</Description>
    <Part Id="37429155820" UnitPrice="29.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="7">
    <Description>Beastie Boys Video Anthology</Description>
    <Part Id="715515010924" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="8">
    <Description>Charade</Description>
    <Part Id="37429139424" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="9">
    <Description>That Obscure Object of Desire</Description>
    <Part Id="37429162026" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="10">
    <Description>Withnail &amp; I</Description>
    <Part Id="715515012225" UnitPrice="29.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="11">
    <Description>Bob le Flambeur</Description>
    <Part Id="37429165928" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="12">
    <Description>A Nous la Liberte</Description>
    <Part Id="37429147726" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="13">
    <Description>Amarcord</Description>
    <Part Id="37429121825" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="14">
    <Description>Peeping Tom</Description>
    <Part Id="37429142929" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="15">
    <Description>That Obscure Object of Desire</Description>
    <Part Id="37429162026" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="16">
    <Description>Blood for Dracula</Description>
    <Part Id="715515009522" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="17">
    <Description>Orpheus</Description>
    <Part Id="37429141427" UnitPrice="0" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="18">
    <Description>General Idi Amin Dada</Description>
    <Part Id="37429166529" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="19">
    <Description>A Nous la Liberte</Description>
    <Part Id="37429147726" UnitPrice="29.95" Quantity="4"/>
    </LineItem>
    <LineItem ItemNumber="20">
    <Description>Big Deal on Madonna Street</Description>
    <Part Id="37429155424" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="21">
    <Description>All That Heaven Allows</Description>
    <Part Id="715515011426" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="22">
    <Description>Sullivan&apos;s Travels</Description>
    <Part Id="715515012126" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="23">
    <Description>Diary of a Chambermaid</Description>
    <Part Id="37429158128" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    </LineItems>
    </PurchaseOrder>
    1 row selected.
    Elapsed: 00:00:01.03
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    open mdrake-lap 2100
    user XDBTEST XDBTEST
    cd /home/XDBTEST
    ls -l
    put "testcase.mdd" "testcase.mdd"
    ls -l
    get "testcase.mdd" "testcase.mdd.out"
    quit
    Connected to mdrake-lap.
    220 mdrake-lap FTP Server (Oracle XML DB/Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production)
    331 pass required for XDBTEST
    230 XDBTEST logged in
    250 CWD Command successful
    200 PORT Command successful
    150 ASCII Data Connection
    -rw-r--r-- 1 XDBTEST oracle 0 APR 09 05:34 testcase.xml
    drw-r--r-- 2 XDBTEST oracle 0 APR 09 05:34 xsd
    226 ASCII Transfer Complete
    ftp: 127 bytes received in 0.00Seconds 127000.00Kbytes/sec.
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 4007 bytes sent in 0.01Seconds 400.70Kbytes/sec.
    200 PORT Command successful
    150 ASCII Data Connection
    -rw-r--r-- 1 XDBTEST oracle 0 APR 09 05:34 testcase.mdd
    -rw-r--r-- 1 XDBTEST oracle 0 APR 09 05:34 testcase.xml
    drw-r--r-- 2 XDBTEST oracle 0 APR 09 05:34 xsd
    226 ASCII Transfer Complete
    ftp: 195 bytes received in 0.01Seconds 19.50Kbytes/sec.
    200 PORT Command successful
    150 ASCII Data Connection
    226 ASCII Transfer Complete
    ftp: 3686 bytes received in 0.00Seconds 3686000.00Kbytes/sec.
    221 QUIT Goodbye.
    SQL*Plus: Release 10.1.0.2.0 - Production on Thu Apr 8 22:34:19 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> spool testcase.log
    SQL> set trimspool on
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> set long 10000
    SQL> set pages 10000
    SQL> set feedback on
    SQL> set lines 132
    SQL> --
    SQL> select object_value from PURCHASEORDER
    2 /
    OBJECT_VALUE
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localh
    /poSource/xsd/purchaseOrder.xsd">
    <Reference>AMCEWEN-20030209123335701PDT</Reference>
    <Actions>
    <Action>
    <User>KPARTNER</User>
    </Action>
    </Actions>
    <Reject/>
    <Requestor>Allan D. McEwen</Requestor>
    <User>AMCEWEN</User>
    <CostCenter>S30</CostCenter>
    <ShippingInstructions>
    <name>Allan D. McEwen</name>
    <address>Oracle Plaza
    Twin Dolphin Drive
    Redwood Shores
    CA
    94065
    USA</address>
    <telephone>650 506 7700</telephone>
    </ShippingInstructions>
    <SpecialInstructions>Counter to Counter</SpecialInstructions>
    <LineItems>
    <LineItem ItemNumber="1">
    <Description>Blood for Dracula</Description>
    <Part Id="715515009522" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="2">
    <Description>That Obscure Object of Desire</Description>
    <Part Id="37429162026" UnitPrice="29.95" Quantity="4"/>
    </LineItem>
    <LineItem ItemNumber="3">
    <Description>Carnival of Souls</Description>
    <Part Id="715515010221" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="4">
    <Description>The Rock</Description>
    <Part Id="786936150421" UnitPrice="49.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="5">
    <Description>How to Get Ahead in Advertising</Description>
    <Part Id="715515012324" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="6">
    <Description>Playtime</Description>
    <Part Id="37429155820" UnitPrice="29.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="7">
    <Description>Beastie Boys Video Anthology</Description>
    <Part Id="715515010924" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="8">
    <Description>Charade</Description>
    <Part Id="37429139424" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="9">
    <Description>That Obscure Object of Desire</Description>
    <Part Id="37429162026" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="10">
    <Description>Withnail &amp; I</Description>
    <Part Id="715515012225" UnitPrice="29.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="11">
    <Description>Bob le Flambeur</Description>
    <Part Id="37429165928" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="12">
    <Description>A Nous la Liberte</Description>
    <Part Id="37429147726" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="13">
    <Description>Amarcord</Description>
    <Part Id="37429121825" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="14">
    <Description>Peeping Tom</Description>
    <Part Id="37429142929" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="15">
    <Description>That Obscure Object of Desire</Description>
    <Part Id="37429162026" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="16">
    <Description>Blood for Dracula</Description>
    <Part Id="715515009522" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="17">
    <Description>Orpheus</Description>
    <Part Id="37429141427" UnitPrice="0" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="18">
    <Description>General Idi Amin Dada</Description>
    <Part Id="37429166529" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="19">
    <Description>A Nous la Liberte</Description>
    <Part Id="37429147726" UnitPrice="29.95" Quantity="4"/>
    </LineItem>
    <LineItem ItemNumber="20">
    <Description>Big Deal on Madonna Street</Description>
    <Part Id="37429155424" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="21">
    <Description>All That Heaven Allows</Description>
    <Part Id="715515011426" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="22">
    <Description>Sullivan&apos;s Travels</Description>
    <Part Id="715515012126" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="23">
    <Description>Diary of a Chambermaid</Description>
    <Part Id="37429158128" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    </LineItems>
    </PurchaseOrder>
    <PurchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localh
    /poSource/xsd/purchaseOrder.xsd">
    <Reference>AWALSH-20030909123337483PDT</Reference>
    <Actions>
    <Action>
    <User>KPARTNER</User>
    </Action>
    </Actions>
    <Reject/>
    <Requestor>Alana G. Walsh</Requestor>
    <User>AWALSH</User>
    <CostCenter>S30</CostCenter>
    <ShippingInstructions>
    <name>Alana G. Walsh</name>
    <address>1200 East Forty Seventh Avenue
    New York
    NY
    10024
    USA</address>
    <telephone>212 555 1212</telephone>
    </ShippingInstructions>
    <SpecialInstructions>Hand Carry</SpecialInstructions>
    <LineItems>
    <LineItem ItemNumber="1">
    <Description>Diary of a Chambermaid</Description>
    <Part Id="37429158128" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="2">
    <Description>Cries and Whispers</Description>
    <Part Id="37429156322" UnitPrice="29.95" Quantity="4"/>
    </LineItem>
    <LineItem ItemNumber="3">
    <Description>Chasing Amy</Description>
    <Part Id="717951002372" UnitPrice="39.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="4">
    <Description>Vagabond</Description>
    <Part Id="37429148921" UnitPrice="29.95" Quantity="4"/>
    </LineItem>
    <LineItem ItemNumber="5">
    <Description>Closely Watched Trains</Description>
    <Part Id="37429161524" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="6">
    <Description>Le million</Description>
    <Part Id="37429147627" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="7">
    <Description>Bob le Flambeur</Description>
    <Part Id="37429165928" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="8">
    <Description>Salo</Description>
    <Part Id="715515009225" UnitPrice="29.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="9">
    <Description>My Man Godfrey</Description>
    <Part Id="715515011921" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="10">
    <Description>My Man Godfrey</Description>
    <Part Id="715515011921" UnitPrice="39.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="11">
    <Description>The Bank Dick</Description>
    <Part Id="715515010627" UnitPrice="29.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="12">
    <Description>Armageddon</Description>
    <Part Id="715515010023" UnitPrice="49.99" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="13">
    <Description>The 400 Blows</Description>
    <Part Id="37429122228" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="14">
    <Description>Traffic</Description>
    <Part Id="696306038924" UnitPrice="39.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="15">
    <Description>Billy Liar</Description>
    <Part Id="37429159224" UnitPrice="39.95" Quantity="2"/>
    </LineItem>
    <LineItem ItemNumber="16">
    <Description>Billy Liar</Description>
    <Part Id="37429159224" UnitPrice="39.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="17">
    <Description>The Hidden Fortress</Description>
    <Part Id="37429135129" UnitPrice="29.95" Quantity="1"/>
    </LineItem>
    <LineItem ItemNumber="18">
    <Description>Samurai 2: Duel at Ichijoji Temple</Description>
    <Part Id="37429125526" UnitPrice="29.95" Quantity="3"/>
    </LineItem>
    <LineItem ItemNumber="19">
    <Description>Blood of a Poet</Description>
    <Part Id="37429147429" UnitPrice="0" Quantity="4"/>
    </LineItem>
    </LineItems>
    </PurchaseOrder>
    2 rows selected.
    Elapsed: 00:00:01.01
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.1.0.2.0 - Production on Thu Apr 8 22:34:20 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> spool removeMimeType.log
    SQL> set trimspool on
    SQL> connect sys/&1 as sysdba
    Connected.
    SQL> --
    SQL> set timing on
    SQL> set long 10000
    SQL> set pages 10000
    SQL> set feedback on
    SQL> set lines 132
    SQL> --
    SQL> column EXTENSION format A10
    SQL> column MAPPING format A32
    SQL> --
    SQL> select extractValue(value(MAPPING),'/mime-mapping/extension','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    2 extractValue(value(MAPPING),'/mime-mapping/mime-type','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    3 from table(xmlsequence(extract(xdburitype('/xdbconfig.xml').getXML(),'/xdbconfig/sysconfig/protocolconfig/
    ppings/mime-mappings/mime-mapping'))) MAPPING
    4 /
    EXTENSION MAPPING
    au audio/basic
    avi video/x-msvideo
    bin application/octet-stream
    bmp image/bmp
    doc application/msword
    eml message/rfc822
    gif image/gif
    htm text/html
    html text/html
    jpe image/jpeg
    jpeg image/jpeg
    jpg image/jpeg
    jsp text/html
    mid audio/mid
    mov video/quicktime
    movie video/x-sgi-movie
    mp3 audio/mpeg
    mpe video/mpg
    mpeg video/mpg
    mpg video/mpg
    msa application/x-msaccess
    msw application/x-msworks-wp
    pcx application/x-pc-paintbrush
    pdf application/pdf
    ppt application/vnd.ms-powerpoint
    ps application/postscript
    qt video/quicktime
    ra audio/x-realaudio
    ram audio/x-realaudio
    rm audio/x-realaudio
    rtf application/rtf
    rv video/x-realvideo
    sgml text/sgml
    tif image/tiff
    tiff image/tiff
    txt text/plain
    url text/plain
    vrml x-world/x-vrml
    wav audio/wav
    wpd application/wordperfect5.1
    xls application/vnd.ms-excel
    xml text/xml
    xsd text/xml
    xsl text/xml
    zip application/x-zip-compressed
    mdd text/xml
    46 rows selected.
    Elapsed: 00:00:00.25
    SQL> alter session Set events='19027 trace name context forever,level 4'
    2 /
    Session altered.
    Elapsed: 00:00:00.01
    SQL> call dbms_xdb.cfg_update
    2 (
    3 deletexml
    4 (
    5 dbms_xdb.cfg_get(),
    6 '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping[extension
    7 )
    8 )
    9 /
    Call completed.
    Elapsed: 00:00:00.23
    SQL> call dbms_xdb.cfg_update
    2 (
    3 deletexml
    4 (
    5 dbms_xdb.cfg_get(),
    6 '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/xml-extensions/extension[text()="mdd
    7 )
    8 )
    9 /
    Call completed.
    Elapsed: 00:00:00.06
    SQL> commit
    2 /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> select extractValue(value(MAPPING),'/mime-mapping/extension','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    2 extractValue(value(MAPPING),'/mime-mapping/mime-type','xmlns="http://xmlns.oracle.com/xdb/xdbconfig.x
    3 from table(xmlsequence(extract(xdburitype('/xdbconfig.xml').getXML(),'/xdbconfig/sysconfig/protocolconfig/
    ppings/mime-mappings/mime-mapping'))) MAPPING
    4 /
    EXTENSION MAPPING
    au audio/basic
    avi video/x-msvideo
    bin application/octet-stream
    bmp image/bmp
    doc application/msword
    eml message/rfc822
    gif image/gif
    htm text/html
    html text/html
    jpe image/jpeg
    jpeg image/jpeg
    jpg image/jpeg
    jsp text/html
    mid audio/mid
    mov video/quicktime
    movie video/x-sgi-movie
    mp3 audio/mpeg
    mpe video/mpg
    mpeg video/mpg
    mpg video/mpg
    msa application/x-msaccess
    msw application/x-msworks-wp
    pcx application/x-pc-paintbrush
    pdf application/pdf
    ppt application/vnd.ms-powerpoint
    ps application/postscript
    qt video/quicktime
    ra audio/x-realaudio
    ram audio/x-realaudio
    rm audio/x-realaudio
    rtf application/rtf
    rv video/x-realvideo
    sgml text/sgml
    tif image/tiff
    tiff image/tiff
    txt text/plain
    url text/plain
    vrml x-world/x-vrml
    wav audio/wav
    wpd application/wordperfect5.1
    xls application/vnd.ms-excel
    xml text/xml
    xsd text/xml
    xsl text/xml
    zip application/x-zip-compressed
    45 rows selected.
    Elapsed: 00:00:00.24
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    $

  • SSRS 2008 R2 calls Oracle stor proc produces error invalid number or type of parameters

    Hi,
    Our Microsoft SQL Server Reporting Services (SSRS) version 2008 R2 reports have been working for years. They retrieve data from stored procedures on an Oracle 11 DB using the Oracle 11 Client. After the Oracle Client on the SSRS server was upgraded from version 11 to 12, none of the reports work anymore.
    Trying to open any report in IE displays the following error:
    Query execution failed for dataset 'ds_MyDataset'. ---> System.Data.OracleClient.OracleException:
    ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'usp_MyOracleStoredProc'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The simplest example we're using to troubleshoot the problem is a report that has no parameters, which calls an Oracle stored procedure which has no input parameters, and only 1 output parameter (of type "Ref Cursor", the one Oracle needs in order to return the resultset). Even this simple report produces the error shown above.
    I placed a "debugging aid" inside the body of the stored procedure, a SQL insert statement to log to a table, so I can see if the body of the procedure's being executed at all. It never runs. That leads me to think that the error occurs before executing the procedure, when SSRS is probably using something like DeriveParameters() to detect the number and type of parameters the procedure has.
    This leads me to think that when SSRS detects which parameters the Oracle procedure has, the Oracle Client returns 1 parameter (the output cursor). SSRS looks at the number of parameters defined in the report's dataset, and it finds zero b/c the output cursor parameter Oracle uses to return the data doesn't need or can't be defined in SSRS. Then SSRS compares 1 <> 0, and displays the error.
    So, in order to test, I removed the output parameter (the one of type "Ref Cursor") from the Oracle stored procedure, and then the report runs, and the body of the procedure gets executed. There are no errors, but no data b/c the output cursor parameter has being removed from the Oracle procedure.
    This leads me to think that in this case, when SSRS detects which parameters the Oracle procedure has, the Oracle Client returns zero parameters. SSRS looks at the number of parameters defined in the report's dataset, and it matches b/c there aren't any, so SSRS proceeds to execute the procedure.
    Could there be a "miscommunication" between SSRS 2208 R2 and Oracle Client 12 in reference to the number of parameters, b/c with Client 11 all reports work, but with 12 none works?
    Any help with this matter will be greatly appreciated.
    Sincerely,
    Richard

    Our Microsoft SQL Server Reporting Services (SSRS) version 2008 R2 reports have been working for years. They retrieve data from stored procedures on an Oracle 11 DB using the Oracle 11 Client. After the Oracle Client on the SSRS server was upgraded from version 11 to 12, none of the reports work anymore.
    Havent' run across that one before but it sounds like more of a problem with SSRS than anything to do with Oracle.
    But what you posted above raises the obvious question: WHY?
    Why did you upgrad the Oracle client to 12c to begin with if you are still using an Oracle 11g database? Major upgrades like that are normally done for very specific reasons so what were they?
    I suggest you test by reinstalling the 11g client and get your reports working again.
    Also - did you install the new version of ODAC to support the new Oracle client? There could be a compatibility issue if you are using a new Oracle client but the older ODAC version.
    ODAC 12c Release 2 installation instructions
    You also need to make sure the bit versions (32 vs 64 bit) match.

  • Sending document to oracle xml gateway web service and body is url encoded

    Hello,
    a question from a complete newbie to web services. I have some code that is sending a soap message to an oracle xml gateway web service. In the soap message the values in the soap body look like &lt ;CNTROLAREA&gt ;
    when I would be expecting <CNTROLAREA>. What I have been told is that the content of the ReceiveDocument element has been url encoded which causes the &lt and to correct it I need to change the paramater type from object to xmlnode and to build the request as an xmldocument. The xmlnode and xmldocument comes from a .net guy so I've been trying to find the equivalent in java but am not having any luck. I have a lot of reading to do but was wondering if someone might be able to point me in the right direction on how to correct the problem. I captured the soap message being sent using tcpmon. Why does the body have the &lt instead of the < as I was expecting and is there an xmldocument type? The header part of the soap message looks as I expect. "><soapenv:Header><ns1:XMLGateway_Header xmlns:ns1="http://xmlns.oracle.com/apps/fnd/XMLGateway"><ns1:MESSAGE_TYPE>XML</ns1:MESSAGE_TYPE>. It is being sent as a com.oracle.xmlns.apps.fnd.XMLGateway.XMLGateway_Header type.
    thanks
    Thanks
    Edited by: twf123 on May 5, 2010 11:59 AM
    Edited by: twf123 on May 5, 2010 12:00 PM

    twf123 wrote:
    What I have been told is that the content of the ReceiveDocument element has been url encoded which causes the &lt and to correct it I need to change the paramater type from object to xmlnode and to build the request as an xmldocument. Where do you change the parameter type?
    The xmlnode and xmldocument comes from a .net guy so I've been trying to find the equivalent in java but am not having any luck. How do you get the data from .net guy? Which interface do you use? What processing do you do after receiving the data?

Maybe you are looking for

  • Queue problems!

    MAIN QUESTION IS: WHEN INSERTING AN ITEM INTO A QUEUE IT OVERWRITES THE PREVIOUS ITEMS WITH THE NEW ITEM, PLUS IT ADDS THAT ITEM AS WELL. SO IF THE QUEUE ORIGINALLY HAD 'N' ITEMS, WHEN YOU ADD A NEW ITEM YOU GET N+1 OF THAT NEW ITEM. SEE BELOW FOR MO

  • Error while opening Navigation setting is SharePoint 2013

    Unable to View negation bar and Also unable to open NavigationSettings in the site Setting. An error occured while rendering navigation for requested URL: /sites/PerformanceManagement. Exception message: Cannot open "/sites/PerformanceManagement/AFAQ

  • Another Transitions in iMovie (10.0.7 latest)

    I just bought my first iMac (brand new) and see transitions in TEMPLATED movies that are not available in 'from scratch" ones. I previously was in Windoze-land using Corel's video program with all sorts of transitions, where this iMac comes with very

  • Scheduling month- end job for CK40N

    Dear experts, We have a requirement to schedule CK40N as month-end job. We have the following concerns: 1. CK40N contains multiple jobs within the transaction 2. This transaction code does not have variant creation option without which we are not abl

  • HD Space is running out

    I have space issues and am looking for suggestions. 190GB used 6.85 free Movies 732MB Music 43GB Pictures 718MB Applications 5.5GB I'm not interested at this point in getting an external HD at this time. I would rather go through different folders an