OSB to ODSI Poller

How do I make an OSB (10gR3) proxy service regularly poll an ODSI service? I have a WSDL and I can call out to the ODSI easily enough, but I can't figure out how to configure it to poll.
The only way I can currently think of is to create a temporary dummy file somewhere and then poll that and have the poller recreate the file when it's done. This is stupid and I'm sure there must be a better way.

Another way that i could think of is polling the ODSE wsdl.
Check this out if it helps.
http://www.w3.org/Submission/ws-polling/

Similar Messages

  • OSB DB Adapter Polling Issue

    Hello Everybody,
    Requirement
    I am doing DB Adapter polling in OSB.I have a db adapter which polls order table whenever there is a record with status='N'.The OSB component is on single node of Weblogic Server.
    1.The db adapter picks the order data with status='N' in the proxy service
    2.It transforms to webservice xsd
    3.Invokes a webservice.
    4.The webservice returns acknowledgement number.
    5.The order table should be updated with status 'Z' and attribute1=acknowledgement number
    OSB Service Design
    1.Proxy service calls business service to poll the order table
    2.Converts the payload to the xsd format required by target
    3.Invokes the webservice on target
    4.Receives acknowledgement number
    5.calls a plsql procedure which updates all the records within this batch with the acknowledgement number and status='Z'
    My configurations in db adapter
    Logical delete option in db adapter.
    Unread Value :'N'
    Read Value : 'A'
    Polling frequency : 300 seconds
    no of databse rows per XML document : 10
    Database rows per transaction : 10
    Issue
    1.My process after getting the acknowledgement number it updates the status with Z and attribute1=acknowledgement number.At the of this transaction I am seeing that the status is being updated by
    the adapter to 'A' based on read value.I want the read value only to be updated initially but as soon as my OSB process picks it for further processing it should not update again.How can i prevent
    the status from getting updated to 'A'.
    2.I have 40 records in order table.Per the database rows per transaction it should process 10 records at a time and for each batch of 10 i should get one acknowledgement number.Instead i see that
    all the 40 records are updated with the same acknowledgement number.Kindly help as to how I can resolve this situation.
    Thanks & Regards,
    Radha

    Hi Arik,
    I tried setting the property(idempotent) in jca file of the polling adapter and it gave me below error.Kindly help
    <adapter-config name="EBS_FETCHDATA" adapter="Database Adapter" wsdlLocation="EBS_FETCHDATA.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/newebs" UIConnectionName="EBS" adapterRef=""/>
    <endpoint-activation portType="EBS_FETCHDATA_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="EBS_FETCHDATA.XxcmfOtmOrderHdrIfaceTmp"/>
    <property name="QueryName" value="EBS_FETCHDATASelect"/>
    <property name="MappingsMetaDataURL" value="EBS_FETCHDATA-or-mappings.xml"/>
    <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
    <property name="MarkReadColumn" value="OTM_INTERFACE_STATUS"/>
    <property name="MarkReadValue" value="A"/>
    <property name="MarkUnreadValue" value="N"/>
    <property name="PollingInterval" value="60"/>
    <property name="MaxRaiseSize" value="10"/>
    <property name="MaxTransactionSize" value="300"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="idempotent" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    ---------------------ERROR---------------
    Invalid JCA transport endpoint configuration, exception: javax.resource.ResourceException: BINDING.JCA-12532 Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setIdempotent is not defined for oracle.tip.adapter.db.DBActivationSpec Please verify the spelling of the property.
    Thanks,
    Radha

  • OSB Email Transport polling in multi cluster environment

    Hi,
    I have following scenario: email needs to be read by OSB proxy using the Email transport. The proxy service service will poll the IMAP mail box and processes messages, upon reading a message message is deleted.
    The email transport works fine in a cluster environment by using a dedicated managed node for polling, so no duplicate messages will occur.
    However, we have two clusters in our environment pointing to one mailbox. In this case, two clusters have no visibility of each other. So, two pollers may poll the same mailbox.
    Please, advice if there any configuration on OSB, Weblogic or IMAP can be done to solve this issue.
    thanks,
    Djail

    Dont think it will work in an Active-Active setup. If you have both clusters listening to same email address then both will receive a copy (just like you receive same email on your desktop's email client and also on your mobile's email client) because SMTP servers distribute to clients similar to how a JMS Topic works.
    Dont know if there is a setup in IMAP which will allow an email to be sent to only one client (in this case one of the OSB clusters).
    If you want to make it work in Active-Active then you will need to do it at functional level, for ex. after receiving an email if you have any unique id then log that in a transaction table, before calling the backend, check if the same email was already processed by the other cluster. Alternatively, check at the backend before processing it.

  • OSB DbAdapter not polling when additional selection criteria is entered

    I am setting up a DbAdapter for use within a OSB proxy service. The OSB version is 10gR3 and the Oracle database that I am connecting to with the DbAdapter is 11gR2. The automatic LogicalDelete polling is working with the default settings when there is no additional criteria specified, but however the polling is not working when I specify any additional selection criteria using the expression builder. Does anybody know if this is a bug with the DbAdapter with the Oracle Database. We have the same configuration pointing to a DB2 AS400 and it is working fine.

    Sorry, by not working I mean no records are being retrieved from the database even though it meets the select criteria for the polling.

  • OSB File Transport Polling Interval

    HI,
    I need to know can i set File Polling Interval in milliseconds in OSB 11g. By default is in Seconds....
    http://docs.oracle.com/cd/E14571_01/doc.1111/e15867/proxy_services.htm#i1276922
    i have found a link which says we can set in milliseconds also but that is in 10g
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/httppollertransport/transports.html#wp1076007
    So please let me know how to set polling interval in milliseconds !!
    Abhinav Gupta

    Abhinav,
    SLA of just a second is too short when it involves reading a file and calling a web-service as well. Here the size of file and load may also cause delay, even there is possibility that OSB may read half written files. Anyways, file an enhancement request with support and let OSB Product Development review your requirements. If found feasible and valid then you should get this functionality as a patch.
    As a workaround, you may consider using a java utility to poll the file and invoke OSB service though it's not an attractive solution and you may face issue of reading half-written/incomplete files. I would consider reviewing the solution design here.
    Regards,
    Anuj

  • In OSB, how to poll message from DTAQ(data queue in AS400)??

    Hi,
    In our OSB project, I have a data queue(AS400) in proxy side and Oracle AQ at business side, I can easily connect to Oracle AQ, but I am not able to understand how to connect with DTAQ (data queue). Is there any adapter supporting DTAQ  for OSB. or does OSB support DTAQ?? Please help me out.
    Thanks
    Deb 

    Hi Bolla,
    If I understand correct all you would need to do is in your connectivity map, publish the data to that queue.
    example high level hierarchy
    prj1Data1
    -Indata1 svc
    -Indata1 topic
    -Indata1Translation svc
    -Outdata1Delivery svc
    -queOutdata1
    prj2Data2
    -Indata2 svc
    -Indata2 topic
    -Indata2Translation svc
    -Indata2Delivery svc
    cmData2Out Indata2Delivery publishes to queOutdata1
    Hope this helps and does not add any additional confustion.

  • OSB Proxy Service not Polling Email

    Hi Guys,
    I am facing a strange problem in OSB.I have created a OSB Proxy which polls for new emails and based on some logic write attachments to shared file location.
    Everything is working fine.But after sometime when there is no new mail in the mailbox, and after say 3 to 4 hrs new mail comes,my proxy service doesn't poll those mails.
    But when I disable and then enable the proxy Service again ,it starts polling again.Its happening consistently now.Cant understand what the issue is why it stops polling mailbox after sometime and start polling again after disabling and enabling PS.
    Plesae help.

    Maybe you run into an MS Exchange server bug (for MS Exchange 2007 and 2010). See http://www.oracle.com/technetwork/java/faq-135477.html :
    Q: I'm having trouble logging into my Microsoft Exchange server, even though I'm sure I'm using the correct username and password, what could I be doing wrong?
    A: When logging in to Exchange you need to use a username that's more than your simple login name. For example, if your email address is "[email protected]", your Windows NT login name is "juser", your NT domain name is "dom", and your Exchange mailbox name is "Joe User", then you would need to use a username of "dom\juser\J.User" when logging in using JavaMail.
    Note also that there's a bug in Exchange 2007. The Exchange server advertises that it supports AUTH=PLAIN, even though this Exchange documentation claims that it's not supported. This causes JavaMail to choose PLAIN authentication, which will always fail. To work around this Exchange bug, set the session property "mail.imap.auth.plain.disable" to "true". (Change "imap" to "imaps" if you're using the "imaps" protocol.)
    We have this problem. No idea how to set these properties in OSB. Maxbe to write our own transport provider...
    Regards, Horst

  • Strange behaviour of polling adapter

    Hi All,
    I have a strange situation where the database polling is not happening.
    Here is my use case
    I have a polling db adapter which picks up a record from the table and invokes a procedure on the same database instance with the same connection factory configuration and then commits the data to the AQ . I am using OSB(11.1.7) to achieve this . This worked fine for a while then the issue started appearing . The poller is not being invoked suddenly and with no error log on the all of the servers. I have stopped and activated the db adapter,reset the datasources and  restarted the sever but none of them were working . Strangely when i invoke the proxy service from the test console I can see the data in the queue. Assuming there is an issue with the dbadapter this shouldn't work since there is an invocation to the procedure in the same database instance using the same connection factory as that of polling . Can some one please help regarding this if you ever faced such an issue
    Thanks..

    Hii,
       There are scenario where the OSB proxy stops polling the record. Please check the logs to try to figure the exception or you can enable tracing to get the detail.
    For time being in order to start polling try to enable and disable the proxy service.
    Regards,
    Abdul

  • High Availability File Adapter in OSB

    If you use the JCA FileAdapter in OSB, it is necessary to use the eis/HAFileAdapter version, to ensure that only one instance of the adapter picks up a file; you must then configure a coordinator, by setting the
    controlDir, inboundDataSource, outboundDataSource, outboundDataSourceLocal, outboundLockTypeForWrite
    parameters.
    controlDir refers to the filesystem, the others to the DB
    This document http://www.oracle.com/technetwork/database/features/availability/maa-soa-assesment-194432.pdf says
    "Database-based mutex and locks are used to coordinate these operations in a File Adapter clustered topology. Other coordinators are available but Oracle recommends using the Oracle Database."
    Using a Oracle Database as coordinator means using RAC, otherwise no HA.
    I wonder if anybody has been successful setting up HAFileAdapter without using a DB?
    If DB is required, I am considering using the good old "native" OSB File Poller, since it doesn't require complicated setup to be run in a cluster... but I don't want to use MFL, I would rather use the XSD-based Native Format. Here comes the second question:
    Is it possible to use the nXSD translator using the OSB Native File Poller - instead of the JCA Adapter?
    Thank you so much for your help - it will be rewarded with "helpful/answered" points .
    pierre

    I wonder if anybody has been successful setting up HAFileAdapter without using a DB?
    I have not tried it but I think there are several options available invlucing writing your own custom mutex. Please find the details in Oracle File and FTP Adapters High Availability Configuration section on this link
    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10106/ha_soa.htm#sthref434
    Is it possible to use the nXSD translator using the OSB Native File Poller - instead of the JCA Adapter?
    When you create a JCA Adapter based Proxy Service to read the files, the nXSD translation happens before the proxy service is invoked. JCA Engine first reads the data, translates using nXSD and then invokes the Proxy with the translated content. (You can verify this easily by creating a JCA based file read service and open the test console for it in sbconsole, it will show you XML request instead of native).
    So you can not read the text content using File Transport of OSB and then calling nXSD directly or calling an nXSD based Proxy Service.
    HOWEVER, you certainly can use file and nXSD in a combination if thats what you want.
    1. Create a Synchronous Read File Adapter with an nXSD created for it
    2. Create a Business Service for that Synchronous Read JCA in OSB
    3. Create a File Transport based service in OSB which will read the content of file and then call the Business Service to again read the content (which will include the translation using nXSD defined in step one to convert the content to XML).
    So basically you will need to read the file twice! Once using File Transport Proxy service (which will take care of polling in cluster) and then using Sync Read JCA based business service(which will do nXSD translation). To reduce the impact of reading the file twice you can use trigger files. File Proxy to read trigger file and and invoke JCA business service to read the actual file for that trigger.
    Another alternative can be to create a similar class as present here(http://blogs.oracle.com/adapters/entry/command_line_tool_for_testing) but instead of writing a file it will just return the translated content. Call this class with native content from the File Transport proxy using a Java Callout to do the translation.

  • How to forward message to two different queue using jms proxy service

    Hi all,
    In my project I need to listen to one jms queue then forward the messages to two different queue.
    Now I already made one proxy for listening to the queue then pass it to another queue using business service, It works.
    But how to forward the messages to two different queue in same flow process using one proxy and bs??
    or any other way?
    Really thanks in advance.
    Regards,
    Kahlil

    Hi,
    I have a MQ queue and i created a Proxy to listen to the queue , but i dont see any activity in OSB logs ..how do i knw if OSB proxy is polling that MQ ( mq is the transport protocol that i am using ) .
    Thanks
    Prarthana.

  • Oracle AQ - dequeue multiple threads

    Hi,
    I have a single consumer AQ queue containing 1000 records. I have a bpel process that dequeues from the queue and performs some action.
    I need to have 10 processed polling from the queue at a time and performing the post xyz task. When any one of them is done, the next record can be dequeued.
    Thanks,
    Rosh

    i have the same problem with my proxy service on the osb which is polling an aq.
    when 100 messages are in the queue and it starts polling it will dequeue them all in 1 thread and will hammer the backend service.
    i couldn't find any setting on the aq jca itself to control this. my current solution is osb based and we use throttling on the business service to control it a bit.
    in the old esb you could have a setting like minimumDelayBetweenMessages to control this, but i already decompiled the aq adapter from the osb but can't find any interesting setting anymore
    see : https://blogs.oracle.com/kavinmehta/entry/aqapps-adapter-endpoint-properties for the old settings which worked for us

  • Re: Oracle Data Services Integrator Vs Oracle Data Integrator

    ODSI 10gR3 (10.3) does it work with OSB 11gR1 (11.1.1.6.0) Release?
    ODSI 10gR3 (10.3) can it be deployed to WLS 11g?

    > ODSI 10gR3 (10.3) does it work with OSB 11gR1 (11.1.1.6.0) Release?
    I believe so. Check with OSB.
    ODSI 10gR3 (10.3) can it be deployed to WLS 11g?
    Only WLS 10.3

  • Logical Delete in DB Polling - OSB

    Hello All,
    I have a question in polling. I have a logical delete column with Read value as 'P and unread value as 'N', Unlike BPEL, OSB's polling, does not make a record to 'P' until the process completes successfully. My DB polling adapter polls the same records while the previous instance is under processing or the previous instance ended in error. Is there a way to logically delete the record immediately once the record is read?
    To avoid this scenario, I added an error handler to make the record to 'E' if the instance encountered any error. By the time the error handler kicks in and updates the record, OSB polls the record a few times. I increased my polling frequency from 5 seconds to 30 seconds, but no luck. Any clue how to handle this scenario?
    Thanks,
    Dwarak

    Is there a way to logically delete the record immediately once the record is read?Dont do any logic in db adapter proxy. Instead make the proxy to just write to a jms queue and then have your processing logic in the jms proxy service which reads off the jms queue.

  • Error encountered while polling a file using OSB

    Hi,
    This is the Exception when i try to poll a file using OSB
    <Error enco
    untered while polling the resource for the service endpoint ProxyService$CASE_RC
    $BUILD_DATA$FILE_HEADER$FileProcessPS: javax.naming.NameNotFoundExc
    eption: While trying to lookup 'wlsb.internal.transport.task.queue.file' didn't
    find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/file'
    javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transp
    ort.task.queue.file' didn't find subcontext 'wlsb'. Resolved ''; remaining name
    'wlsb/internal/transport/task/queue/file'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    Truncated. see log file for complete stacktrace
    Can i know what is the issue?

    Hi,
    * java.lang.OutOfMemoryError: PermGen space
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    Solution: Increase the max permgen space -XX:MaxPermSize=256m
    There can be a leak in the permgen objects. If tuning parameters do not resolve the issue, we need to use the memory leak detector tools and find out which instances in the permgen space are not getting cleared.
    Reference - Weblogic wonders...
    http://weblogic-wonders.com/weblogic/2010/12/30/different-out-of-memory-issues/
    Cheers,
    Vlad

  • OSB polling process

    Hi
    I have a requirement where i need to create an OSB process which connects to a DB,executes a sql query at regular intervals. In other words a polling process which executes every 5 min
    Can some one suggest me how to go about it.
    Thanks in advance
    Vamsi

    Use "Poll for new or changed records in a table" operation of DB adapter. Please refer below post to know how to use JCA DBAdapter with OSB 11g -
    http://guidoschmutz.wordpress.com/2010/08/08/oracle-service-bus-11g-and-db-adapter-a-different-more-integrated-approach/
    Regards,
    Anuj

Maybe you are looking for

  • Lost video app after iOS 7 update - help

    After installing ios 7 the built in app for video on my ipad has disappeared, please help

  • How to update bind variable and restrict values in a Model Driven LOV?

    Hi Guys, Using JDev 11.1.1.2.0 I've recreated an excellent Frank Nimphius article about restricting values derived from a model driven LOV (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/44-restrict-lov-169186.pdf) But my bind variab

  • Language in adobe forms

    hello, i have a requiremnet to print header in both the languages. could u help please. thanks adnan

  • Customise Subject Line for Email Notifications?

    I am using FormsCentral to receive Course Submissions.  Because Gmail groups all emails with identical Subjects & Senders, I need to be able to differentiate the Subject line of the Email Notifications, to include a unique field identifier (such as e

  • Install Lync 2013 by OCT Tools

    Dears, I have Lync 2013 and I wants to install it for client computers via SCCM 2012, I wants to use OCT tool for deploying the package, kindly I need all the steps for creating OCT tools and I wants to know where shall I put lyncentry.exe and MSP fi