Integration of own JCA adapters in OSB

Hi,
Is it possible to integrate our own JCA adapters in the OSB via the JCA framework?
If yes, how can the corresponding WSDL be automatically generated?
thanks
AP

The Oracle Service Bus JCA transport lets you interact with the following JCA-compliant adapters:
Oracle Applications – Oracle Applications services can send and receive messages from
Oracle E-Business Suite using available interfaces
Oracle AQ – Oracle Advanced Queuing services can send and receive messages from
Oracle AQ single or multiconsumer queues
Oracle Database – Oracle Database services can send and receive messages from a table or
execute a stored procedure
PeopleSoft (Oracle Application Adapters )
Siebel (Oracle Application Adapters )
MySAP (Oracle Application Adapters)
J.D. Edwards (Oracle Application Adapters )
sample
http://biemond.blogspot.com/2009/06/osb-1031-with-database-adapter.html
Regards,
Deepa G

Similar Messages

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • JCA AqAdapter on OSB - How to rollback on failure?

    Hi,
    I have an AqAdapter (JCA resource) on OSB.
    So, I generated a ProxyService that calls a BPEL BusinessService.
    If the BusinessService isn't available or some fault occurs in it, how can I get a rollback on AQ?
    Example:
    1. JCA gets a row from AQ and send it to the ProxyService
    2. ProxyService calls the BusinessService
    3. BusinessService fails for some reason
    4. JCA #MUST# rollback the row to AQ <--------- I mean, how can I get this 4th step done??
    Please someone help me.
    Thank you
    Edited by: user12994268 on Apr 11, 2013 1:26 PM
    Edited by: user12994268 on Apr 11, 2013 1:27 PM

    That means it retried 5 times.
    Have a look at this (extracted from: http://docs.oracle.com/cd/E12839_01/integration.1111/e10231/adptr_aq.htm). It seems to be related to what you've described:
    Oracle AQ Adapter Inbound Retries
    If you configure the Oracle AQ Adapter inbound retries to retry for more than 5 times by using the jca.retry.count service binding property for a retryable exception, then ensure that the queue is created with max_retries value that is greater then the value used for jca.retry.count. If nothing is specified, then the queue is created with a max_retries value of 5 which would mean that the message will end up in exception queue after 5 retries and will not be delivered to adapter for further processing. If jca.retry.count is specified with a value of 5 or less, then you do not have to change the queue max_retries property.
    Use the following code to change the max_retries property when creating a queue:
    begin
    DBMS_AQADM.CREATE_QUEUE_TABLE ( queue_table => 'RAW_IN_QUEUE_TABLE',queue_payload_type => 'RAW');
    DBMS_AQADM.CREATE_QUEUE ( queue_name => 'RAW_IN_QUEUE',queue_table=> 'RAW_IN_QUEUE_TABLE', max_retries=>1500);
    DBMS_AQADM.START_QUEUE ( queue_name => 'RAW_IN_QUEUE');
    DBMS_AQADM.CREATE_QUEUE_TABLE ( queue_table => 'RAW_OUT_QUEUE_TABLE', queue_payload_type => 'RAW');
    DBMS_AQADM.CREATE_QUEUE ( queue_name => 'RAW_OUT_QUEUE', queue_table => 'RAW_OUT_QUEUE_TABLE');
    DBMS_AQADM.START_QUEUE ( queue_name => 'RAW_OUT_QUEUE');
    end;
    Regards,
    Fabio.

  • JCA adapters documentation status

    Trying out BPEL PM, I first need to build little POC for quite technical interfaces, loading files in DB ...
    I need to go beyond the possibilities of the FileAdapter and the DBAdapter that are included in the tutorials with BPEL PM. I see in the forum the doc was due with a next release. What is the current status ? Anything available yet ? For example, I want to use FTP instead of polling a directory.
    When do we expect a downloadable version of Jdeveloper that will include wizards to develop web services based on these adapters ? Or something like that ?

    Olivier,
    I do not have visibility into the doc timeline at this point (specially for advanced feature like the JCA framework).
    My recommendation: send us an email at [email protected] and we will try to enrole you to the BPEL PM 10.1.2 early adapter program so that you get access to the JDev designer which include UI for all the adapters.
    If that is not enough, we can send you the example of one of the JCA adapters and you can investigate building your own.
    Edwin

  • SOA Clustering with third party JCA Adapters

    Hi,
    We are planning to do clustering for our SOA suite which has third party JCA adapters. Some BPELs inside SOA suite will listen to the third party JCA adatper which will listen to third party system and some bpels are listening to the DB adapter for polling the records in DB.
    Say if adapter1 is in node1 is downloading that message from third party system which is big in size and meanwhile if adapter2 in node2 can also start to download the same message which end up in duplicate messages getting download. So in clustering environment, how to make sure that the BPELs wont pick up these duplicate messages from the third party system/ DB where they are listening to it?
    (adapter1 and adapter2 are the instances of the same adapter)
    Is there any way in BPEL to identify if it is duplicate message which is already processed by the BPEL or not? If not is there any other way?
    Thanks
    Sree

    Thanks for the info.
    But the links you provided talks about active-passive cluster configuration. But I am looking for the active-active cluster configuration where I have multiple instances of the JCA adapter running on different nodes. I want to make sure that the message picked up by one JCA adapter instance running on node1 should not be picked by the other JCA adapter instance running on node2.
    Thanks
    Sree

  • WebLogic - how to get installed JCA adapters

    Hi,
    I am not sure if this is the right place to ask but I couldn't find any other appropriate forum, so I'll just drop my post in here.
    I would like to know how I can get the list of installed JCA adapters from my application which deployed onto WebLogic server. Is there any WebLogic api available for that? Thanks in advance.
    Regards,
    K.Hein

    I am looking for this answer as well.

  • How to assign LogicalDirectory in JCA File Adapter - OSB

    in SOA Suite, you assign a value to LogicalDirectory by setting a property in composite.xml
    how to achieve the same in OSB?

    It is possible to register a Java Listener class, which can/will be invoked, when a last batch in the file, is read. Code for invoking the concurrent Program can be written in side this class.
    Refer to following document on how to register the Java Listener class
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CACJBIGD
    Moreover, as an alternate to the above approach, chunk read interaction specs can be implemented along with the Sync File Read for your scenario( However,This will be a whole re-write, considering your current approach. Good News is, there is full-fledged example readily available for this in oracle docs).
    Here is the link if you would like to implement the Chunk Read.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#BABJFCBH
    Mark the posting appropriately as "hlepful" or "correct answer", if your issue is solved.

  • Reading large file with JCA Adapter in OSB

    Hello,
    We are searching for a solution how to read large file (>50M) from network drive and deliver it to queue via OSB 11gR4 (10.3.4). The problem is when reading the file with JCA File Adapter. It seems that it cannot handle as large files as we have. The documentation provides a way to bypass file size limitation by using Chunk Read but it seems to require BPEL Process execution which is not possible in our environment. Does anyone know if there are ways to implement this without having BPEL Process?
    Our usecase:
    read file from network drive -> transfer with OSB -> deliver MQ
    Other options than JCA File Adapter can be considered, if anyone can advice...

    If it's a plain routing use case and no message processing is required then you may simply use OSB's FILE transport instead of JCA adapter. Create a messaging type proxy service and select request message type as "binary". Also enable the content streaming (Disk buffer, compression).
    From OSB Dev guide -
    Oracle JCA Adapter for FTP and Files – Attachments (large payload support), pre- and post-processing of files, using a re-entrant valve for processing ZIP files, content streaming, and file chunked read are not supported with Oracle Service Bus.
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/jca.htm#BABBICIA
    You may also refer -
    Reading huge flat file in OSB 11gR1
    Regards,
    Anuj

  • BPEL registry integration cache capability?ESB or OSB support WS-Addressing

    Hi ,
    I have few questions related to Oracle SOA Suite.
    Please suugest me
    1) How to handle BPEL dehydration in high volume operations?
    2) Memory overload of ESB in high volume operations?
    3) BPEL registry integration - cache capability?
    4) How Oracle ESB or OSB support WS-Addressing?
    Suggestions or docs reference will be highly appreciated.
    Regards,
    Sachin

    Hi,
    There's a lot of performance info in the SOA Suite Best Practices Guide. More specifically see chapter 2.17 and 10 of http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf.
    For correlation between OSB and BPEL using WS-Addressing see http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/bpelpmtransport/transport.html.
    Regards, Ronald

  • Schema name dependancy for DB Adapters in OSB

    Hello,
    We are having a problem with the DBAdapters used in OSB.
    We have created a DBAdapter in our developement env where the database schema name dev_utilities.In our test env the schema name is test_utilities.
    The DBAdapter in OSB would not work giving errors dev_utilities is invalid.
    Anyway to fix this.We have same connection pool names though.
    Thanks.

    Are you using a managed connection.
    when you use a managed connection it will not check for connection details in your wsdl instead it will get from the server using the jndi name that you have specified.
    you can go through below link for creating managed connection
    http://tech-learnings.blogspot.com/2010/04/creating-data-source-in-soa-11g.html
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1083177

  • JCA DBAdapter in OSB

    I have a proxy service in OSB11g which is created using JCA binding and database dapater, this proxy service is polling data from database.When we disable the state of this proxy for some time and enable this proxy later on, it stops polling data from database.Sometimes it worked fine after enabling but at times it fails and stop polling.Ayone ver faced this issue???what could be the possible cause for this issue?? Any idea??
    Thanks in advance

    Data is already commited.
    This behaviour of JCA proxy occurs when we deploy new config jar file in weblogic sbconsole, the proxy stops polling the database(which was polling successfully before deployment). When we restart the server, it start polling data again from database.
    Please let me know if one else also faced this issue? Also suggest if any configuration required at server level to avoid such issue.
    Thanks in advance.
    Edited by: user13142797 on Sep 13, 2011 3:02 AM

  • Fault Types for JCA adapters

    What are the fault types(local part name) in the namespace: http://schemas.oracle.com/sca/rejectedmessages .
    I want to handle faults for FTP adapter for rejected messages.But I don't know what are the fault types defined for FTP adapter(JCA adapter).
    Can you please point me to the document where it is documented so that I can proceed with developing Faulthandler for FTP adapter.
    For 11g, I need to use fault-policies.xml and fault-bindings.xml.
    To define the faultname inside fault-policies.xml file, I need this above information.
    Thanks,
    Prabhanjan

    Hi Prabhanjan,
    The local part name should be same as the service name i.e when you define an adapter two files are generated <service_name>.wsdl and <service_name>files.jca.So this <servicename> should be used as the local part name for the fault-policies.xml and in fault-bindings.xml it should be as below-
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <service faultPolicy=[id in fault-policies.xml]>
    <name>[service_name]</name>
    </service>
    </faultPolicyBindings>

  • OSB Development Tool

    Hi,
    what is the recommended (latest updated) IDE to be used for OSB 11g, i have used the sbconsole and tried the Enterprise Pack for Eclipse (which seems to miss some features such as create proxy from existing business service), i even downloaded the 11.1.1.3.0 Jdeveloper which seems to contain nothing regarding OSB.
    Thanks

    For OSB 11g you can use either the web based console (although this does not include the graphical mapping tool) or the Oracle Enterprise Pack for Eclipse (formerly Workshop). Typically developers would use Oracle Enterprise Pack for Eclipse and administrators would use the console. Creating a proxy service from a business service can be done through the right click context menu in Oracle Enterprise Pack for Eclipse.
    In the next major release, 11gR2, the OSB tooling will move into JDeveloper (the web based console will remain). If you want to use the JCA adapters in OSB then these are configured in JDeveloper (11.1.1.3) and can be imported into either Oracle Enterprise Pack for Eclipse or the web based console. JDeveloper 11.1.1.3 can also be used to browse an OSB instance for the services it exposes.
    Hope that helps.
    Chris

  • Using JCA FTP and File Adapters to transfer files as attachments

    I am trying to develop a flow that picks a file up using the JCA FTP adapter and writes it using the JCA File Adapter. I can get this to work using opaqeElement but the issue I have is that the files that will be transferred are regularly very large > 1 GB and using the opaqueElement simply results in a OutOfMemoryException.
    Reading the Adapter documentation it seems that Reading/Writing file as an attachment may be an answer. I therefore did the following.
    . Created FTP Read and File Write adapters in JDeveloper
    . Inmported this in to OEPE
    . Created Proxy Service and Business Service and wired them together
    The problem i am having is that even though there is no error and the file is being read on the FTP server, the resulting file only contains that attachment details, the file is not a copy of the file that was picked up from the ftp server.
    I am assuming that this behaviour is not correct and that the file should be transferred in its entirity. Unfortunatly the documentation is not very detailed and I cannot find any examples on the internet.
    Can anyone offer any advice or even better suggest where I can find an example.
    Regards
    My JCA adapters are as follows:
    FileWriteAsAttachmentAdapter_file
    <adapter-config name="FileWriteAsAttachmentAdapter" adapter="File Adapter"
         wsdlLocation="FileWriteAsAttachmentAdapter.wsdl"
         xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/HAFileAdapter"/>
    <endpoint-interaction portType="Write_ptt" operation="Write">
    <interaction-spec className="oracle.tip.adapter.file.outbound.FileInteractionSpec">
    <property name="PhysicalDirectory" value="C:\fileserver\download\toprocess"/>
    <property name="Append" value="false"/>
    <property name="FileNamingConvention" value="attachment_%SEQ%.csv"/>
    <property name="NumberMessages" value="1"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    FileWriteAsAttachmentAdapter.wsdl
    <wsdl:definitions
    name="FileWriteAsAttachmentAdapter"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/AtatchmentApp/Project1/FileWriteAsAttachmentAdapter"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/AtatchmentApp/Project1/FileWriteAsAttachmentAdapter"
    xmlns:imp1="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <plt:partnerLinkType name="Write_plt" >
    <plt:role name="Write_role" >
    <plt:portType name="tns:Write_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/" xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified" >
    <element name="attachmentElement" >
    <complexType>
    <attribute name="href" type="string" />
    </complexType>
    </element>
    </schema>
    </wsdl:types>
    <wsdl:message name="Write_msg">
    <wsdl:part name="body" element="imp1:attachmentElement"/>
    </wsdl:message>
    <wsdl:portType name="Write_ptt">
    <wsdl:operation name="Write">
    <wsdl:input message="tns:Write_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    FtpGetAsAttachmentAdapter_ftp.jca
    <adapter-config name="FtpGetAsAttachmentAdapter" adapter="FTP Adapter"
         wsdlLocation="FtpGetAsAttachmentAdapter.wsdl"
         xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/ftp/TlmsHAFtpAdapter"/>
    <endpoint-activation portType="Get_ptt" operation="Get">
    <activation-spec className="oracle.tip.adapter.ftp.inbound.FTPActivationSpec">
    <property name="AsAttachment" value="true"/>
    <property name="DeleteFile" value="true"/>
    <property name="MinimumAge" value="300"/>
    <property name="PhysicalDirectory" value="/ftp/tlms2atas"/>
    <property name="Recursive" value="false"/>
    <property name="FileModificationTime" value="FileSystem"/>
    <property name="PollingFrequency" value="60"/>
    <property name="FileType" value="ascii"/>
    <property name="IncludeFiles" value=".*[_][0-9][0-9][-][0-9][0-9][-][0-9][0-9][_].*\.csv"/>
    <property name="UseHeaders" value="false"/>
    <property name="ModificationTimeFormat" value="dd/MM/yyyy HH:mm"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    FtpGetAsAttachmentAdapter.wsdl
    <wsdl:definitions
    name="FtpGetAsAttachmentAdapter"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/AtatchmentApp/Project1/FtpGetAsAttachmentAdapter"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/AtatchmentApp/Project1/FtpGetAsAttachmentAdapter"
    xmlns:attach="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <plt:partnerLinkType name="Get_plt" >
    <plt:role name="Get_role" >
    <plt:portType name="tns:Get_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/attachment/" xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified" >
    <element name="attachmentElement" >
    <complexType>
    <attribute name="href" type="string" />
    </complexType>
    </element>
    </schema>
    </wsdl:types>
    <wsdl:message name="Get_msg">
    <wsdl:part name="attach" element="attach:attachmentElement"/>
    </wsdl:message>
    <wsdl:portType name="Get_ptt">
    <wsdl:operation name="Get">
    <wsdl:input message="tns:Get_msg"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>

    System resources are finite and have a threshold limit for processing. The Oracle SOA Suite, dependent on system resources, also has certain size limitations, largely due to the underlying resources beyond which the system cannot process incoming requests.
    For example, Oracle JCA Adapters can process large payloads but the Oracle BPEL PM consumes huge memory when processing large payloads, which can cause OutOfMemory conditions and affect the whole system.
    You can try File ChunkedRead option.This will read your large CSV file in chunks so chances of memory out will be less. You can define your own chunk size.
    This is a feature of Oracle File and FTP Adapters that uses an invoke activity within a while loop to process the target file. This feature enables you to process arbitrarily
    large files. See below link's section "4.5.5 Oracle File Adapter ChunkedRead"
    http://www.orastudy.com/oradoc/selfstu/fusion/integration.1111/e10231/adptr_file.htm#BABDIABG
    Thanks,
    Ashu

  • OSB JCA Adapter performance issue

    Hi,
    We have to use OSB as an ESB at integration level which need to populate the result from local services e.g. from DB as well as from external services. Actually we need to use switch [split -join] and connector [individual proxy for individual services] features.
    As for external services, we do not have questions but to access data from local system e.g. Database, whether it will be a performance issue in OSB, in case if we are using JCA Adapter and exposing it as a service? Because some one objected that accessing JCA layer in OSB will be a performance issue.
    If some one can shed the light on it, it will be great.
    Thanks & Regards,
    V D

    Hi,
    Have a look at the Developer Guide for OSB... Oracle JCA Adapter for Database is supported... Have a look at the limitations, there's nothing mentioning performance...
    http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/jca.htm#i1110405
    Also have a look at the following blogs... One of them even suggests that jca performs better than xquery with fn-bea:execute-sql...
    http://victor-jan.blogspot.com.au/2012/06/osb-fn-beaexecute-sql-vs-jca-dbadapter.html
    http://reallifeserviceorientedarchitecture.blogspot.com.au/2011/09/oracle-service-bus-osb-and-jca-adapters.html
    If you are still in doubt open a SR with Oracle Support...
    Hope this helps...
    Cheers,
    Vlad

Maybe you are looking for

  • How do I change font size from points into pixels?

    I used to be able to set font size in points but CS 6 has removed this? Please dont say that points = pixels. They do not. See for yourself.  A photoshop doc and an Indesign doc have the same pixel size. A 20 point character "A" in InDesign, will be

  • PDF not sent in mail

    I have been trying to send PDF files as attachments through gmail IMAP. These files are not received by the windows recipient and are displayed as a html file. I do not know of any compatibility issues in this regard. I have had to log in to gmail us

  • Replacement 3GS - What OS?

    Hi all - I just sent my phone to Apple Care due to a heated battery issue, so they are sending me a new one. My question is - What OS do you think will be loaded? I'm hoping that I can just added my SIM card, turn it on and have OS 3.1.3 loaded - wit

  • Renaming a analytic workspace

    Hello, I created an Analytic workspace in dev - environment and then I created a template for it. I want to migrate the Analytic workspace to the prod environment using the template I created. I was able to do that, but now I want to rename the Analy

  • Canon 50 and Elements 7

    I cannot get My elements 7 to recognize my raw photos from my 50d. I downloaded camera raw 5.3 and my install wizard says it installs but when I try to find the program it keeps returning to the zip to be installed. The read my file does not give the