AQ adapter configuration in OSB.

Hi,
1)I have developed a OSB service that dequeues the message from the queue and calls a stored procedure.
2)I used a non XA datasource for AQ adapter.
3) I could see that the message is going to processed state only after we get the response from PL/SQL stored procedure.
4)My requirement is to dequeue the message from the queue(AQ), then go and "Processed" state then call the stored procedure.
Can any one please help me on this.
Thanks,
Naveen.

Naveen1215 wrote:
4)My requirement is to dequeue the message from the queue(AQ), then go and "Processed" state then call the stored procedure.Unusual requirement... I think you will have to split OSB service in two to achieve it...

Similar Messages

  • Outbound DB Adapter configuration in OSB

    Hi,
    I have configured Outbound DB Adapter in OSB using JCA protocol. i am able to insert data also in database using OSB.
    But i am getting some problem with one to many relationship tables.
    here my database tables look like
    BaseTable:
    ID(primary Key), servicename, servicetype, amount
    ChildTable:
    ID (foriegn key reference from Basetable ID), taskname, tasktype, taskvalue
    primary key: (id, taskname).
    here relationship is : one to many relationship with childtable. means
    one ID in basetable having many number of rows in child table.
    Data:
    ID servicename servicetype amount
    1 aaaa bbbb 12
    childtable:
    ID taskname tasktype taskvalue
    1 zzzz lllll 34
    Problem:
    when i am trying to insert one more row in childtable. it is not inserting new row, it is overriding exiting row. but as my understanding one to many relationship means, new row has to be created.
    Please help me how to resolve this issue.
    Thanks.

    Hello,
    You mention that the child table uses id and taskname as the primary key, but not what is specified as the primary key in at the object level. My guess is that you are only using the id field as the primary key, and so adding a new Child that references the same parent causes an object identity problem - since child1 and child2 both have the same value for ID, they can't be distinguished from each other.
    Please be sure that you have both fields marked as the prmary key. If they are, please show how the child table is mapped.
    Best Regards,
    Chris

  • Adapter configurations in clustered environments

    Could you please let me know if any additional configurations/changes in the WSDL files are required for the Oracle adapters in a clustered environment.
    The Apps adapters , AQ adapters and the DB adapters in our processes have stopped working after being migrated to a clustered environments.
    Any inputs on the same would be greatly appreciated.
    Thanks a lot in advance!

    DB Inbound WSDL generated for single node cannot be used in clusters. At least for DB adapter released with OSB 10.3.1 Maintenance Pack1, we have to create separate inbound wsdl in jdev if they are supposed to be deployed to cluster. These is no way we can modify the Inbound WSDL generated for Single node to work in cluster.
    For a cluster inbound these steps are required
      1. Distributed Polling – When generating the WSDL in JDeveloper, set the Distributed Polling option when creating the DB adapter WSDL in JDeveloper. This option is required in an Oracle Service Bus cluster.  
    2. UseDirectlySQL – When generating the WSDL in JDeveloper, if you are using Distributed Polling  
    3. <toplink:lock-mode>lock</toplink:lock-mode> on toplink file
    Outbound WSDL should work with out any issues in cluster.
    Are you using adapters bundled with OSB?
    Cheers
    Manoj

  • Error -17600 when switching from LabVIEW Development System to LabVIEW Run-Time Engine in Adapter Configuration

    I receive an error message (code -17600) while loading my test sequence after switching from LabVIEW Development System (2009 f3) to LabVIEW Run-TIme Engine using the Adapter Configuration.
    ErrorCode: -17600,
    Failed to load a required step's associated module.
    LabVIEW Run-Time Engine version 9.0.1f3.
    When I switch back to the LV development system, everything is OK, and the sequence loads and runs perfectly.
    My TestStand Engine Version is 2012 f1 (5.0.0.262).
    I'd appreciate any help on this issue.
    Roman

    Hi Roman,
    There are a couple of things you can try:
    1) Determine if the LabVIEW RunTime Engine is corrupted in some way. Create a new simple VI with no sub-VIs, using the same LabVIEW Development system you used for mass-compiling the VIs. Create a TestStand step that calls this VI and ensure it runs correctly. Now switch your LabVIEW adapter to use the RuntimeEngine and choose the "Auto detect using VI version" option.
    Check if the simple VI is loadable and runs without errors in TestStand.
    If the step generates the same error, you should try a re-install of the LabVIEW development system.
    If not, its most likely that there is some VI you are using that is not loadable in the LabVIEW Runtime Engine because:
    1) Some sub-VI is still not saved in the right version or bitness. Open the VI heirarchy of the top-level VI that you are calling from TestStand and examine the paths of all the sub-VIs to check if they were in the folder you masscompiled and re-save any that are outside this directory.
    Also, when you try to close the top level VI, do you get a prompt to save any unsaved files? If so, they could be the sub-VIs that are not saved in the right version. Save all of them.
    Check if you are loading any VIs programatically and if these are compiled and saved in the right version as well.
    2) There is some feature you are using in your LabVIEW code that is not supported in the LabVIEW RunTime Engine. To check this, add your top-level VI to a LabVIEW project and create a new build specification and create a new executable from this VI.
        Right-click "Build Specifications" and choose "New->Application(EXE)".
        In the Application Properties window, select Source Files and choose the top level VI as the start-up VI.
        Save the properties.
        Right-click on the newly created build specification and choose Build.
    Run this executable (it will be run using the LabVIEW RunTime) and check if the VI has a broken arrow indicating that it cannot be loaded and run in the LabVIEW Runtime Engine.
    You might need to examine your code and find the feature which is not supported in the LabVIEW RunTime and find an alternative.
    Another thing i forgot to mention the last time around is if you are using 64-bit LabVIEW with 32-bit TestStand, then executing code using LabVIEW RTE from TestStand will not work since the 64-bit LabVIEW RTE dll cannot be loaded by the 32-bit TestStand process.
    If none of the above steps resolve the issue, consider sharing your LabVIEW code so i can take a look.
    Regards,
    TRJ

  • File adapter configuration parameter for "hexadecimal conversion"

    (File adapter for XI 2.0)
    Does anybody know the exact File adapter configuration parameters for reading a file with hexadecimal control characters as seperators. My file has
    3 types of seperators - i.e "2F", "05" & "0D2F"
    Eg: xml.fieldSeparator= "2F"
    When I specify this the file is getting split into fields
    at all the seperators in the file. I guess I am not using the right format in my defination ?
    Dorai

    Is there any special format for reading a file containing hexadecimal control characters?
    The file to be processed has hexadecimal separators:
    Field Delimiter        : '09' or '05'
    End of record delimiter: '0A' or '25'
    End of Table delimiter : '07' or '2F'
    Initially i would like to read the file into XI as it is i.e without any split by using "xml.fieldFixedLengths= "
    However, everytime I process the file(with hexadecimal contol characters), I have noticed that my file is getting split, even when I did not specify anything for field separator(i.e when i used fixed field length).
    Thanks,
    Dorai

  • File name naming convention in File Adapter configuration in ID

    Hi All ,
    I have a query related to xml filename created in IDOC-XI-FILE scenario based on value of one of IDOC field .
    The scenario is like this :
    I have to send one xml file per store for material master . In this case how can I define my file name with store name in File adapter configuration in ID .
    Naming convention should be
    <b><storename>_date_masterdataname.xml</b>where store name is one of field of IDOC .
    Plz help me .
    Thanks in Advance
    Regards
    Prabhat Ranjan

    Hi Prabhat,
    take a look at this weblog:
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    you have to specify variable substitution
    (in the file adapter)
    and give the path to the store name (in the variable sustitution table)
    you <b>file name schema</b> (from the file communication channel can look like this)
    %storename%_date_masterdataname.xml
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Using adapter specific message attributes in SOAP adapter configuration

    Hi,
    Can you please let me know how to use adapter specific message attributes in receiver and sender SOAP adapter configuration. If possible , with example.

    See here:
    Adapter-Specific Message Attributes in the Message Header
    http://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/frameset.htm
    Sender Soap Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    Receiver Soap Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm

  • Sender Mail Adapter Configuration error

    Hi,
    I am working on scenario mail adapter to CRM system. And when I tried to configure the sender email adapter I have got the error following error, Can any one help me to resolve this issues
    error occured: <b>exception caught during processing mail message; java.net.ConnectException: Connection refused</b>
    the details I have provided are as follows
    Transport protocol is POP3
    URL - POP://mailservername/Inbox/folder
    And I have tried with the IMAP4 also
    URL - IMAP://mailservername/Inbox/folder
    And we have cross checked that the XI server is able to ping that particular mail server.
    Regards,
    Venkat.

    Hi Venkateswara,
    I would suggest that you go through these to know how to configure your sender mail adapter,
    <a href="/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step mail adapter step by step</a>
    <a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure adapter Scenario</a>
    Also, to know the various parameters of a sender mail adapter, just go through this link,
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm">Configuring sender mail adapter</a>
    Check your mail adapter configuration against these details. Also, check if the mail server you are trying to access is running.
    Also go thru this pdf to make yourself more comfortable with mail adapters.
    https://websmp205.sap-ag.de/~sapidb/011000358700004556712005E/HowTo_Mail_Adapter2.pdf
    Regards,
    abhy

  • Sender JMS adapter configuration for IBM MQSeries

    Dear All,
    i am doing a IBM MQSeries 5.2.x Message ->sender JMS adapter -> XI server -> receiver RFC adapter -> R/3.
    i have deployed the JMS adapter with the required jar files of IBM MQSeries 5.2.x in XI server.
    in Sender JMS adapter configuration for IBM MQSeries 5.2.x, i have put following data:
    1. Transport Protocol: Websphere MQ - is it okay?
    in JMS provider settings:
    2. in channel name - what should be there?
    3. Transport Network protocol should be TCP/IP or WebsphereMQ - how to decide this thing.
    4. JMS Complaint - whether WebsphereMQ or JMS API.
    in JMS Settings:
    5. JMS Queue user - is this IBM MQSeries 5.2.x Queue User or someother user?
    6. JMS Message Selector - what data to take here.
    So if anybody has connected IBM MQSeries 5.2.x to XI via JMS adapter, please answer my above queries.
    Regards,
    Rajeev Gupta

    Hi Swaroop,
    you can send me those documents at my gmail-id : [email protected]
    Hi All,
    one more question - to connect XI server to IBM MQSeries via JMS adapter in ID, do we need to have a MQSeries Client installed on XI server - or - just by configuring JMS adapter, we can send messages from IBM MQSeries to XI server without any MQSeries client on XI server?
    Why Channel name is required in JMS configuration data?
    Thanks,
    Rajeev Gupta

  • Mail Adapter Configuration in XI 3.0

    Hi all,
    i tried to set up a process using the mail adapter. Unfortunately it doesn't work. Has anyone succeeded in setting up a process with the mail adapter using POP3 and SMTP?

    Hi Michael,
    I did not find any documentation of the XI 3.0 mail adapter so result of practical test only for outgoing mail using SMTP:
    <b>Mail server settings:</b>
    SMTP port 8025 (you can configure any port of course)
    Account demo, password test
    <b>Mail adapter configuration:</b>
    Bubble adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleBubble
    Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXIMailImpl
    Part 0 : common part ######
    Mail.MailSubject="mail from adapter z_outmail"
    Mail.MailFrom=[email protected]
    Mail.MailTo=demo@<you mail server name>
    XIALL or XIPAYLOAD
    Mail.MessageProtocol=XIPAYLOAD
    Mail.Log=1110
    Part : XI client to Mail server ######
    OMail.TargetURL=smtp://<you mail server name>:8025
    OMail.User=demo
    OMail.Password=test
    The port and path where the adapter waits for XMB messages from clients.
    XI.Port=8240
    XI.Path=/z_outmail
    It look so that there is no POP3 support, just only IMAP.
    Jiri

  • SOAP receiver adapter configuration issue

    Hi Everyone,
    When I am trying to excute a sync scenario from SAP<>XI<>Webservice from Integration engine , I am getting the below error message.
    Error while sending message: com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.
    In the receiver SOAP adapter, I have configured Transformation module where I kept the MessageTransformationBean in processing sequence as a priority and also provided the module configuration.
    ModuleKey: transform
    ParameterName: Transform.ContentType
    Parameter Value: application/soap+xml;charset=utf-8.
    But still get the above error message in the communication channel. I am using certificates in my configuration that were deployed in visual Admin.
    In the adapter configuration, I have just provided the Target URL, Configured User Authentication, certificate authentication and SOAP action.
    Can anyone help me.. how to rectify the issue.....
    Thanks in advance,
    Hareen

    HI Hareen,
    I decided to give SOAP1.2 using the standard SOAP Adapter a try
    There are a few noticeable differences between the request message of SOAP1.1 and SOAP1.2
    1.) SOAP 1.1 uses a different namespace from SOAP 1.2. For SOAP 1.1 it is "http://schemas.xmlsoap.org/soap/envelope/" while for SOAP 1.2 it is "http://www.w3.org/2003/05/soap-envelope".
    2.) SOAP 1.2 does not use SOAPAction in its header.
    3.) Content type is also different, for SOAP 1.1 it is "text/xml" while for SOAP 1.2 it is "application/soap+xml"
    So a sample request for SOAP 1.1 would be like this:
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "http://sampleaction"
    While for 1.2 it is:
    Content-Type: application/soap+xml;charset=UTF-8;action="http://sampleaction"
    The SOAP action is moved to the content type (experts please correct me on this).
    Based on the differences, you need:
    1.) Construct the correct SOAP Envelope for request message mapping and remove it for the response mapping
    2.) Use MessageTransformBean to change content type
    3.) Leave SOAPAction as blank
    I think dynamic soap action is no longer possible because the action is hardcoded in the module configuration (please correct).
    Hope this helps,
    Mark

  • Error in Adapter Table Adapter Configuration IDM - Oracle 10g

    Error in the configuration of Oracle Database Table Adapter Configuration.
    Log:
    2007-10-02 10:26:40,843 INFO [DBADAPTERLOGGER] DBProvisioner::createUser : DBProvisioner::createUser : userProperties is xel_usr_id#:#V04#;#xel_usr_password#:#56pddssd#;#xel_usr_status#:#1#;#xel_usr_first_name#:#Juana#;#xel_usr_last_name#:#Rengifo#;#xel_usr_group#:##;#xel_usr_title#:#Analista#;#xel_usr_dept#:##;#xel_usr_comm_lang#:##;#xel_usr_logon_lang#:##;#xel_usr_email#:[email protected]#;#xel_usr_tel_no#:#111-222-4444#;#xel_usr_time_zone#:##;#xel_usr_date_fmt#:##;#xel_usr_dec_ntn#:##;#xel_usr_role#:#System Admin
    2007-10-02 10:26:40,859 INFO [DBADAPTERLOGGER] DBProvisioner::createUser : Starting time for createUser method :1191346000859
    2007-10-02 10:26:40,875 ERROR [DBADAPTERLOGGER] DBSchemaErrorHandler::error : ERROR : 1:227cvc-elt.1: Cannot find the declaration of element 'xl-ddm-data'.
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'xl-ddm-data'.

    Based on your error a few questions come to mind...
    What does your Configuration XML file look like? It's root XML node should be xdb_app_map. Your error makes me think you may be pointing at an adapter file versus db schema mapping file.
    Are you starting from one of the provided examples like OraApp1.xml? If you followed Step 3: the connector file copy instructions during deployment, you should find the samples in "OIM_home/xellerate/XLIntegrations/DBAppTables/xml/DB_Schema" Or you can search for OraApp1.xml or OraApp2.xml.
    Have you configured your IT Resource with the appropriate path to the XML file? If you are on Unix it's going to be case sensitive, I can't speak for a windows path.
    I hope this helps. I know I had a few challenges myself when I first took a swing at the DB Table Adapter from the 9.0.4.1 connector pack.
    regards,
    Jason

  • JDBC Adapter configuration not initialized:null

    i
    we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
    1.JDBC Driver installation is done
    2.RFC Destination type t is done in sap(sender) system.
    3.checking the jdbc in VA is done
    while running it is giving the following error.
    com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
    where we have to initialize JDBC Adapter configuration
    Thanks in advance
    Prasad Nemalikanti

    hi prasad
    There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
    also check  the driver string for the SQL  driver 2 parameters
    i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
    'com.microsoft.sqlserver.jdbc.SQLServerDriver'
    This will solve your problem
    follow this link
    Re: MS SQL Server jdbc Driver installation on XI .
    XI JDBC Adapter using stored procedures
    thanks
    sandeep
    Reward points if helpful

  • DB adapter polling in OSB

    1. In a clustered environemnt, we need to use "Distributed polling" in DB adapter to make sure the multiple cluster instances are not polling for the database at the sametime. If "Distributed polling" can achieve that, what is the need to have singleton property set for the DB adapter in the composite.xml
    2. For achieving DB adapter polling in osb, we need to create the adapter in bpel and then export them to osb project. In such OSB project, where do we set the singleton property ?

    Thanka Ananth.
    I assume active-passive cluster setup means,
    there will be a cluster with only one osb or bpel managed server (active cluster)
    There wil be another cluster with only one osb or bpel managed server (passive cluster).
    so when there is some data inserted into the database, there will be only one managed server (available on active cluster) will be available to poll for the recored. Passive man server does not poll for this record. I assume this is the default behaviour. If such is the case, then what is the use of setting this singleton property ?

  • Error in adapter configuration

    Hi folks,
    I get an error saying:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '0227331228')', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '0227331228')', probably configuration error in file adapter (XML parser error)'.
    But i dont find more fields defined in the datatype or in the content conversion during adapter configuration
    Kindly help me on this

    hi,
    i think you have hierarchy  structure in the adapter level.
    Like
         <Details>
             <Employee Details>
                     <Name>
                     <Id>
             <Company Details>
                      <Name>
                       <Id >
    If you have  like this then just add  Details.field Separator 'nl'.
    *Reward Points If Useful*
    Regards,
    Prakasu

Maybe you are looking for

  • Down payment without VAT

    Dear All, I have a question u2013 is it possible to post down payment without VAT posting? Currently our Vendor/Customer down payments produce VAT postings and when are cleared with final invoice. But according local requirements VAT posting must be

  • Action script 3 help

    Hi, I am only a designer, not a programmer so the script is a mystery for me. I need the code to stop at a frame (the old release on etc) and the button code to navigate to a certain frame (the old go to frame). All in script 3 please. I need time to

  • Oracle 9i Standalone to 10g RAC ??

    We have Oracle 9i on Solaris 9 with about 2 TB of data/index on SAN. We want to migrate this to 2 new boxes running Solaris 10 and Oracle 10g RAC -- storage SAN. What should be the best approach considering: 1. Fastest copying method for data/index f

  • IPad 2  has become very slow when charging

    Since I upgraded to ios 7, my iPad 2  has become very slow when charging. And the battery drained very fast. I cannot put it on standby but need to power off completely when I am not using it. This is very troublesome.

  • Which OS X version do I REALLY have

    Hey, I tried to open OnyX today only to get a message that it would not work with the version of OS X that I had. My curiosity peaked, I checked my version by clicking on the little apple and going to "about this Mac". I informs me that I have OS 10.