OSB Adapters

I see that now the JCA adapters are available with OSB.
But am still confused with are they available exactly as is with BPEL in Jdev or in Eclipse.
Basically need to know what are the prerequisites to do simple file polling, database query etc.
thanks

what I essentially needed to know was, where are the OSB adapters available for designing, beacuse as far as I know it is not available in JDeveloper.Copy the latest adapter DBAdapter.jar from your OSB installation into Jdevhome/Integration/lib
Use Jdev to create Partnerlinks for DB/AQ/EBiz adapter in ESB/BPEL project.
Manually import the WSDL to OSB from the JDEV project folder.
Create services in sbconsole/workshop using the WSDL (For services based on DB we require toplink file generated by JDEV in your project for the partnerlink) .
When you say DB,AQ adapters are available, I need to know how to use them ( Are they available through Eclipse or SBConsole).I'm not sure If I understood your question?Can you please explain
Cheers
Manoj

Similar Messages

  • Install older drawing tablet

    The last frontier! I recently purchased a used G4 and have both OS 10.4 and OS 9.2 up and running. I recently installed an older version of Painter (runs well in Classic) and would like to install equally old tablet (CalComp Drawing Slate).. All other apps are in the OS 10 platform. Any hope of this all going perfectly smoothly? Will a tablet run in Classic? Can I connect the old port model (PS/2) with a USB adapter (is there such a thing?). AND, if all else fails, is there anything (newer, better) that would work in both environments?
    Bonus Question: Amazingly, I am connected with Airport, and the router is connected to the old G3 (OS 9.2) How do I do File Sharing, to access the Old from the New? (As is transport files and apps)

    Hi,
    OS9 CalComp drivers...
    http://www.digitizer.ca/Calcomp/calcomp_drivers.htm
    But in "Classic", osx is handling all the HW, sooo...
    Can I connect the old port model (PS/2) with a USB adapter (is there such a thing?). AND, if all else fails, is there anything (newer, better) that would work in both environments?
    PS2<->USB adapters are cheap, in fact find some cheap PS2 or OSB adapters and there might be one free in the box.
    Here's 35 cent one... not sure if it's the right gender though...
    http://www.b2cshop24.com/en/usb-male-to-ps2-female-adapterconverteradaptor.html
    How do I do File Sharing, to access the Old from the New?
    Tiger makes it a bit more difficult, it dropped file transfers with AppleTalk, but...
    "Mac OS X 10.4 and later don't support Personal File Sharing (or other AFP) over Appletalk, though by initiating the connection from the opposite direction you could still achieve an IP connection from a Mac OS 8 computer to a sharing Mac OS X computer. The Network preference pane in Mac OS X 10.4 and later still offers the AppleTalk checkbox, but it is for browsing AppleTalk-advertised resources and zones. The subsequent connection must be over TCP/IP."
    http://docs.info.apple.com/article.html?artnum=106461
    See also...
    http://www.opendoor.com/shareway/ShareWayDatasheet.html

  • OSB - Business Case for Adapters Vs Transport

    Hi
    1. Can you please explain me a business case on when one should use Db/JMS/FTP/File Adapter in OSB and when should one go in for equivalent transports for configuring Business/Proxy services? Would be great if you could point me to some documentation on which approach should be chosen over the other/any benefits that a particular approach has etc..
    2. Also is there some Oracle Documentation available on comparision between OSB and BPEL? When should a particular product be chosen? I tried searching for an example with a business scenario which provides details on when to use OSB and when to use BPEL but havent been able to get much info.
    Thanks!

    Can you please explain me a business case on when one should use Db/JMS/FTP/File Adapter in OSB and when should one go in for equivalent transports for configuring Business/Proxy services? Would be great if you could point me to some documentation on which approach should be chosen over the other/any benefits that a particular approach has etc.. For DB, you have to use DB adapter in OSB beacuse there is no seprate transport defined for DB. For FILE, you have both options - FILE transport and FILE adapter (in OSB 11g). FILE transport should be the preferred option (never seen documented anywhere) as it has been designed as part of the product and hence should be faster (although never comapred). For JMS and FTP, you have to use respective transports defined in OSB because OSB does not support JCA adapters for FTP/JMS (you may refer - 25.2.1 Adapter Support
    at http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/jca.htm#BABBICIA)
    2. Also is there some Oracle Documentation available on comparision between OSB and BPEL? When should a particular product be chosen? I tried searching for an example with a business scenario which provides details on when to use OSB and when to use BPEL but havent been able to get much info.OSB is a dedicated routing product and must be used for scenarios where only routing is required along with light transformations. Being a stateless product OSB can bear heavy load as well as gives better performance. BPEL can do what OSB does (to a certain extent) but being a statefull product it is much slower than OSB and should be used only for scenarios where process orchestration/human workflow intervention is required.
    OSB being a service bus, can mediate among almost each and every kind of protocols but BPEL would need adapters for such mediation.
    Regards,
    Anuj

  • 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

  • OSB, DB adapters and complex XML

    I'm new to all Oracle middleware products (and it's years since I've written any Java, while I'm being honest), but I've been given the task of taking some existing XML feeds and sticking some of the data in a DB. Well, that's the basic solution I've come up with anyway, and OSB (10.3.1) seems the way to go.
    I've seen the JCA DB adapter tutorial at http://www.oracle.com/technology/sample_code/products/osb/index.html - and very good it is too, but I'm wanting to take it a bit further. i.e. do something more complex than a simple 1:1 XML attribute to database column mapping. I want to take the existing XML file that has a relatively complex schema (containing more attributes than we actually need, plus entire sections I want to ignore) and only take the relevant info and put it in the DB table.
    The thing is, I don't see any pointers on that, wherever I look on the web. Is it simply a case of hacking around with the xml, xsd, mappings, etc...telling it about the extra fields, and to ignore them...or - given that will probably take quite a while - is there a an easier way using Jdeveloper, Eclipse or something?
    Likewise, is there a nice tutorial showing how to create a proxy service and map it to the DB adapter business service? I guess I can figure that out myself, but it's nice to save time and see the 'right' way first...
    Any other pointers, before I head off down the wrong path? Good resources, aside from the manuals on here?
    Cheers in advance.

    If I remember correct, a DB Proxy (JCA proxy using DB adapter) required for cluster deployment , is supposed to use a WSDL specifically generated from JDEV with specific settings.
    Ex. I created a db proxy in my development box (Single node OSB domain). The same proxy cannot be deployed in clustered osb domain. The wsdl for db inbound in cluster domain is little different from db inbound in non-cluster env and that has to be created from scratch from JDEV.
    I can search my previous mails for the specifics if you should require .
    Thanks
    Manoj

  • 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

  • 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'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • OSB db-adapter: how to pass a proxy user or something like this?

    Hello, on OSB with a Oracle db-adapter, I'd like to do some database updates. Usually the db-adapter is set up with a technical database user.
    But on database side, this way I don't know exactly which user has been updating my table because only the technical user will be inserted into "Created_by" Column
    (select USER from dual ==> technical user).
    Now I thougt about using Proxy Users. But there exists some other Problems:
    - every proxy user has to be initially created in the database
    - how can I pass proxy user and technical user from OSB to the database?
    (using JCA, JNDI and JDBC Data Sources)
    ... on JDBC datasources I can only specify hard coded userid/password (--> technical user)
    Any help would be appreciated. Maybe some good white papers or tutorial exists in the web, but I can't finde a good one.
    Thanks
    Best regards

    You can pass in the adapter header property "jca.db.ProxyUserName". That way you can specify a user for each invoke.
    I got confirmation that OSB supports setting these properties. The sample adapters-db-201-MovieImages on soasamples.samplecode.oracle.com > Adapters shows working with header properties but with Mediator.
    Thanks
    Steve

  • File read in Mediator / OSB

    I have a requirement where a BPEL process calls an ESB (could be implemented using either mediator or OSB). The ESB should then pick a set of files from a directory in the local file system and FTP them to several locations.
    From the file adapters available in (both the) ESBs, we HAVE to configure the polling interval. So, the file adapter is actually a one-time configuration which runs until the server ends. That is not the requirement. Is there a way to make a synchronous call from BPEL to the ESB file adapter, and then the file adapter picks those files and FTPs to the said locations and returns control to the ESB and hence the BPEL?
    Edited by: user11846866 on Aug 31, 2009 3:07 PM

    I'm not a expert in ESB so cannot comment on that product.
    OSB in itself cannot accomplish this use case "OSB should pick a set of files from a directory in the local file system and FTP them to several locations only on trigger/request (different from polling)".
    We had similar discussion earlier Re: Using SFTP proxy service without polling interval, how to do it?
    I'm not sure about your architecture criteria that mandates this separation of logic implementation in BPEL and OSB.
    At best, solution with OSB is like
    1) BPEL--->(OSB)Proxy Service1---> Enable FTP Proxy and wait for pre-configured time(Java Callout in Proxy Service1) ---->Read the files and ftp to various locations in FTP proxy---->Disable SFTP Proxy(Java Callout in Proxy Service1)--->Return response to BPEL.
    2) BPEL puts file in directory--->OSB picks and posts to FTP (polling is involved)
    Manoj

  • OSB File append

    I have setup a File protocol based Business Service in OSB. This Business Service is called by a Proxy Service after setting the file name in the outbound transport header and assigning the text to be written to the file. When executed, the file is successfully created. When the proxy service is executed again, a new file is created. I would like the data to be appended to the existing file. How do we achieve this?
    I know there is a property - 'Append' which should be set to true in case of file adapters. I tried setting the outbound transport header to 'Append', 'append', 'jca.file.append', 'jca.file.Append'. None of these seem to help.

    Thanks for the link. That really helped!
    However, though the file is created by the file adapter, the contents are missing. While configuring the File Adapter in JDev, I defined the following XSD as the message for the write operation.
    <xsd:element name="log">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="logMessage" type="xsd:string" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    And I am sending the following in the SOAP Request...
    <log:log xmlns:log="http://myNS/LogFileWriter">
    <log:logMessage>My Log message...</log:logMessage>
    </log:log>
    I expect the value 'My Log message...' to be written to the file. However, it is always empty.

  • OSB business service on jdev 11g generated db adapter

    Is it still possible to generate the db-adapter in jdev and import the resources in osb and create a business service with jca transport based on this wsdl?
    the documentation is only describing how to it should work based on a 10.1.3 generated db adapter.
    In the 11g the resources of the db-adapter are different (external jca property file etc).
    So..whats the way to go for this when using the 11g stack ?

    So..whats the way to go for this when using the 11g stack ?Current version of OSB (OSB 10.3.1) does not support 11g adapter stack. The next release of OSB will support 11g Adapters.
    Manoj

  • How to create the OSB artifacts in JDeveloper

    The docs I've seen get me a little closer in being able to test the DB and AQ Adapters on the OSB, but it really does not help me understand how to do it through JDeveloper.
    In the past we have done all of the OSB development in Eclipse and then imported it into the OSB.
    Again, the docs I've seen shows how to do the Adapter configuration in JDeveloper and then how to create the Business Services and Proxy Services directly in the OSB console.
    But I need to know how to create the OSB artifacts in JDeveloper then import them into the OSB or if this is even possible. I know there is an optional Eclipse component that you can install with OSB. Will we have to use both tools? (e.g. Eclipse for the OSB components and then JDev for the Adapters.)
    Anyone have clarification?

    Again, the docs I've seen shows how to do the Adapter configuration in JDeveloper and then how to create the Business Services and Proxy Services directly in the OSB console.WSDL/Binding generation is required to be done in JDEV. OEPE/Workshop doesn't have these adapter plugins to generate WSDL and Bindings. Once the WSDL/Binding are generated you can either use sbconsole or OEPE/workshop for your usual development.
    But I need to know how to create the OSB artifacts in JDeveloper then import them into the OSB or if this is even possible. There are no OSB artifacts that need development in JDEV. As you are aware the oracle adapters exposes back-end functionality in XML interface. This XML interface is modeled by WSDL. For adapters to work we need the WSDL and corresponding binding. Since OSB JCA transport uses adapters, we are required to provide these components.
    Will we have to use both tools?For any services that are using JCA adapters, we need to use both (JDEV and (sbconsole or OEPE) ).
    IF your services doesn't have to use JCA adapters then JDEV is not required.
    Let me know if you have any questions.
    Manoj

  • Rejected Message Handlers in OSB

    The official documentation of Oracle JCA adapters
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10231/life_cycle.htm#BABBHJEA
    says that one can have a Web Service invoked whenever the JCA File Adapter rejects a message,
    and this invokation would include the error details.
    However, I have found examples only for a BPEL Error Handler, and not a WebService Error Handler.
    I have tried providing a dynamic JCA activation property "rejectedMessageHandlers=wsif:// http:// pierrepc:7001/ errorhandler/ rejectionMessagePS? WSDL | handleRejection | message" , where myhandler is the URL of a Proxy Service based on a WSDL, but I keep getting the error
    "Error while trying to hand off bad message to Rejection handler wsif : // http: // pierrepc:7001/ errorhandler / rejectionMessagePS?WSDL | handleRejection | message due to: Unable to find an available port"
    The WSDL is:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <definitions name="RejectionMessage"
    targetNamespace="http://xmlns.oracle.com/pcbpel/rejectionHandler"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/rejectionHandler"
    xmlns:err="http://xmlns.oracle.com/pcbpel/errorHandling"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <!-- Message Type for JCA Adapter Framework onReject() callback -->
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/pcbpel/errorHandling"
    schemaLocation="JCAErrorHandling.xsd"/>
    </schema>
    </types>
    <message name="RejectionMessage">
    <part name="message" element="err:RejectedMessage"/>
    </message>
    <portType name="RejectionHandlerPortType">
    <operation name="handleRejection">
    <input message="tns:RejectionMessage"/>
    </operation>
    </portType>
    <binding name="rejectedmessageSOAP" type="tns:RejectionHandlerPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="handleRejection">
    <soap:operation soapAction="http://www.example.org/rejectedmessage/handleRejection"/>
    <input>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="rejectedmessage">
    <port binding="tns:rejectedmessageSOAP" name="rejectedmessageSOAP">
    <soap:address location="http://www.example.org/"/>
    </port>
    </service>
    </definitions>
    and the XSD is
    <?xml version="1.0" encoding="UTF-8"?>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/pcbpel/errorHandling" xmlns:tns="http://xmlns.oracle.com/pcbpel/errorHandling" xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="FatalErrorMessage" type="tns:FatalErrorMessageType"/>
    <complexType name="FatalErrorMessageType">
    <sequence>
    <element name="Originator" type="string"/>
    <element name="Reason" type="string"/>
    <element name="Exception" type="string"/>
    <element name="StackTrace" type="string"/>
    </sequence>
    </complexType>
    <element name="RejectedMessage" type="tns:RejectedMessageType"/>
    <complexType name="RejectedMessageType">
    <sequence>
    <element name="MessageHeader" type="base64Binary"/>
    <element name="MessagePayload" type="base64Binary"/>
    <element name="RejectionReason" type="string"/>
    <element name="AdditionalProperties" type="tns:AdditionalPropsType"/>
    </sequence>
    <attribute name="RejectionId" type="string"/>
    <attribute name="BatchId" type="string"/>
    <attribute name="BatchInfo" type="string"/>
    <attribute name="PrimaryKey" type="string"/>
    <attribute name="MessageOriginReference" type="string"/>
    </complexType>
    <complexType name="AdditionalPropsType">
    <sequence>
    <element name="RejectionProp" type="tns:RejectionPropType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="RejectionPropType">
    <simpleContent>
    <extension base="string">
    <attribute name="name" type="ID" use="required"/>
    <attribute name="value" type="string" use="required"/>
    </extension>
    </simpleContent>
    </complexType>
    </schema>
    Any clue?
    I have invoked successfully the Proxy Service with the original WSIF libraries from Apache http://ws.apache.org/wsif/wsif_samples/index.html .... I don't see why the collaxa-third party library in the Oracle Adapter refuse to parse the WSDL...
    thanks!
    Edited by: Pierluigi Vernetto on 27-Jan-2012 04:22

    Maybe this can help - http://www.javamonamour.org/2011/11/osb-and-rejectedmessagehandlers-in-jca.html

  • Reading huge flat file in OSB 11gR1

    Hi,
    I want to read a flat file in OSB.The size of the flat file may be larger, upto 1 MB.
    As per my knowledge, OSB provides following approaches to read a flat file-
    1.JCA(creating a file adapter in jdev and importing artifacts in OSB)
    2.MFL transformation
    3.Java callout
    Please let me know which is the best way to read the flat file.Also , is there any other way to do the same.
    Thanks in advance.
    Regards,
    Seemant
    Edited by: Seemant Srivastava on Feb 18, 2011 1:47 PM

    Which option is best one to convert a flat file to XML - is it via File Adapter or MFL ? Well, it's a topic of debate and it usually depends on your choice. Manoj has explained it clearly above that why one may prefer File Adapter over MFL. It also depends on your familiarity with the product. If you are a Oracle developer dealing with BPEL/Mediator mostly then you will prefer going for File adapter in this situation, even with OSB, but if you are a OSB developer (since the time it was known as ALSB) you will prefer MFL over adapter.
    It's just matter of choice & your comfort. Remember, in different-different cases, both solutions may result in different performance, so better test them from performance perspective and then choose.
    Such flexibility of optional tags can only be handled by mfl.I don't think so. File adapter should also be able to handle this use case. Have you checked this -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10231/nfb.htm#CHDDHEAI
    Also, upto what size of input file is supported by mfl.It's a unanswerable question. It totally depends upon your system structure. I personally don't prefer huge files translation at OSB because it hurts the performance of OSB.
    but I think such feature will not be supported when the file adapter artifacts are imported and used in OSB 11.1.1.3/11.1.1.4Correct. From OSB Dev guide -
    25.2.1.1 Oracle JCA Adapter Limitations
    Following are limitations when using some JCA adapters with Oracle Service Bus:
    •Oracle JCA Adapter for AQ – Streamed payload is not supported with Oracle Service Bus.
    •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
    Regards,
    Anuj

  • How to determine mime-type of a file using OSB

    I was working on a requirement where in it requires to use FILE/ FTP adapters using OSB or BPEL as solution. The idea is to pick up files from one location to another location for certain legacy platforms. The real issue is, someone can put a JPEG file in the upload/download location(s), merely by changing the extensions. When this happens the systems will not process since the mime-type is incorrect.
    I know of an open-source API (Apache-Tikka) to determine the mime-types, but then if we use open-source why would customer buy from us.
    The intention is to pick-up the file and simply pass-it (and not parse) on to next system using File or FTP adapter, but in the process, cross check the MIME-TYPE before doing so.
    Any solution using Oracle Service Bus or BPEL would help

    HI Birender,
    Kindly go through the metalink doc for processsing jpeg/xml/pdf etc any atachement using bpel :Understanding XPATH functions for processing MIME attachments with BPEL PM in SOA Suite 11gR1 [ID 1272093.1]
    Regrds,
    olety

Maybe you are looking for

  • My Adobe CC opens to a blank screen.  Any suggestions?

    I have Adobe CC installed on my HP Win7 laptop.  It opens to a blank screen.  Has this happend to anyone else?

  • Document types displayed as folders when arranged by set to type

    Hello everyone, I have an issue with the finder since upgraded to Lion. I use to open finder in column view with "Arranged by" set to "Type" and "Sort by" set to name. But the thing is that the titles/names of the document types are sometimes diplaye

  • Java applet security

    hello all, i was just wondering if there is any secure way to send information from a java applet to a server, for example a number for storage in a database? I would like to create a very simple game which send the high score back to the server with

  • Multiple Objects With Event Trigger Effects Issue

    I have a custom container that derives from the Canvas class that has a bunch of child objects in it. Is there a way to treat all of those objects as a single object in regards to triggering events / effects on them? For example, my custom container

  • Meta migration ant task throw exception

    Hi, I am trying the migration from kodo 2 to 3. I successfully migrated the properties file using the integrated ant task; but run into some problem with the meta data migration (the *.jdo files). following is the ant task I am using: <target name="m