BPEL or PL/SQL

In following situation where business logic needs to be applied
Using FTP Adapter reading a file then need to apply some business logic and then pushing the data to DB
Here to apply business logic can I use BPEL or PL/SQL
Which one is better option in terms of performance?

Never write business logic in the BPEL code. BPEL is not a programing language.
If conditions and while loops are extermely non performant.
Write your business logics in the programing languages link java, pl/sql
Expose the code as a service using BPEL to get better performance.
--Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to invoke BPEL process through SQL

    Hi All,
    I'm working on Oracle SOA (10.1.3.1.0) BPEL and Oracle JDeveloper (10.1.3.1.0). I want to launch the BPEL process from SQL, pls guide me how to do this.
    Thanking You!!!!

    Hi!
    There is already posted a lot on this forum on this topic, but ok :)
    http://orasoa.blogspot.com/2006/11/calling-bpel-process-with-utldbws.html
    Example BPEL process callout from PLSQL or Java Stored Procedure
    try the search in this forum : 'plsql'
    will give some hits.

  • TNS:Operation Timed Out error while trying to invoke BPEL Process from sql

    Hi,
    I am trying to invoke a BPEL Process from PL/sql code. When i try to invoke the process, I am getting the following error message
    ORA-29273 HTTP Request Failed
    ORA:06512: at SYS.UTH_HTTP at line 1029
    ORA:12535: TNS:Operation Timed Out
    ORA:06512: at line 18
    I have the SOA suite installed on my local machine...and the BPEL process that i am trying to invoke is deployed their.
    Any idea what could be wrong..following is the code piece
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/Test">
    <ns1:TesProcessRequest><ns1:input>is1_1land</ns1:input></ns1:TesProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    dbms_output.put_line('soap_request: '||soap_request);
    utl_http.set_proxy('3.209.30.25:80', '3.209.32.149:8888');
    http_req:= utl_http.begin_request('http://3.209.32.149:8888/orabpel/default/Tes/1.0 '
                   ,'POST'
                                  ,'HTTP/1.1');
    dbms_output.put_line('after Begin Request' );
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    Please advise

    you are right the file adapter doesnt invoke any bpel
    process, instead it is polling the file from
    directory location?If it is polling for new files, shouldn't it create a new instance of the BPEL process automatically the moment it finds a new file? In other words, should a new file trigger an instance of the BPEL process rather than being started from PL/SQL?
    Can this file adapter not be invoked as bpel process
    in that case?The file adapter is part of a BPEL process. The BPEL process can be invoked from e.g. PL/SQL.
    In this case this file adapeter return to an RECEIVE
    activity...I think this receive cannot be invoked as
    a BPEL process rite?Can you explain what you mean with this?
    Also , will all synchronous request return "TIMEOUT"
    error, if tried to invoke from pl/sql?Only if the synchronous process instance takes more time to complete (and thus to return) than the value specified for a time-out to occur. If the instance completes in for example 10 ms and the time-out time is specified as 30 seconds, no time-out will occur.
    Regards, Ronald

  • Connect with BPEL to MS SQL Server 2000

    Hi All,
    I would like to ask how can I connect from my BPEL Server 10.1.3.3 to MS SQL Server in BPEL process?
    What I have to set for this type of connection?
    Is there a database adapter for MS SQL Server?
    Thank's for your response.
    Michal

    There is a DB Adapter that supports SQL Server in 10.1.3.3. You can perform normal DML operations such as SELECT, INSERT, DELETE, etc. You can also invoke Stored Procedures using a manual approach. To connect to SQL Server you need to specify your connection settings just as you would normally do for an Oracle connection (by editing data-sources.xml and oc4j-ra.xml). You need to first create a connection to SQL Server in JDeveloper before you can model your process (or as a step while you're using the Database Adapter). Refer to the documentation which describes third party database support provided by the DB Adapter.

  • Invoke BPEL From PL\SQL Function

    Hello.
    I'm, trying to invoke a BPEL Process from a PL\SQL, but i always retrieve this error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor></faultactor>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I'm using:
    BPEL v10.1.3.1.0
    Oracle Database 10g Release 10.2.0.2.0 - Production
    This is the Function that i'm using:
    Declare
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    i integer;
    Begin
    soap_request:= '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/Empty">
    <ns1:EmptyProcessRequest>
    <ns1:input1>Pedro</ns1:input1>
    <ns1:input2>Quintas</ns1:input2>
    </ns1:EmptyProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    http_req:= utl_http.begin_request
    ( 'http://vm-win2000pro:80/orabpel/default/Empty/1.1'
    , 'POST'
    , 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml'); -- since we are dealing with plain text in XML documents
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req, 'SOAPAction', 'initiate'); -- required to specify this is a SOAP communication
    utl_http.write_text(http_req, soap_request);
    http_resp:= utl_http.get_response(http_req);
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    resp:= resp.extract('/soap:Envelop/soap:Body/child::node()'
    ,'xmlns:soap="http://www.w3.org/2001/XMLSchema-instance"'
    dbms_output.put_line(soap_respond);
    End;
    Thanks,
    Pedro Quintas

    Well, your endpoint is "http://vm-win2000pro:80/orabpel/default/Empty/1.1" right?
    Configure http analyzer to forward port 80 (or any other port) to vm-win2000pro port 80.
    Assuming http analyzer is running on your own laptop, change the hostname in your database call to http://<my_own_laptop_hostname>:80/orabpel/default/Empty/1.1
    Http analyzer will proxy the request through to the real service

  • Using SQL server instead of Olite in Oracle BPEL

    I am now trying to use SQL 2000 server instead of Olite in Oracle BPEL. I couldn't find any instruction or admin config guide. Has anyone had any luck with this?
    If anyone has any experience, please shed some light on this.
    I am now able to get "domain_sqlserver" dll file populated into SQL server.
    How di i configure BPEL to use SQL db instead of Olite? Do i need to set up database connections to work?
    Thank you very much in advance.

    Edwin,
    Thank you so much for the info.
    I have emailed to [email protected] for the question.
    Up to now, i have done the followings:
    1. I have successfully populated domain_sqlserver ito SQL 2000 with some modification.
    2. I have also configured data-sources.xml under ..\integration\orabel\system\services\install\config and unser ..\integration\orabel\system\appserver\oc4j\j2ee\home\config to use MSFT SQL 2000 instead of Olite.
    3. I have also commented out running kill_Olite.bat and start_olite.bat, and start SQL 2000 server.
    4. Installed Data Direct JDBC driver
    Could you please kindly point me what are the rest of configuration required in order to make it work?
    Thank you so much.

  • SQL Server 2000 and BPEL configuration issues

    I am attempting to get SQL Server 2000 to work with BPEL PM Server, and have followed a similar set of instructions as provided in a previously posted document regarding the switch from oracle lite to oracle production. I am following the OC4J route. I've seen a previous posting on this, however, I am elaborating a little more on the configuration details here and the difficulties that I am encountering.
    I'm am using the following software:
    1) SQL Server 2000 (w/ SP3)
    2) SQL Server 2000 JDBC Driver (SP3 latest version)
    3) BPEL PM (GA release)
    Here's what I've done:
    1) setup the database in SQL Server 2000 (named: ORABPEL). then ran the ddl scripts that came with the BPEL installation for sql server. there were two scripts, one for domain and the other for server. the commandlines to run these scripts:
    sql -Uuser -Ppassword -ddatabase
    -i c:\orabpel\system\database\scripts\domain_sqlserver.ddl
    -o c:\orabpel\system\database\scripts\domain_sqlserver.out
    2) installed stored procedures for JTA. this is documented in the JDBC driver help file.
    3) modified the library paths in application.xml as followed:
    <!-- SQL2K JDBC LIBS -->
    <library path="C:\Program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar"/>
    <library path="C:\Program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar"/>
    <library path="C:\Program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar"/>
    4) modified the datasources in the data-sources.xml:
    - first comment out the oracle lite data-source
    - add datasources for mssql 2000:
    <data-source class="com.evermind.sql.DriverManagerDataSource"
         name="BPELServerDataSource"
         location="loc/BPELServerDataSource"
         xa-location="BPELServerDataSource"
         ejb-location="jdbc/BPELServerDataSource"
         connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
         url="jdbc:microsoft:sqlserver://127.0.0.1:1433;SelectMethod=cursor;User=<username>;Password=<password>;DatabaseName=ORABPEL">
    </data-source>
    <data-source class="com.evermind.sql.DriverManagerDataSource"
         name="BPELSamplesDataSource"
         location="jdbc/BPELSamplesDataSource"
         xa-location="BPELSamplesDataSource"
         ejb-location="jdbc/BPELSamplesDataSource"
         connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
         url="jdbc:microsoft:sqlserver://127.0.0.1:1433;SelectMethod=cursor;User=<username>;Password=<password>;DatabaseName=ORABPEL">
    </data-source>
    <data-source class="com.evermind.sql.DriverManagerDataSource"
    name="AdminConsoleDateSource"
    location="jdbc/AdminConsoleDateSource"
    xa-location="AdminConsoleDateSource"
    ejb-location="jdbc/AdminConsoleDateSource"
         connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
         url="jdbc:microsoft:sqlserver://127.0.0.1:1433;SelectMethod=cursor;User=<username>;Password=<password>;DatabaseName=ORABPEL">
    </data-source>
    after starting the BPEL PM Server, I got the following set of error messages:
    Loading processes for BPEL domain "default" ...
    <2005-06-02 09:36:44,482> <ERROR> <default.collaxa.cube.sensor> <PCException::<i
    nit>> Sensors not supported.
    <2005-06-02 09:36:44,482> <ERROR> <default.collaxa.cube.sensor> <PCException::<i
    nit>> Sensors are not supported on this database platform.
    <2005-06-02 09:36:44,482> <ERROR> <default.collaxa.cube.sensor> <PCException::<i
    nit>> If sensor functionality is required, please switch to a supported platform
    After this I went and changed the class tags to: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    restarted the server and got the following:
    <2005-06-02 09:22:52,531> <INFO> <collaxa> <ConnectionFactoryImpl::init> Initial
    ized connection factory jdbc/BPELServerDataSource
    05/06/02 09:23:06 ORABPEL-04077
    Cannot fetch a datasource connection.
    The process domain was unable to establish a connection with the datasource with
    the connection URL "loc/BPELServerDataSource". The exception reported is: Cann
    ot fetch a datasource connection.
    The process domain was unable to establish a connection with the datasource with
    the connection URL "loc/BPELServerDataSource". The exception reported is: [Mic
    rosoft][SQLServer 2000 Driver for JDBC]Unable to connect. DataSource property s
    erverName must be specified.
    Please check that the machine hosting the datasource is physically connected to
    the network. Otherwise, check that the datasource connection parameters (user/p
    assword) is currently valid.
    Please check that the machine hosting the datasource is physically connected to
    the network. Otherwise, check that the datasource connection parameters (user/p
    assword) is currently valid.

    Hi,
    I just saw your post message about configuring SQL server 2000 with Oracle BPLE. Have you configured it successfully or still encountered any problem.
    I am new to Oracle BPEL. Want to know if Oracle BPEL can use MSFT SQL server 2000 as the repository entirely, therefore, we don't need Oracle (or Oracle light database).
    Will really appreciate if you can share information and experience to configure SQL 2000 with Oracle BPEL.
    Thank you so much in advance.
    Leey

  • Issue while creating BPEL artifacts using BPEL command line tool

    All
    I am trying to create BPEL artificats for SQL server stored procedure for SQO Server 2005 using BPEL Command line tool.
    My demo.properties is
    ProductName=Microsoft SQL Server
    DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ConnectionString=jdbc:sqlserver://10.10.20.2:1433;databaseName=dAP
    Username:apcdb
    Password:password1
    SchemaName:dev
    ProcedureName:spiSOATesting
    ServiceName:SQLServerSPService
    DatabaseConnection:MSSQLServer
    Destination:c:/temp/sqlprocedure
    and I have create a batch file called as generate.bat and it contains following information
    java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\jlib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts %1
    and when I try to run the command at BPEL PM Developer Prompt, I am getting Procedure not found, Can one please tell, what is the cause of this error. and how does this command line tool exactly work.
    Following is the output from command prompt.
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>D:\temp\sqlprocedure\generate.bat D:\temp\sqlprocedure\demo.properties
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar
    ;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\j
    lib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts D:\temp\sqlprocedure\demo.properties
    Procedure not found: dAP.spiSOATesting
    Thank you

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • BPEL and handling of BIG files using 10.1.2

    Scenario - using JDev 10.1.2 (Absolute) - what is the largest file size that can reliably be used with a BPEL process - need to get with a FTP adapter? Also is 10.1.2 BPEL certified for SQL Server.
    Regards - Casey

    Just to be a little more specific: Why when deploying my ear generated by JDev (It has the web.xml, and application.xml which seems to be ok) the screen to publish webservices are not shown as stated in http://download-west.oracle.com/docs/cd/B14099_11/web.1012/b14027/regwsuddi.htm#sthref628
    ?

  • Failing BPEL,ESB upgrade scripts from 10.1.3.1 to 10.1.3.4

    Hi All,
    I happened to upgrade 10.1.3.1. to 10.1.3.4 and have applied upgrade scripts at
    soa_10134patch\Disk1\install\soa_schema_upgrade\bpel\scripts\upgrade_10131_10134_oracle.sql
    I see 'table does not exist ' message for all instructions in the script file.
    When trying to creating new domain in BPEL , coming across the error that BPEL schema has not been upgraded.
    Kinldy let me know the procedure how to apply the upgrade patches..
    I have logged in f:> sqlplus "orabpel\orabpel as sysadmin" and executed the script.
    Database is Oracle XE 10g
    Edited by: user8285104 on May 9, 2009 9:49 AM

    you just use sqlplus orabple/orabpel, there is not need for the as sysadmin.
    It is fast (seconds) but you should see lots of SQL statements being applied.
    This script actually call 2 other scripts which may be an issue when running on windows as if you login to SQLPlus from a command prompt and the directory you are in is c:\ and the scripts are on f:\ then windows has trouble changing drives. This has caught me out many times.
    You can look at this file and call the 2 scripts individually.
    cheers
    James

  • Support for PL/SQL Record

    We have a procedure in a package,this procedure makes use of a Record Type.
    In BPEL, whiile creating the partner link, when we are trying to access this procedure we get the following error.
    "WSDLException:faultCode=OTHER_ERROR:Database type is either not supported or is not implemented.
    Parameter L_ECO_REC is of type SAN_REC_TYPE which is either not supported or not an implemented data type.
    Check to ensure that the type of the parameter is one of the supported datatypes or that there is a collection or user defined type definition representing this type defined in the database.contact oracle support if error is not fixable."
    Also please find below the package specification and body:
    CREATE OR REPLACE package eco_pack is
    TYPE San_Rec_Type IS RECORD
    ( Eco_Name VARCHAR2(10)
    , Change_Notice_Prefix VARCHAR2(10)
    , Change_Notice_Number NUMBER
    , Organization_Code VARCHAR2(3)
    PROCEDURE sandeep(l_eco_rec IN eco_pack.San_Rec_Type);
    end;
    CREATE OR REPLACE package body eco_pack is
    PROCEDURE createeco(l_eco_rec IN eco_pack.San_Rec_Type) AS
    BEGIN
    INSERT
    INTO ag_log
    VALUES(1, 'ECO name is' || l_eco_rec.eco_name, 1);
    COMMIT;
    END;
    end;
    Does BPEl support PL/SQL Record Type, if so how ?
    Thanks,
    Shivram
    .

    PL/SQL types like RECORD, BOOLEAN and TABLE are not supported in the DB adapter with the current BPEL PM release (as the error message indicates). You can use JPublisher manually to generate an OBJECT type that corresponds with the RECORD. JPublisher will also create a wrapper and conversion APIs to convert between the two. You would then call the wrapper API which takes the OBJECT and then calls the underlying PL/SQL that takes the RECORD.
    With the 10.1.2 Phase 2 release of BPEL PM, the DB adapter does all of this for you from within the design time wizard. JPublisher is invoked silently under the covers, the SQL that gets generated is automatically loaded into the database schema. That will create the OBJECT type, wrapper and conversion APIs. An XSD is generated for the wrapper API. Your partner link will invoke the wrapper, not the original API.
    Note also that support for BOOLEAN and TABLE was also added. JPublisher generates wrapper APIs that substitute appropriate types for these parameters (e.g. INTEGER for BOOLEAN, Nested Table for TABLE).

  • JDeveloper 10.1.3.4 won't connect to Oracle BPEL 10.1.3.4 after patch

    Hi
    I've tried to install Oracle BPEL 10.1.3.4 four times now. Everytime I apply the 10.1.3.4 patch, JDeveloper won't connect to BPEL. I followed the installation documents step by step:
    1.- Create SOA Schemas
    2.- Install Oracle SOA Suite
    3.- Upgrade BPEL and ESB Schemas
    4.- Install 10.1.3.4 patch
    5.- Configure PHP5
    6.- Change data-source.xml
    I always get the same problem in JDeveloper
    XMLParseException:Whitespace required in the Identity Services. The configuration in JDeveloper is correct because it works on 10.1.3.1.
    Regards,
    Néstor Boscán

    I install 10.1.3.1. JDeveloper works perfectly:
    Application Server: OK
    BPEL Process Manager Server: OK
    ESB Server: OK
    Then I run the upgrade scripts:
    soa_schema_upgrade\bpel\scripts\upgrade_10131_10134_oracle.sql
    And I install the patch.
    Then I configure PHP5:
    Set the enviroment variable PHPRC.
    Configure the httpd.conf file:
    LoadModule php5_module libexec/libphp5.so
    AddModule mod_php5.c
    AddType application/x-httpd-php .php .php5
    AddType application/x-httpd-php-source .phps
    Change the factory class in data-sources.xml to oracle.jdbc.pool.OracleDataSource.
    Also I set in server.xml
         <application name="hw_services" path="../applications\hw_services.ear" parent="orabpel" start="true" />
    The patch sets the start attribute to false.
    Everything restarts correctly but I can't connect from JDeveloper. There are no errors in the opmn log, or the applications.log.
    Regards,
    Néstor Boscán

  • BPEL in Weblogic Server

    Hi,
    I am trying to install BPEL in weblogic server but i am not succesful.
    1. Intall BPEL PM
    2. Path apllied for BPEL PM
    3. IRCA - repository created
    4.weblogic server installed
    5.orabpel installed.
    after that i checked the logs. below is the log message and i didn't know whether successfully i install the software or not?????????
    loadPropFiles:
    [copy] Copying 1 file to C:\BEA\Orabpel_10133_WebLogic\WL_Installables\logs
    checkMandatoryFields:
    checkMandatoryValues:
    validate:
    [echo] BEA_HOME = c:/bea1
    [echo] JAVA_HOME = C:/bea1/jdk160_05
    [echo] BPEL_HOME = d:/product/10.1.3.1/OraBPEL_1/bpel
    [echo] DRIVER_TYPE = oracle.jdbc.xa.client.OracleXADataSource
    [echo] DB_URL = jdbc:oracle:thin:@vmwpc138a:1521:robin
    [echo] DB_USER = ORABPEL
    checkForBeaDir:
    [echo] c:/bea1 exists
    checkForJdkDir:
    [echo] C:/bea1/jdk160_05 exists
    checkForBpelDir:
    [echo] d:/product/10.1.3.1/OraBPEL_1/bpel exists
    dbconn_check:
    [sql] Executing file: C:\BEA\Orabpel_10133_WebLogic\WL_Installables\data.sql
    [sql] 1 of 1 SQL statements executed successfully
    copyFilesToBPEL:
    BUILD FAILED
    java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.getFileUtils()Lorg/apache/tools/ant/util/FileUtils;
    Total time: 6 seconds
    Please guide me.
    Regards,
    Latha

    You should follow the installtion guide of SOA Suite on Weblogic, in this case it is only running on on an Oracle database not on OLite. Furthermore check that you do NOT have set any settings related to CLASSPATH / ORACLE / JAVA.
    http://orasoa.blogspot.com/2008/09/install-oracle-weblogic-server-oracle.html
    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e11848/title.htm
    Marc

  • Error while insert into database using DB adpater for Field BLOB

    Hello All
    I am trying to tranfer data from Database A to Database B using Oracle DB adapter.
    Table of databse A contains field BLOB, which cotains the resume /doc file.After transformation in Database B format ,while invoking the DB adapter to insert, I am getting follwing error
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
    </part><part name="summary"><summary>file:/u01/bpelvinc/product/10.1.3.1/OracleAS_1/bpel/domains/viapps/tmp/.bpel_ERecuit_Application_New_1.0_d1c2b2149a9e0c7c745279667ad1fc84.tmp/DB_APPL_111.wsdl [ DB_APPL_111_ptt::insert(RtmApplicantCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [DBAPPL111.RtmApplicant]. [Caused by: Error in encoded stream, got 2]
    ; nested exception is:
         ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [DBAPPL111.RtmApplicant]. [Caused by: Error in encoded stream, got 2]
    Caused by Exception [TOPLINK-3001] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.ConversionException
    Exception Description: The object [xs:base64Binary 43524541544520544193B0D0A], of class [class java.lang.String], could not be converted to [class java.sql.Timestamp].
    Internal Exception: java.io.IOException: Error in encoded stream, got 2.
    </summary>
    </part><part name="detail"><detail>
    Exception Description: The object [xs:base64Binary 4352E616D65293B0D0A], of class [class java.lang.String], could not be converted to [class java.sql.Timestamp].
    Internal Exception: java.io.IOException: Error in encoded stream, got 2</detail>
    </part></bindingFault>
    Please let me know ,what are the possibilities.
    Thanks
    Satendra

    Hi...
    well... My flow goes like Pl/SQl ---> BPEL,
    Now PL/SQL code reads data from the Database A and Send it to BPEL which inserts into the Database B.
    with respest to above design, I found the problem in pl/sql block.
    Actually I am sending a BLOB field in the soap message. but some how pl/sql now ablt tot handle that or sending some wrong data.
    my question is how to send a blob filed data to bpel using pl/sql block. this the reasion I am getting above error.
    Thanks

  • Error while upgrading Oracle SOA 10.1.3.3 to 10.1.3.5

    Hi,
    Iam trying to upgrade Oracle SOA ver.10.1.3.3 to 10.1.3.5 on a windows server.The following steps were followed.
    1. SOA was stopped. Back up of the SOA folder was taken.
    2. SOA uses the default Olite database. Connected to the BPEL schema and run the upgrade_10133_10135_olite.sql script.
    It errored out in the upgrade process of 10.1.3.3 to 10.1.3.4.
    The esb schema upgrade script executed without error. Have any one faced similar issue? or aware of the reason? Please help me out. Thanks in advance.
    The following is the log:
    SQL> @E:\Downloads\Installables\p8626084_101350_WINNT\Disk1\install\soa_schema_upgrade\bpel\scripts\upgrade_10133_10135_olite.sql
    SQL> SET FEEDBACK 1
    SQL> SET NUMWIDTH 10
    SQL> SET LINESIZE 80
    SQL> SET TRIMSPOOL ON
    SQL> SET TAB OFF
    SQL> SET PAGESIZE 100
    SQL> @@upgrade_10133_10134_olite.sql
    SQL> Rem
    SQL> Rem $Header: bpel/everest/src/modules/server/database/scripts/upgrade_10133_10134_olite.sql /st_pcbpel_10.1.3.1/11 2009/06/03 00:37:24 nverma Exp $
    SQL> Rem
    SQL> Rem upgrade_10133_10134_olite.sql
    SQL> Rem
    SQL> Rem Copyright (c) 2008, 2009, Oracle and/or its affiliates.
    SQL> Rem All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem upgrade_10133_10134_olite.sql - <one-line expansion of the name>
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem This script can be used to upgrade orabpel schema on olite database from 10.1.3.3.0 to 10.1.3.4.0
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem This script can be used to upgrade orabpel schema on olite database from 10.1.3.3.0 to 10.1.3.4.0
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem nverma 04/27/09 - Backport nverma_bug-8463393 from
    SQL> Rem nverma 04/14/09 - Backport nverma_bug-7171739 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem ramisra 06/05/08 -
    SQL> Rem ralmuell 03/28/08 - Sensor schema change for 6819678
    SQL> Rem ramisra 03/17/08 - Backport ramisra_bug-6845586 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem atam 03/06/08 - update version
    SQL> Rem nverma 01/29/08 - Upgrade script (10.1.3.3.0 to 10.1.3.4.0) for orabpel schema on olite
    SQL> Rem database.
    SQL> Rem nverma 01/29/08 - Created
    SQL> Rem
    SQL> SET ECHO ON
    SQL> SET FEEDBACK 1
    SQL> SET NUMWIDTH 10
    SQL> SET LINESIZE 80
    SQL> SET TRIMSPOOL ON
    SQL> SET TAB OFF
    SQL> SET PAGESIZE 100
    SQL> ALTER TABLE DLV_MESSAGE MODIFY (CONV_ID VARCHAR2(256))
    Table altered
    SQL> ALTER TABLE DLV_SUBSCRIPTION DROP CONSTRAINT DS_PK
    Table altered
    SQL> ALTER TABLE DLV_SUBSCRIPTION MODIFY (CONV_ID VARCHAR2(256))
    Table altered
    SQL> ALTER TABLE DLV_SUBSCRIPTION ADD CONSTRAINT DS_PK PRIMARY KEY(CONV_ID, SUBSCRIBER_ID)
    Table altered
    SQL> ALTER TABLE INVOKE_MESSAGE MODIFY (CONV_ID VARCHAR2(256))
    Internal Error:thinExecute: Result Communication Failed
    SQL> ALTER TABLE INVOKE_MESSAGE MODIFY (MASTER_CONV_ID VARCHAR2(256))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE NATIVE_CORRELATION MODIFY (CONVERSATION_ID VARCHAR2(1000))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE NATIVE_CORRELATION MODIFY (NATIVE_CORRELATION_ID VARCHAR2(1000))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE CUBE_INSTANCE MODIFY (CONVERSATION_ID VARCHAR2(256))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE TASK MODIFY (CONVERSATION_ID VARCHAR2(256))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE WORK_ITEM MODIFY (CUSTOM_ID VARCHAR2(256))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE DLV_SUBSCRIPTION DROP CONSTRAINT DS_PK
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE DLV_SUBSCRIPTION MODIFY (SUBSCRIBER_ID VARCHAR2(256))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE DLV_SUBSCRIPTION ADD CONSTRAINT DS_PK PRIMARY KEY(CONV_ID, SUBSCRIBER_ID)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE DLV_MESSAGE MODIFY (RES_SUBSCRIBER VARCHAR2(256))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> CREATE INDEX DDMR_DOCKEY ON DOCUMENT_DLV_MSG_REF(DOCKEY)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> CREATE INDEX CI_CUSTOM4 ON CUBE_INSTANCE (MODIFY_DATE)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE WFUserTaskViewGrant ADD ( granteeType VARCHAR2(20), applicationContext VARCHAR2(200) )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table cube_instance add ( at_count_id integer, at_event_id integer, at_detail_id integer )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values add error_message_temp clob
    Internal Error:AllocStatement: Request Communication Failed
    SQL> update activity_sensor_values set error_message_temp=error_message
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values drop column error_message
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values add error_message clob
    Internal Error:AllocStatement: Request Communication Failed
    SQL> update activity_sensor_values set error_message=error_message_temp
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values drop column error_message_temp
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values drop column error_message_temp
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table fault_sensor_values drop primary key
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table variable_sensor_values drop primary key
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values drop primary key cascade
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values add constraint activity_sensor_pk primary key(id, process_instance_id)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table variable_sensor_values add constraint variable_sensor_pk primary key(id, process_instance_id)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table variable_sensor_values add constraint variable_sensor_fk1 foreign key(activity_sensor_id, process_instance_id) references activity_sensor_values(id, process_instance_id)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table fault_sensor_values add constraint fault_sensor_pk primary key(id, process_instance_id)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table activity_sensor_values modify constraint activity_sensor_pk enable
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table variable_sensor_values modify constraint variable_sensor_pk enable
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table variable_sensor_values modify constraint variable_sensor_fk1 enable
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table fault_sensor_values modify constraint fault_sensor_pk enable
    Internal Error:AllocStatement: Request Communication Failed
    SQL> drop index activity_sensor_values_indx
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create index activity_sensor_values_indx on activity_sensor_values(process_instance_id, sensor_name, action_name)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> update version set guid = '10.1.3.4.0'
    Internal Error:AllocStatement: Request Communication Failed
    SQL> update version_server set guid = '10.1.3.4.0'
    Internal Error:AllocStatement: Request Communication Failed
    SQL> COMMIT
    Internal Error:AllocStatement: Request Communication Failed
    SQL> @@upgrade_10134_10135_olite.sql
    SQL> Rem Copyright (c) 2008, 2009, Oracle and/or its affiliates.
    SQL> Rem All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem <other useful comments, qualifications, etc.>
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem vnanjund 07/09/09 - Backport vnanjund_bug-8655721 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem mchinnan 07/07/09 - Backport mchinnan_bug-8636836 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem vnanjund 07/06/09 - olite fix
    SQL> Rem mchmiele 07/02/09 - Backport mchmiele_bug-8613538 from
    SQL> Rem mchmiele 07/01/09 - Backport mchmiele_bug-8613538 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem mchmiele 06/30/09 - Migrating processes with correlation sets
    SQL> Rem mchmiele 06/30/09 - Backport mchmiele_bug-8613538 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem mchmiele 06/29/09 - Olite resource tables
    SQL> Rem mchmiele 06/29/09 - Backport mchmiele_bug-8613538 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem ramisra 05/11/09 - Backport ramisra_bug-8498498 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem nverma 04/27/09 - Backport nverma_bug-8463393 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem mnanal 03/09/09 - Backport mnanal_bug-7286083 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem mnanal 02/10/09 - RFI bug 7022475
    SQL> Rem ramisra 01/02/09 - Backport ramisra_bug-7577303 from
    SQL> Rem st_pcbpel_10.1.3.1
    SQL> Rem ramisra 09/17/08 - Created
    SQL> Rem
    SQL> SET ECHO ON
    SQL> SET FEEDBACK 1
    SQL> SET NUMWIDTH 10
    SQL> SET LINESIZE 80
    SQL> SET TRIMSPOOL ON
    SQL> SET TAB OFF
    SQL> SET PAGESIZE 100
    SQL> -- Update version
    SQL> --
    SQL> update version set guid = '10.1.3.5.0' where dbtype = 'olite'
    Internal Error:AllocStatement: Request Communication Failed
    SQL> commit
    Internal Error:AllocStatement: Request Communication Failed
    SQL> CREATE table temp_attachment ( key varchar2( 50 ), bin blob )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> INSERT into temp_attachment (key,bin) SELECT key, bin FROM attachment
    Internal Error:AllocStatement: Request Communication Failed
    SQL> DROP table attachment
    Internal Error:AllocStatement: Request Communication Failed
    SQL> CREATE table attachment ( key varchar2( 50 ), content_type varchar2( 50 ), bin blob, constraint att_pk primary key( key ) )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> INSERT into attachment (key,bin) SELECT key, bin FROM temp_attachment
    Internal Error:AllocStatement: Request Communication Failed
    SQL> DROP table temp_attachment
    Internal Error:AllocStatement: Request Communication Failed
    SQL> DELETE FROM WFRoutingSlip rs WHERE NOT EXISTS (SELECT 1 FROM WFTask t WHERE t.taskid = rs.taskid)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE WFRoutingSlip ADD CONSTRAINT RoutingSlipTaskConstraint FOREIGN KEY (taskId) REFERENCES WFTask (taskId) ON DELETE CASCADE
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE process_descriptor ADD (last_change_time NUMBER(38))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> UPDATE process_descriptor SET last_change_time=(SELECT (SYSDATE - TO_DATE('01-01-1970','DD-MM-YYYY')) * (24*60*60*1000) FROM DUAL)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create index WFTaskTaskGroupId_I on WFTask(taskGroupId)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create index WFTaskWorkflowPattern_I on WFTask(workflowPattern)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> DELETE FROM domain_properties WHERE prop_id IN ( 'dspMinThreads' , 'dspMaxThreads', 'dspInvokeAllocFactor' )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE dlv_subscription ADD ( partner_link VARCHAR2(256) )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> UPDATE VERSION SET guid = '10.1.3.5.0'
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table WFTaskTimer add key varchar(100)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> alter table WFAttachment modify (encoding varchar(100))
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE dlv_subscription DROP CONSTRAINT ds_pk
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE dlv_subscription ADD CONSTRAINT ds_pk PRIMARY KEY (subscriber_id)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> DROP INDEX ds_conversation
    Internal Error:AllocStatement: Request Communication Failed
    SQL> CREATE INDEX ds_conversation ON dlv_subscription( conv_id )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> DROP INDEX ds_operation
    Internal Error:AllocStatement: Request Communication Failed
    SQL> CREATE INDEX ds_operation ON dlv_subscription( process_id, operation_name )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> drop table cx_resource
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create table cx_resource ( id integer, pid integer, name varchar(64), kind char(1), modify_date timestamp default sysdate, constraint cx_resource_pk primary key( id ), constraint cx_resource_no_dups_pk unique (pid,name) )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create index cx_resource_name_idx on cx_resource (name)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create index cx_resource_pid_idx on cx_resource (pid)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> drop table cx_content
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create table cx_content ( id integer, /* id of the resource content, pointing to Resource.id */ content blob, /* the content as a blob */ constraint cx_content_pk primary key( id ) )
    Internal Error:AllocStatement: Request Communication Failed
    SQL> -- Add debugger tables
    SQL> --
    SQL> @@debugger_olite.ddl
    E:\Downloads\Installables\p8626084_101350_WINNT\Disk1\install\soa_schema_upgrade\bpel\scripts\debugger_olite.ddl (The system cannot find the file specified)
    SQL> ALTER TABLE work_item ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE dlv_subscription ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE ci_indexes ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE wi_exception ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE wi_fault ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE document_ci_ref ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE audit_trail ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE audit_details ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE cube_scope ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE attachment ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE attachment_ref ADD (ci_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE document_dlv_msg_ref ADD (dlv_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> ALTER TABLE xml_document ADD (doc_partition_date TIMESTAMP)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> create or replace view admin_list_cx as select ci.cikey, domain_ref as ci_domain_ref, process_id, revision_tag, creation_date ci_creation_date, creator ci_creator, modify_date ci_modify_date, modifier ci_modifier, state ci_state, priority ci_priority, title, status, stage, conversation_id, metadata, root_id, parent_id, test_run_id, index_1, index_2, index_3, index_4, index_5, index_6, ci.test_run_id from cube_instance ci, ci_indexes cx where ci.cikey = cx.cikey (+)
    Internal Error:AllocStatement: Request Communication Failed
    SQL> COMMIT
    Internal Error:AllocStatement: Request Communication Failed

    Hi,
    IF ORACLE DATABASE HAS ALREADY HAS ORABPEL AND ORAESB USERS, I don't know password.:
    My remarks. If you upgrade a SOA suite to a higher version, you always need to known the passwords of the Oracle dehydration store (orabpel/orawsm/oraesb). If you do not know that, call your DBA. Otherwise try: the same password as the user name or try 'welcome1'. You could also force to change the password via the system user; alter user <user> identified by <password>;
    IS IT A GOOD IDEA TO UPGRADE Oracle SOA 10.1.3.1.0 to Oracle SOA 10.1.3.4.0?
    Yes! 10.1.3.4 is the succeeder of 10.1.3.3, in the beginning of next year 10.1.3.5 (with WLS 10.3) will come out. Note if you use 10.1.3.4 download also the latest patchset from metalink.
    Marc
    http://oroasoa.blogspot.com

Maybe you are looking for

  • Excise invoice tab for without material code

    Dear all, I have created a PO with vat Condtion TAx code. There are 5 line items are there in this PO. There are no material codes available for this 5 line items. all the line items are account assignment related items. While doing GRN its asking th

  • ITunes won't show library on external hard drive

    I have just bought a MacBook Pro but I don't know how to get library on external hard drive to show in iTunes...  Any suggestions please?

  • Help Getting to OSX 10.6.8

    Hi everyone, For the last few days I have been trying to sync the music on my MacBook with my new iPhone5.  First, when I tried to do so, I got a message saying I needed iTunes7 or higher.  When I tried to install iTunes7, it said I needed to be usin

  • Advanced Update Rules Routine

    I have a routine in my update rule that performs a lookup to another ODS.  To improve my performance I would like to try writing a temporary variable to memory that can then be referenced when loading each record.  For example here's some pseudo code

  • 17" Studio Display connected to by PowerBook

    When I restarted my PowerBook I had the 17" Studio Display plugged in and started up the computer. It reached the system startup screen and then the computer just shut down abruptly. Every time the computer starts it makes to a that point and it shut