Exception HAndling B2B 11g .AQ Integration

Trying to catch the B2B exception for 850 and send it to SOA. I have used AQ integration for B2B.Please tell me how to implement this in soa

All the B2B errors/exceptions get enqueued to IP_IN_QUEUE (by default) in a proper format (ipException.xsd defines the structure) and has recipient name b2berroruser. You may create your own process for dequeing those exception messages and perform error handling.
You may also configure a custom error queue (JMS) if you do not want to use IP_IN_QUEUE (which is an AQ). For all details, you may refer the user guide -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/app_except.htm#BCEIEEFF
Regards,
Anuj

Similar Messages

  • UTL file exception handling oracle 11g

    We use oracle 11g
    We use UTL file and exception handling in many place. Thanks in advance.
    We have many utl program and we are writing same exception handling code ,copy and paste .
    It is possible to create new UTL exception procedure and call it.
    I am not sure how to write generic UTL exception procedure and reuse the same.
    I am learning oracle etl files method.
    Please advise.
    sample program 1 :
    DECLARE
    fileHandler UTL_FILE.FILE_TYPE;
    BEGIN
    fileHandler := UTL_FILE.FOPEN('test_dir', 'test_file.txt', 'W');
    UTL_FILE.PUTF(fileHandler, 'Writing TO a file\n');
    UTL_FILE.FCLOSE(fileHandler);
    EXCEPTION
    when utl_file.invalid_path then
    raise_application_error(-20001,
    'INVALID_PATH: File location or filename was invalid.');
    when utl_file.invalid_mode then
    raise_application_error(-20002,
    'INVALID_MODE: The open_mode parameter in FOPEN was invalid.');
    when utl_file.invalid_filehandle then
    raise_application_error(-20002,
    'INVALID_FILEHANDLE: The file handle was invalid.');
    when utl_file.invalid_operation then
    raise_application_error(-20003,
    'INVALID_OPERATION: The file could not be opened or operated on as requested.');
    when utl_file.read_error then
    raise_application_error(-20004,
    'READ_ERROR: An operating system error occurred during the read operation.');
    when utl_file.write_error then
    raise_application_error(-20005,
    'WRITE_ERROR: An operating system error occurred during the write operation.');
    when utl_file.internal_error then
    raise_application_error(-20006,
    'INTERNAL_ERROR: An unspecified error in PL/SQL.');
    when utl_file.invalid_filename then
    raise_application_error(-20010, 'The filename parameter is invalid.');
    WHEN OTHERS THEN
    IF UTL_FILE.IS_OPEN(fileHandler ) THEN
    UTL_FILE.FCLOSE (fileHandler );
    END IF;
    RAISE;
    END;
    How to write generic procedure of utl exception handling ?
    please advise.
    create or replace procedure sp_utl_exception
    begin
    when utl_file.invalid_path then
    raise_application_error(-20001,
    'INVALID_PATH: File location or filename was invalid.');
    when utl_file.invalid_mode then
    raise_application_error(-20002,
    'INVALID_MODE: The open_mode parameter in FOPEN was invalid.');
    when utl_file.invalid_filehandle then
    raise_application_error(-20002,
    'INVALID_FILEHANDLE: The file handle was invalid.');
    when utl_file.invalid_operation then
    raise_application_error(-20003,
    'INVALID_OPERATION: The file could not be opened or operated on as requested.');
    when utl_file.read_error then
    raise_application_error(-20004,
    'READ_ERROR: An operating system error occurred during the read operation.');
    when utl_file.write_error then
    raise_application_error(-20005,
    'WRITE_ERROR: An operating system error occurred during the write operation.');
    when utl_file.internal_error then
    raise_application_error(-20006,
    'INTERNAL_ERROR: An unspecified error in PL/SQL.');
    when utl_file.invalid_filename then
    raise_application_error(-20010, 'The filename parameter is invalid.');
    WHEN OTHERS THEN
    IF UTL_FILE.IS_OPEN(fileHandler ) THEN
    UTL_FILE.FCLOSE (fileHandler );
    END IF;
    RAISE;
    end;

    Mahesh Kaila wrote:
    Hello,
    Common procedure to log exception in log file
    create or replace procedure sp_utl_exception (log_dir varchar2, log_file varchar2, exception_msg varchar2)
    is
    hnd_file   UTL_FILE.file_type;
    begin
    hnd_file := UTL_FILE.fopen (log_dir, log_file, 'A');
    UTL_FILE.put_line (hnd_file, exception_msg);
    UTL_FILE.fclose (hnd_file);
    exception
    when others
    then
    raise;
    end;
    Very poor implementation.
    a) Absolutely no need for that exception handler in there. It should be removed.
    b) As it's a procedure for logging exceptions relating to UTL_FILE, it would seem error prone to be logging the errors with UTL_FILE. For example, what is it supposed to do if the exception is raised because of lack of disk space in those file locations? How is it going to write out the exception with the disk full? Also, if the exception handler is used by multiple processes, then only 1 process at a time can access the log file to write it's exceptions, so it doesn't scale well. Better logging is done by having an autonomous transaction procedure that writes log/trace messages to dedicated table(s). That also means that the logs etc. can be viewed, as appropriate, from any client using SQL (either manually or through a application written to view logs etc.), rather than requiring physical/remote access to the server o/s to go and view the contents of the file, which in itself could lock the file and prevent any process from writing further logs whilst it's being used.

  • Message Transmission Transport Exception in B2b 11g

    Hello b2bgurus,
    I am working on a outbound flow using RosettaNet exchange protocol. The message sent from oracle b2b reach remote TP. But the the state of the message is MSG_ERROR. We get exception message as response from remote TP.
    In the logs i noticed few error messages like
    Message Transmission Transport Exception
    Transport Error Code is OTA-HTTP-SEND-1005
    StackTrace oracle.tip.b2b.transport.TransportException: [IPT_HttpSendConnectionRefused] HTTP connection is refused.
         at oracle.tip.b2b.transport.TransportException.create(TransportException.java:94)
    [2011-03-31T05:52:19.197-06:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@142219e7] [userId: <anonymous>] [ecid: 0000IwBjgzpESOTuu8bADH1D_56O00011A,0] [APP: soa-infra] [dcid: a65da66a7bc245f6:-2f10c1aa:12f0b5fe6be:-7ffd-0000000000001b8f] B2B Label:PCBPEL_11.1.1.3.0_GENERIC_RELEASE: Informational -: B2B-50025: Repository error: Exception [TOPLINK-6027] (Oracle TopLink - 11g Release 1 (11.1.1.3.0) (Build 100323)): oracle.toplink.exceptions.QueryException[[
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(oracle.tip.b2b.model.instance.BusinessMessage)
    [2011-03-31T05:52:19.249-06:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.transport] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@142219e7] [userId: <anonymous>] [ecid: 0000IwBjgzpESOTuu8bADH1D_56O00011A,0] [APP: soa-infra] [dcid: a65da66a7bc245f6:-2f10c1aa:12f0b5fe6be:-7ffd-0000000000001b8f] Problem getting Queue Table for Queue : IP_IN_QUEUE
    [2011-03-31T05:52:19.259-06:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.transport] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@142219e7] [userId: <anonymous>] [ecid: 0000IwBjgzpESOTuu8bADH1D_56O00011A,0] [APP: soa-infra] [dcid: a65da66a7bc245f6:-2f10c1aa:12f0b5fe6be:-7ffd-0000000000001b8f] [IPT_MsgCannotBeSent] AQ message cannot be sent.
    [2011-03-31T05:52:19.259-06:00] [soa_server1] [WARNING] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@142219e7] [userId: <anonymous>] [ecid: 0000IwBjgzpESOTuu8bADH1D_56O00011A,0] [APP: soa-infra] [dcid: a65da66a7bc245f6:-2f10c1aa:12f0b5fe6be:-7ffd-0000000000001b8f] [[
    Message Transmission Exception
    Transport Error Code is OTA-AQ-1001
    StackTrace oracle.tip.b2b.transport.TransportException: [IPT_MsgCannotBeSent] AQ message cannot be sent.
         at oracle.tip.b2b.transport.TransportException.create(TransportException.java:94)
    [2011-03-31T05:52:19.260-06:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@142219e7] [userId: <anonymous>] [ecid: 0000IwBjgzpESOTuu8bADH1D_56O00011A,0] [APP: soa-infra] [dcid: a65da66a7bc245f6:-2f10c1aa:12f0b5fe6be:-7ffd-0000000000001b8f] B2B Label:PCBPEL_11.1.1.3.0_GENERIC_RELEASE: oracle.tip.b2b.transport.TransportException: [IPT_MsgCannotBeSent] AQ message cannot be sent.[[
         at oracle.tip.b2b.transport.TransportException.create(TransportException.java:94)
    [2011-03-31T05:52:19.261-06:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@142219e7] [userId: <anonymous>] [ecid: 0000IwBjgzpESOTuu8bADH1D_56O00011A,0] [APP: soa-infra] [dcid: a65da66a7bc245f6:-2f10c1aa:12f0b5fe6be:-7ffd-0000000000001b8f] Informational -: B2B-50025: Repository error: oracle.tip.b2b.transport.TransportException: [IPT_MsgCannotBeSent] AQ message cannot be sent.[[
         at oracle.tip.b2b.msgproc.DbAccess.enqueueIPMessage(DbAccess.java:4485)
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 30 seconds
    BEA1-7C72C9CF4888E08EC522
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1609)
    Caused by: weblogic.transaction.TimedOutException: Transaction timed out after 30 seconds
    BEA1-7C72C9CF4888E08EC522
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1607)
    Informational -: B2B-50025: Repository error: oracle.tip.b2b.transport.TransportException: [IPT_MsgCannotBeSent] AQ message cannot be sent.
         at oracle.tip.b2b.msgproc.DbAccess.enqueueIPMessage(DbAccess.java:4485)
         at oracle.tip.b2b.msgproc.Notification.deliverException(Notification.java:1298)
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 30 seconds
    BEA1-7C72C9CF4888E08EC522
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1609)
    Though im in middle of testing, just curious to know about these errors.. Have anybody faced this kind of issues? I saw few forums abt B2B-50025: error. Please let me know how to debug these issues

    I see two exceptions here -
    Message Transmission Transport Exception
    Transport Error Code is OTA-HTTP-SEND-1005
    StackTrace oracle.tip.b2b.transport.TransportException: [IPT_HttpSendConnectionRefused] HTTP connection is refused.
    at oracle.tip.b2b.transport.TransportException.create(TransportException.java:94)This exception has occured while transmitting the document to Trading Partner perhaps on HTTP endpoint. From the error it seems, HTTP endpoint was not available when Oracle B2B tried to send the message to it.
    The message sent from oracle b2b reach remote TPBy default Oracle B2B retries 3 times to deliver a message. Perhaps it failed to send the document in first or second attempt but could send it in later attempt(s) and that's why your TP have received the message.
    But the the state of the message is MSG_ERROR. We get exception message as response from remote TP.That's why your request message has been marked as error. Check the exception response detail and try to find why your TP's B2B sending exception response. If you are not able to identify the exact issue why exception response came back, ask your TP. You may also paste the exception response content here if you need any help from us.
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(oracle.tip.b2b.model.instance.BusinessMessage)This exception is coming after first exception and it is coming because Oracle B2B is trying to enqueue the exception message to IP_IN_QUEUE but transaction has already timed out. For this you need to increase the JTA timeout value. By default it gets set to 30. Try after increasing it to 150
    For increasing JTA timeout value, login to Weblogic Admin Console as admin user, click on the domain name in Domain Structure at left side of page, in configuration tab goto JTA subtab and set the value of "Timeout Seconds" from 30 to 150. Save the change and retest your configuration. You should not see this exception any more.
    Regards,
    Anuj

  • Exception-handling in a block (integration process)

    Hi,
    I have created an error handling in a block, but I want to send the information of the exception from xi to our software clix that is connected to xi via jms adapter.
    Is it possible??
    I'm new in XI, so can you give my a detailed hint?
    Thanks for your reply.
    Regards
    Stefan

    hi,
    >>>but I want to send the information of the exception from
    yes and no:)
    you cannot send an error message (cause there's no way how to map it)
    but you can send a standard text like "error"
    how to do that?:
    inside the exception branch
    add a transformation step in which you define dummy
    transformation which only fills one line "error"
    to the target message
    then you can add a send step (remember you're still inside the exception branch) and send this error message...
    Regards,
    michal

  • Fault/Exception handling in 11g

    Does anyone have any best practices or approaches they can share on how to deal with faults (at the BPMN process level, not human tasks) in 11g?
    I'm referring mostly to system faults, not business faults.

    Maybe I should have looked at the new schema first.... : }
    It's now reference:
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicyBindings version="2.0.1" xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    *<reference faultPolicy="GetDateFaultPolicy">*
    <name>GetDateService</name>
    *</reference>*
    </faultPolicyBindings>
    Edited by: Brutus35 on Sep 16, 2010 10:42 AM

  • B2B Exception handling

    Hi,
    Implementing exception handling part for B2B and the version using is 11g.
    I am implementing exception handling by using JMS queue "B2B_IN_QUEUE".
    If message is getting error out then B2B producing error message into "B2B_IN_QUEUE".
    Checked in server and "B2B_IN_QUEUE" consist the error message.
    In BPEL I am consuming the message. But the instance is not getting created for the message available in "B2B_IN_QUEUE".
    In Jms Adapter configuration wizard not provided the option for defining consumer type as "B2BErroruser". Due to consumer type is undefined thinking bpel is not intiating itself by consuming the error message available in "B2B_IN_QUEUE".
    I tried by providing message property "MSG_TYPE" value as '3' also.
    But still Bpel instance is not creating...
    Please tell me is required to set any other message properties to make bpel to consume the message.
    Thanks&Regards,
    Sridhar.Rachumallu
    Edited by: sridhar.rachumallu on Nov 30, 2010 10:31 AM
    Edited by: sridhar.rachumallu on Nov 30, 2010 10:40 AM
    Edited by: sridhar.rachumallu on Nov 30, 2010 8:47 PM

    Hi Anuj,
    First of all check whether there is any consumer on B2B_IN_Queue or not? You may check it on weblogic admin console.
    I am checking for the consumers information in Monitor tab of B2B_IN_Queue and noticed the below information
    Consumers Current : 0
    Consumers High : 1
    Consumers Total : 1
    Messages Current : 3
    Messages Pending : 0
    Messages Total : 3
    Messages High : 3
    After deployed the BPEL process the value of 'Consumers Current' not updating to 1 from 0.
    Values of Consumers Total and Consumers Current not changing after deploying the process or after un deploying the bpel process.
    Can you please tell me what is difference between Consumers Total and Consumers Current?
    If the path i am using for getting consumers information of B2B_IN_Queue is wrong please suggest correct path in the admin console.
    Thanks&Regards,
    Sridhar.Rachumallu
    Edited by: sridhar.rachumallu on Dec 1, 2010 1:41 AM
    Edited by: sridhar.rachumallu on Dec 1, 2010 1:47 AM
    Edited by: sridhar.rachumallu on Dec 1, 2010 2:53 AM

  • Integration Process exception handling & alerts, Java

    Hello,
    I would like to enhance my basic scenarios fool proof and with as much Java as possible.
    I have set up several asynchronous and synchronous File to SOAP transfers between systems A and B
    using PI70 including my own Java mapping classes and PI's AF_Modules beans. They work just fine.
    I have not designed my own Integration Processes yet, so execution is based on channel settings and availability timing.
    I have learned this aproach may be exposed to general faults resulting manual monitoring and repairing.
    For example server problems at receiver side can result data losses as sender channel just keeps removing source
    files like normally, as the process would be better to just stop right there and alert or something.
    My question is, is the "Enterprise services Builders" Integration Process & Graphical definition screen the one and only tool to 
    customize whole process exception handling and alerts in PI, and Java is not an option?
    Appreciate your advice on this.
    Kind regards m

    Hi m,
    Strange Name
    >>I have learned this aproach may be exposed to general faults resulting manual monitoring and repairing. For example server problems at receiver side can result data losses as sender channel just keeps removing source  files like normally, as the process would be better to just stop right there and alert or something.
    If you are looking to handle this particular scenario, then we have the alert mechanism and CCMS monitoring. There you will come to know whether the end system down or not.
    Also in addition to this you can write your own java (in message mapping, as modules, java mapping) /abap code (as abap mapping, user exit in standard functions etc) for providing more details in error scenarios. But you need to validate whether the maintenance/development cost for the code is justified in your scenarios
    Regards
    Suraj

  • 11g ADF TaskFlow Exception Handling in BPM

    Hi Guys
    BPM 11g
    I have a human task that is implemented as an ADF task flow. I would like to be able to throw an exception from the ADF application and have it handled by the BPM process, does anyone know if this is possible or how I would do that?
    At the moment I have an ADF error page - I could return an "error" outcome to the process from that but an error is an error and it feels right to show that in the process instead of a normal outcome.
    anyone else worked through this?
    cheers,
    Steve

    help yourself with this thread - Re: Exception Handling
    it should answer your question

  • Default Exception Handling in B2B

    Hi All,
    Need your help and advise on the below requirement we have currently:
    Source system sends an XML input to MW and therein, we transform it into PO_850 XSD and sends it to B2B. We are validating the XSD in B2B and then generating an EDI_PO_850 file and sending it to the Trading Partner. We are going to have 5 different Target Trading Partner. I have 2 questions w.r.t the default exception handling in place for Oracle B2B:
    1. Which Queue will have the Error Information for the above case? B2B_IN_Queue/B2B_OUT_Queue/B2B_IP_IN_Queue
    2. We would like to consume the error messages specific to a trading partner from the JMS Queue directly, how can we achieve it?
    Appreciate your help in this regard.
    Thanks in Advance
    Priyanka

    Hi Priyanka
    B2B operates in two modes for default internal queue communication - AQ and JMS. This is controlled in the Admin/Configuration page "use JMS queues" checkbox.
    In AQ, the queue to which the exception message is delivered would be IP_IN_QUEUE
    In JMS the queue to which the exception message is delivered would be B2B_IN_QUEUE. Since you speak about reading error message from the JMS queue directly, am thinking this would be the one of interest to you.
    In addition to the above we can create custom JMS internal delivery queue and this can be associated to the Exception Queue which can be assigned in the Admin/Configuration page.
    With regards to reading the exception msg specific to the trading partner from the JMS Queue directly, this can be done by adding a check on the dequeue process. Each exception message is populated with From_Party and To_Party information. In the outbound delivery case, the exception message should have To_Party set as the partner's name. This can be checked.
    Hope that helps.
    Regards
    Arun

  • How to handle exception in OSB 11g

    Hi,
    In my project, in Proxy services level have to add exception handling , please brief me the steps.
    Please let me know

    Hi, Eric
    i tried above link. In my project.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header/>
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode xmlns:soap="fault/webservices/vendavo/com">soapenv:Server</faultcode>
    <faultstring>BEA-380000*:* </faultstring>
    <detail>
    <con:fault xmlns:con="fault/webservices/vendavo/com">
    <errorCode>BEA-380000</errorCode>
    *<reason/>*
    <location>
    <node>RouteTo_VendavoCallOutBS</node>
    <path>response-pipeline</path>
    </location>
    <operation>find</operation>
    <uri>
    /SFADeal/ </uri>
    <host/>
    <request_body/>
    </con:fault>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    In this responce i am not getting reason of the fault, what i need to do for to get the reason
    Please let me know
    Thanks..

  • B2B 11G questions

    Hi B2BGurus,
    Can anyone explain us with below questions, Here i am giving our scenario and my questions
    Scenarion:
    Div A FTP-> SOA-->B2B OutboundCoustome queue ---> B2B---->Http or HTTPs(AS2) or FTP(As2)
    Div B FTP-> SOA-->B2B OutboundCoustome queue ---->B2B---->Http or HTTPs(AS2) or FTP(As2)
    Div C FTP-> SOA-->B2B OutboundCoustome queue ---- B2B---->Http or HTTPs(AS2) or FTP(As2)
    Div D FTP-> SOA-->B2B OutboundCoustome queue ---->B2B---->Http or HTTPs(AS2) or FTP(As2)
    Explanantion of scenarion:
    1.     Division people places the files in FTP
    2.     Soa picks it up, do the transformation and places the file in B2B outbound custom queue
    3.     B2B server picks it up from B2B outbound custom queue and converts it into native EDI and sends it to trading partner using AS2
    Questions:
    1.     My idea is --for each trading partner planning to create two different queues (one is for outbound and another one is inbound), is it suggestible of creating a n number of custom queues?
    2.     If we creating a custom queues which is suggestible( either JMS custom queues or AQ custom queues)
    3.     If any transaction was error out, to which queues the transaction will go? And how can we find that transaction in database.
    4.     How the 850 transaction and 997 transactions will co-relate, on what basis B2B will check?
    5.     We sent one transaction to supplier and we received a –ve MDN, How can we see that –ve MDN and how we will recognize it
    6.     Are there any different or separate error queues in Oracle B2B?
    7.     What are the important B2B tables in 11G
    8.     In B2B_Instancemessage table we have ID and B2B messageId, Could you please tell us what is the use of this?
    Regards
    cnu

    Hi cnu,
    Http or HTTPs(AS2) or FTP(As2)AS2 supports HTTP/HTTPS only. FTP is not supported as part of AS2.
    1. My idea is --for each trading partner planning to create two different queues (one is for outbound and another one is inbound), is it suggestible of creating a n number of custom queues? It makes sense, specially from maintenance perspective.
    2. If we creating a custom queues which is suggestible( either JMS custom queues or AQ custom queues)Depending upon use case and design you may use either of AQ/JMS but JMS may be preferred for tight performance requirement use cases. (my personal opinion)
    3. If any transaction was error out, to which queues the transaction will go? And how can we find that transaction in database.By default, exception queue is IP_IN_QUEUE (AQ), but you may configure custom JMS exception/error queues. Please refer -
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/app_except.htm#BCEIEEFF
    4. How the 850 transaction and 997 transactions will co-relate, on what basis B2B will check?Please refer -
    How 850 matches with corresponding 997
    5. We sent one transaction to supplier and we received a –ve MDN, How can we see that –ve MDN and how we will recognize itOn reports console you may see negative MDN's. Please refer "Inbound Exception Handling Scenarios" -
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10229/app_except.htm#BCEIEEFF
    6. Are there any different or separate error queues in Oracle B2B?No. By default IP_IN_QUEUE is the error queue.
    7. What are the important B2B tables in 11G
    B2B tables
    Information required about B2B transaction tables in 11g
    It's not recommended to access tables directly. Use InstanceMessageAPI -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/b2b_api_imsg.htm#BABFEFCD
    8. In B2B_Instancemessage table we have ID and B2B messageId, Could you please tell us what is the use of this?ID is the unique identifier for the particular table. B2B messageId is actually the unique identifier for a message and used for correlation between requests and response.
    Regards,
    Anuj

  • Error while configuring channels in B2B 11g

    Hi b2bgurus,
    I am implementing RosettaNet protocol in 11g. 3C3 Invoice Notification. While configuring channels i got this following error:
    "Messages for this page are listed below.
    Acme_Custom_V02.00_Invoice_Notification_Outbound is not valid. Please correct the following errors.
    Error -: B2B-52255: Certificate alias not specified in the secure delivery channel Acme_Channel.
    Error -: B2B-52326: Transport protocol with https url has to have valid keystore location and password in host "
    I get the above error while I provide http url as input. Do we have a protocol where we can provide https url?
    Please explain i am new to B2B.
    Thanks in advance

    get this error when i provide the url while channel creation. SSL is enabled by using BIG IP. Hence preparation of Key store is not requiredYou understanding is not correct. If you are initiating a SSL connection from Oracle B2B (by giving a HTTPS URL in delivery channel), then you have to configure identity and trust store in your Weblogic servers (SOA server) and you have to configure keystore on Oracle B2B console as well. As I mentioned earlier also refer the blog (http://anuj-dwivedi.blogspot.com/2010/10/enabling-ssl-on-oracle-b2b-11g.html) and perform the required steps.
    If you don't configure a keystore then you CAN NOT initiate a SSL connection from Oracle B2B.
    If you want Big IP to handle SSL then from Oracle B2B you have to initiate a plain HTTP connection and at BIG IP you have to route the request to the respective HTTPS channel (which I am not sure is possible though I am not familier with BIG IP)
    Regards,
    Anuj

  • Transactional Behaviour of Oracle B2B 11g

    Hi Gurus/Anuj,
    Can you please explain Transactional Behaviour in Oracle B2B 11g?
    For a Inbound Interface I have three Mediators(Mediator M1,M2 and M3)
    Partner push a file at file location --> B2B Interface used in M1 ,through B2B Binding,picks the FIle and brings to SOA and--> Give it to M2 and M3.
    I need to perform Error Handling in this case..
    M1 M2 and M3 are Asynchronous,Synch and Synch in nature and I guess M1 will propogate it's transaction to M2 and M2 will propogate it's transaction to M3.
    Routing rules are Sequential..
    Note : Fault policies are applicable to parallel routing rules only. For sequential routing rules, the fault goes back to the caller and it is the responsibility of the caller to handle the fault.
    Am I correct in understanding that :
    B2B Adapter in M1 is the caller and M2 and M3 ,as being Synchronous,will follow M1'a transaction.
    And if a Fault goes into M2 and M3,it will go back to the caller,means M1.
    And in M1 we can have Fault-Handling.
    Also please explain Transactional Behaviour in Oracle B2B 11g?
    Is B2B is Asynchronous in nature?
    Is B2B Adapter a Transactional Adapter?
    What category of JCA adapter is Oracle B2B adapter?
    Thanks
    Vivek
    Edited by: Vivek on May 19, 2011 11:41 PM
    Edited by: Vivek on May 19, 2011 11:54 PM

    Hi Vivek,
    Also please explain Transactional Behaviour in Oracle B2B 11g?Oracle B2B depends upon the underlying transport being used for transactional behavior. As far as transaction propagation is concerned, we never had any such need in B2B communication.
    Am I correct in understanding that :
    B2B Adapter in M1 is the caller and M2 and M3 ,as being Synchronous,will follow M1'a transaction.
    And if a Fault goes into M2 and M3,it will go back to the caller,means M1.
    And in M1 we can have Fault-Handling.If you are using AQ interface of B2B adapter with XA Data Source then that adapter can participate in an XA global transaction that can span multiple resources. In this transaction, the application server acts as the coordinating transaction manager with multiple databases (or other resources such as JMS), each of which is involved in a single transaction.
    If you are using JMS interface of B2B adapter with XA Connection factor then that adapter can also participate in an XA global transaction that can span multiple resources.
    If you are using Default (Fabric) interface of B2B adapter then it does not participate in global transaction, rather it starts it's own local transaction and executes in that. So it will totally depend upon the interface you are using with B2B adapter that it will start and propagate a global transaction or will not participate in a global transaction. Moreover, if B2B adapter is starting a transaction and propagating it to a async service then that sync service will start a new local transaction and further sync services may execute in that transaction. As soon as the control comes back to B2B adapter, it will commit the transaction.
    Is B2B is Asynchronous in nature?B2B can be used for both sync and async calls (between partners). B2B is async when communicating with middleware.
    Is B2B Adapter a Transactional Adapter?Explained above
    What category of JCA adapter is Oracle B2B adapter?No special category. It is a specific adapter for Oracle SOA SCA composites to facilitate them in communication with Oracle B2B. You may or may not use this adapter in SOA SCA composites.
    Regards,
    Anuj

  • Step repeated in Exception branch requires exception handler, why?

    I have a BPM Integration process with a sync send step calling a RFC. Any system errors and application errors are handled by an exception branch where I send an alert as then re-do the send step (so that it will fail but allow me to restart from that point after fixing the issue). The problem I am having is that in this send step, since it is mandatory to have an exception handler for application errors (defined fault message RFC.Exception), what do I enter for exception handler in this send step which is itself in an exception branch? I do not want to handle the exception this second time since I want this step to fail and process stops here to be able to restart manually later.

    Hi,
    I am not sure, how you will restart the step manually? Because once there is an error in the sync send, the message will turn to "Cancelled" status. You cannot restart this message.
    Now, for the second send step in the exception block you will not be able to choose the same exception block in the exception handler field. But for some reason if this send also fails then you cannot restart the process manually - same reason i mentioned above. It will fail as you intended it to do so.
    Regards,
    Balaji.M

  • Task flow exception handler

    Hi all,
    I'm trying to specify a method activity as an exception handler in the adfc-config. The problem is if I specify a view activity or a bounded task flow as the exception handler then it works fine, but if the exception handler is a method activity then it is not recognized. What could be the cause?. I need to execute a method when an exception occurs.
    Version: 11.1.2.0
    Edited by: NewBee on Apr 23, 2013 10:37 AM

    Hi,
    there should not be a problem with this and I recently did the same with JDeveloper 11g R2 (not sure which version of JDeveloper you use because you did not share this information). I assume you just marked the method activity as an exception handler without any other configuration? If so then set a break point to the managed bean method that you access from the method activity to see if it actually stops there. Also note that not all exceptions are handled by the controller exception handler. E.g an exception during render response phase (typically an exception in a managed bean) is not handled by the controller. Also you need to avoid the managed bean that handles the exception to itself throw one. This however you will see when debugging the bean.
    Frank

Maybe you are looking for