Receive attachments with AS2 in Oracle B2B

Is it possible to receive files (.doc, pdf etc..) as attachments when using the AS2 message protocol? If so, how to setup in Oracle B2B?
Thanks for your help.
Raja

Anuj,
As per your blog on sending attachments in ebMS, I setup the attachment.xsd and the corresponding xml file as follows:
<?xml version="1.0" encoding="utf-8"?>
<Attachments xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" boundary="">
<AttachmentPart>
<Location>file:///home/rramanat/datafiles/EPCOD_PayableInvoice_PIDX1.2_Custom_123
45.xml</Location>
<Content-Type>
<Top-Level-Type>application</Top-Level-Type>
<Sub-Type>xml</Sub-Type>
</Content-Type>
<Content-Transfer-Encoding>8bit</Content-Transfer-Encoding>
<Content-ID>1221</Content-ID>
<Content-Description/>
</AttachmentPart>
</Attachments>
The location of the actual attachment file has been specified as absolute path on the server on which the Oracle B2B is running.
I put this attachment.xml file in a folder and configured B2B listener to pick up the file. The attachment.xml file gets picked up and transmitted to the Receiver Oracle B2B but I don't see the actual attached file in the attachments folder in the target system. The B2B property b2b.attachments.dir has been setup on the target Oracle B2B instance.
Your help is appreciated.
Raja

Similar Messages

  • Receiving document with AS2(HTTP)

    Hi B2B Gurus,
    I have to receive EDI document with AS2 over http(Inbound Operation). I am using the URL : http://<host>:<port>/b2b/httpReceiver ,which is a default HTTP listener of Oracle B2B. I just configured a Generic File channel under the Host trading partner which will writa data to a folder for further processing. I am using Http Post method to send data to the URL.
    Problem:
    when i successfully send data to the B2B listener server , for the first time B2B throws error like : Document Protocol Identification error and again it shows Message state completed and successfully processed other process.
    This is confusing like : first time it throws error and at the same it works perfectly.
    Error Report :
    ==========
    State ============ Document Type========Agreement======== Sender=====Receiver
    Message_Complete === Acknowledgement======= Arg_997========== Local======EDI
    Message_Complete ========997============Arg_997 ==========Local =====EDI
    Message_Error==================================================EDI
    Message_Complete========850=============Arg_850==========EDI======Local
    This type of Report is showing, when i send data to the B2B httpReceiver.
    Any suggestion would be helpful to me.
    Thanks
    Sharmistha
    Edited by: Sharmistha Ghosh on Sep 29, 2011 12:45 PM

    Hi Anuj,
    LOG MESSAGE:
    [2011-09-30T13:01:07.975+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: createErrorDetailsSnippet:      
    <parameter name="b2b.messageId" value="AC12292E132B93E69EE0000037AD4E78"/>[[
         <parameter name="b2b.messageType" value="1"/>
         <parameter name="b2b.toTradingPartnerId" value="<host>"/>
         <parameter name="b2b.toTradingPartnerIdType" value="Generic Identifier"/>
    [2011-09-30T13:01:07.975+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: payload = <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[[
    <correlationId>null</correlationId>
    <b2bMessageId>AC12292E132B93E69EE0000037AD4E78</b2bMessageId>
    <errorCode>B2B-50083</errorCode>
    <errorText>
    <![CDATA[Document protocol identification error.
      ]]>
    </errorText>
    <errorDescription>
    <![CDATA[Machine Info: <machine name>
    Description: Document protocol identification error.
      ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    <errorDetails>
         <parameter name="b2b.messageId" value="AC12292E132B93E69EE0000037AD4E78"/>
         <parameter name="b2b.messageType" value="1"/>
         <parameter name="b2b.toTradingPartnerId" value="<host>"/>
         <parameter name="b2b.toTradingPartnerIdType" value="Generic Identifier"/>
    </errorDetails>
    </Exception>
    [2011-09-30T13:01:07.975+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enqueue the exception message:[[
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>null</correlationId>
    <b2bMessageId>AC12292E132B93E69EE0000037AD4E78</b2bMessageId>
    <errorCode>B2B-50083</errorCode>
    <errorText>
    <![CDATA[Document protocol identification error.
      ]]>
    </errorText>
    <errorDescription>
    <![CDATA[Machine Info:<machine name>
    Description: Document protocol identification error.
      ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    <errorDetails>
         <parameter name="b2b.messageId" value="AC12292E132B93E69EE0000037AD4E78"/>
         <parameter name="b2b.messageType" value="1"/>
         <parameter name="b2b.toTradingPartnerId" value="<host>"/>
         <parameter name="b2b.toTradingPartnerIdType" value="Generic Identifier"/>
    </errorDetails>
    </Exception>
    [2011-09-30T13:01:07.976+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: deliverException: Send message to endpoint IP_IN_QUEUE
    [2011-09-30T13:01:07.976+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] URL ===== aq://IP_IN_QUEUE@jdbc/SOADataSource
    [2011-09-30T13:01:07.977+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.transport.AppTransportInterface:send TO Endpoint: 509 aq://IP_IN_QUEUE@jdbc/SOADataSource
    [2011-09-30T13:01:07.977+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-0000000000060162,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] [[
    Protocol = AQ
    Version = 1.0
    Transport Header
    internal:true
    aq.sender.queue_name:IP_IN_QUEUE
    aq.sender.queue_payload_col:PAYLOAD
    aq.sender.datasource:jdbc/SOADataSource
    aq.sender.recipients:b2berroruser
    Parameters
    -- listing properties --
    DOCTYPE_NAME=Exception
    MSG_TYPE=3
    DOCTYPE_REVISION=1.0
    MSG_ID=AC12292E132B93E69EE0000037AD4E78
    ACTION_NAME=Exception
    : ***** ACKNOWLEDGMENT *****
    Exchange Protocol: AS2 Version 1.1
    Transport Protocol: HTTP
    Unique Message ID: <AC12292F132B942A79C00000160393F3@EDI_AS2>
    Trading Partner: Local_AS2
    Message Signed: No
    Payload encrypted: No
    Attachment: None
    ***** ACKNOWLEDGMENT *****
    [2011-09-30T13:01:10.849+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: processIncomingMessageImpl: SYNC RESP =
    [2011-09-30T13:01:10.850+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: processIncomingMessageImpl: Exit
    [2011-09-30T13:01:10.850+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] class oracle.tip.b2b.metric.B2BMessageProperties[[
    fromTP : EDI
    toTP : Local
    DocumentProtocol : EDI_X12
    DocumentProtocolVersion : 4010
    DocumentType : 997
    Agreement : Arg_997
    MessageSize : 219.0
    MessageState : COMPLETE
    FromEndpoint : null
    FromEndpointProtocol : null
    FromEndpointStatus : CONNECTED
    ToEndpoint : http://<host:<port>/b2b/httpReceiver
    ToEndpointProtocol : HTTP
    ToEndpointStatus : CONNECTED
    Application : null
    Application : null
    Composite : null
    CompositeVersion : null
    Service/Reference : null
    [2011-09-30T13:01:10.850+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: processIncomingMessage: Elapsed Time = 296
    [2011-09-30T13:01:10.850+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] updateProcessingTime (with WireMessage input) Enter
    [2011-09-30T13:01:10.851+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.DbAccess:updateProcessingTime (with WireMessage input) Looking for wm.id = AC12292E132B93E702C0000037AD4E82
    [2011-09-30T13:01:10.851+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.ToplinkHelper: findBusinessMessageByProtocolMessageId: findBusinessMessagesByWireMessageId >>> wireMsgId : AC12292E132B93E702C0000037AD4E82
    [2011-09-30T13:01:10.851+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [APP: soa-infra] [SRC_METHOD: log] 2011.09.30 13:01:10.851--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query ReadAllQuery(oracle.tip.b2b.model.instance.BusinessMessage)
    [2011-09-30T13:01:10.852+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [APP: soa-infra] [SRC_METHOD: log] 2011.09.30 13:01:10.852--ServerSession(530093923)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--reconnecting to external connection pool
    [2011-09-30T13:01:10.852+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [APP: soa-infra] [SRC_METHOD: log] 2011.09.30 13:01:10.852--ServerSession(530093923)--Connection(1053913772)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--SELECT t1.ID, t1.MESSAGE_ID, t1.ACK_MODE, t1.MESSAGE_TYPE, t1.ACK_TYPE, t1.XPATH_VALUE3, t1.MODIFIED, t1.ATTRIBUTE2, t1.NATIVE_MSG_SIZE, t1.ATTRIBUTE4, t1.PAYLOAD_NAME, t1.BATCH_ID, t1.RECEIVER_ID_TYPE, t1.CORRELATION_FROM_XPATH_NAME, t1.RECEIVER_ID_VALUE, t1.CORRELATION_FROM_XPATH_XPR, t1.RECEIVER_NAME, t1.CORRELATION_TO_XPATH_VALUE, t1.RECEIVE_TIMESTAMP, t1.CREATED, t1.REFER_TO_MESSAGE_ID, t1.DIRECTION, t1.RESPONSE_MODE, t1.DOC_PROTOCOL_NAME, t1.RESUBMIT_COUNT, t1.DOC_REMAINING_RETRY, t1.SENDER_ID_TYPE, t1.DOCTYPE_NAME, t1.SENDER_ID_VALUE, t1.SENDER_NAME, t1.LABEL, t1.SEND_TIMESTAMP, t1.ATTRIBUTE3, t1.STATE, t1.CONTENT_TYPE, t1.TIME_TO_ACK, t1.CORRELATION_TO_XPATH_NAME, t1.TPA_ID, t1.CPST_INST_CREATED_TIME, t1.TPA_NAME, t1.DOC_PROTOCOL_VERSION, t1.TRANSLATED_MSG_SIZE, t1.DOCUMENT_DEFINITION, t1.XPATH_EXPRESSION1, t1.ATTRIBUTE1, t1.XPATH_EXPRESSION2, t1.CORRELATION_FROM_XPATH_VALUE, t1.XPATH_EXPRESSION3, t1.DOC_ATTEMPT_COUNT, t1.XPATH_NAME1, t1.JOB_ID, t1.XPATH_NAME2, t1.CORRELATION_TO_XPATH_XPR, t1.XPATH_NAME3, t1.ATTRIBUTE5, t1.XPATH_VALUE1, t1.DOC_RETRY_INTERVAL, t1.XPATH_VALUE2, t1.APP_MESSAGE, t1.NATIVE_DATA_STORAGE, t1.TRANSLATED_DATA_STORAGE, t1.ATTACHMENT_STORAGE, t1.EXT_BUSINESS_MESSAGE, t1.PAYLOAD_STORAGE, t1.WIRE_MESSAGE FROM B2B_WIRE_MESSAGE t0, B2B_BUSINESS_MESSAGE t1 WHERE ((t0.ID = ?) AND (t0.ID = t1.WIRE_MESSAGE))[[
         bind => [AC12292E132B93E702C0000037AD4E82]
    [2011-09-30T13:01:10.853+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.ToplinkHelper: findBusinessMessageByProtocolMessageId: Got 1 messages
    [2011-09-30T13:01:10.853+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.ToplinkHelper: findBusinessMessageByProtocolMessageId: Exit
    [2011-09-30T13:01:10.854+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.DbAccess:updateProcessingTime (with WireMessage input) Got 1 messages
    [2011-09-30T13:01:10.854+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.DbAccess:updateProcessingTime (with WireMessage input) Set Processing time as 296
    [2011-09-30T13:01:10.854+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: processIncomingMessage: Exit
    [2011-09-30T13:01:10.854+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: incomingContinueProcess: Exit
    [2011-09-30T13:01:10.855+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: handleMessageEvent: Exit
    [2011-09-30T13:01:10.855+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: processEvents: Exit
    [2011-09-30T13:01:10.855+05:30] [soa_server1] [TRACE:16] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.855--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--TX beforeCompletion callback, status=STATUS_ACTIVE
    [2011-09-30T13:01:10.856+05:30] [soa_server1] [TRACE:16] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.856--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--begin unit of work commit
    [2011-09-30T13:01:10.857+05:30] [soa_server1] [TRACE:16] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.857--ClientSession(1583262624)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--TX beginTransaction, status=STATUS_ACTIVE
    [2011-09-30T13:01:10.857+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.857--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query InsertObjectQuery(oracle.tip.b2b.model.instance.DataStorage@76a4b4c8)
    [2011-09-30T13:01:10.858+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.858--ClientSession(1583262624)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--reconnecting to external connection pool
    [2011-09-30T13:01:10.858+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.858--ClientSession(1583262624)--Connection(960060373)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--INSERT INTO B2B_DATA_STORAGE (ID, DATA_SIZE, VALUE_SELECTOR, DOCUMENT_ID, ATTRIBUTE1, CLOB_VALUE, CPST_INST_CREATED_TIME, BLOB_VALUE, JOB_ID, ATTRIBUTE2, LABEL) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[[
         bind => [*** VALUES HIDDEN ***]
    [2011-09-30T13:01:10.859+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.859--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query InsertObjectQuery(oracle.tip.b2b.model.instance.DataStorage@765c5abf)
    [2011-09-30T13:01:10.860+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.860--ClientSession(1583262624)--Connection(960060373)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--INSERT INTO B2B_DATA_STORAGE (ID, DATA_SIZE, VALUE_SELECTOR, DOCUMENT_ID, ATTRIBUTE1, CLOB_VALUE, CPST_INST_CREATED_TIME, BLOB_VALUE, JOB_ID, ATTRIBUTE2, LABEL) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[[
         bind => [*** VALUES HIDDEN ***]
    [2011-09-30T13:01:10.861+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.861--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query InsertObjectQuery(oracle.tip.b2b.model.instance.ExtBusinessMessage@4fb164cf)
    [2011-09-30T13:01:10.861+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.861--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query WriteObjectQuery(oracle.tip.b2b.model.instance.BusinessMessage@3afbe406)
    [2011-09-30T13:01:10.862+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.862--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query WriteObjectQuery(oracle.tip.b2b.model.instance.ExtBusinessMessage@4fb164cf)
    [2011-09-30T13:01:10.863+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.862--ClientSession(1583262624)--Connection(960060373)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--INSERT INTO B2B_EXT_BUSINESS_MESSAGE (ID, ERROR_DETAIL_CLOB, ATTRIBUTE1, ERROR_LEVEL, BUSINESS_ACTION_NAME, ERROR_SEVERITY, BUSINESS_TRANSACTION_ID, ERROR_TEXT, BUSINESS_TRANSACTION_VERSION, ERROR_TEXT_CLOB, COLLABORATION_NAME, EXCHANGE_PROTOCOL_NAME, COLLABORATION_STATE, EXCHANGE_PROTOCOL_VERSION, DELIVERED_ENDPOINT, FROM_ROLE, ERROR_DESCRIPTION, GROUP_CONTROL_NUMBER, ERROR_DETAIL, TXNSET_CONTROL_NUMBER, INTERCHANGE_CONTROL_NUMBER, COLLABORATION_ID, JOB_ID, COLLABORATION_VERSION, LABEL, ERROR_DESCRIPTION_CLOB, PROCESSING_TIME, BUSINESS_TRANSACTION_NAME, PROTOCOL_WORK_AREA, ERROR_CODE, QUEUE_TIME, CPST_INST_CREATED_TIME, SEQUENCE_TARGET, ATTRIBUTE2, TO_ROLE, BUSINESS_MESSAGE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[[
         bind => [AC12292E132B93E74C40000037AD4E88, null, Interchange Sen, null, null, null, null, null, null, null, null, AS2, null, 1.1, null, null, null, null, null, null, null, null, null, null, null, null, 296, null, null, null, null, 2011-09-30 13:01:09.483, null, Interchange Rec, null, null]
    [2011-09-30T13:01:10.864+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.864--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query WriteObjectQuery(oracle.tip.b2b.model.instance.DataStorage@765c5abf)
    [2011-09-30T13:01:10.864+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.864--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query WriteObjectQuery(oracle.tip.b2b.model.instance.WireMessage@1c76cacb)
    [2011-09-30T13:01:10.865+05:30] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.865--UnitOfWork(776571749)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--Execute query WriteObjectQuery(oracle.tip.b2b.model.instance.DataStorage@76a4b4c8)
    [2011-09-30T13:01:10.866+05:30] [soa_server1] [TRACE] [] [oracle.soa.b2b.repository] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7] [userId: <anonymous>] [ecid: b9c170586825fe53:3e0b31b0:132ab6771a1:-8000-000000000006016d,0] [SRC_CLASS: oracle.tip.b2b.log.ToplinkLogger] [SRC_METHOD: log] 2011.09.30 13:01:10.866--ClientSession(1583262624)--Connection(960060373)--Thread(Thread[weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@33b06fc7,10,Application Daemon Threads])--UPDATE B2B_WIRE_MESSAGE SET ATTRIBUTE1 = ?, MODIFIED = ?, MSG_SIZE = ?, PROTOCOL_MESSAGE_ID = ?, PROTOCOL_TRANSPORT_BINDING = ?, REFER_TO_PROTOCOL_MESSAGE_ID = ?, STATE = ?, PAYLOAD_STORAGE = ? WHERE (ID = ?)[[
         bind => [AC12292E132B93E74C40000037AD4E88, 2011-09-30 13:01:10.846, 219, <AC12292F132B942A79C00000160393F3@EDI_AS2>, AS2-To=Local_AS2
    TE=trailers, deflate, gzip, compress
    Date=Fri, 30 Sep 2011 07:35:45 GMT
    AS2-Version=1.1
    Accept-Encoding=gzip, x-gzip, compress, x-compress
    AS2-From=EDI_AS2
    Content-Transfer-Encoding=binary
    Message-ID=<AC12292F132B942A79C00000160393F3@EDI_AS2>
    Content-type=multipart/report; report-type=disposition-notification; boundary="----=_Part_2_358023305.1317368145834"
    MSG_RECEIVED_TIME=Fri Sep 30 13:01:09 IST 2011
    ECID-Context=1.449b4b64fa2729cc:-36730b0e:132b5a57e53:-8000-0000000000019106;kXCpv0ZGZKSULGSPXKTPJHSRo4USpLO
    MIME-version=1.0
    isbinaryTfr=false
    User-Agent=AS2 Server Oracle HTTPClient Version 10h
    HostName=<HostName>
    Content-Length=795
    Host=<HostName>:<port>
    RemoteHostName=<********************>
    Connection=close, TE
    From=EDI_AS2
    , <AC12292E132B93E68B60000037AD4E75@Local_AS2>, COMPLETE, AC12292E132B93E74D70000037AD4E8A, AC12292E132B93E702C0000037AD4E82]
    ]]

  • Receiving document with AS2 over http

    In Oracle B2B if I have to receive the document with AS2 over http, what can be the URL? The fusion server is running in a linux server. There is a folder in that server where we can preserve the incoming files for further processing.

    Hi Anuj,
    The solution you have provided work, in the sense that the b2b server is receiving the file.
    But after the receipt I am seeing two errors, the sender is sending a text file, with the name xxxx.txt.
    The errors are:
    : B2B-50083 (error severity: error)
    Error Description Machine Info: <machine name>) Document protocol identification error.
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity ERROR
    Error Text Document protocol identification error.
    B2B-50079 ( (error severity: information)
    Error Description Machine Info: (<machinename>) Transport error: [IPT_HttpSendError] HTTP encounters send error :404 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>Sorry!The page requested was not found.</p> </body></html> .
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity INFORMATION
    Error Text Transport error: [IPT_HttpSendError] HTTP encounters send error :404 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>Sorry!The page requested was not found.</p> </body></html> .
    In the agreement, I did not put any validation against any schema file.

  • AS2 software to work with AS2 adapter of B2B Toolkit 1.0

    Hi Team,
    I am doing scenario on AS2 adapter of B2B ToolKit 1.0 to work with AS2 adapter i need AS2 software and i am thinking to use mendelson AS2 server to work with it does it support it or should i use another AS2 software please suggest me.
    Regards,
    Avinash

    Hi Avinash,
        you have this blog, Easy-to-use AS2 software - part I Easy-to-use AS2 software - part I
    You can find the part 2 and 3 of it. All the info has been explained very good.
    Best regards, i hope it helps you.

  • Query on AS2 in Oracle B2B 11g

    Hi there,
    I am setting up B2B to receive custom xml document using AS2. I am doing some unit testing and would like to know
    1. Should I configure a AS2 listening channel or it is received on /b2b/httpReceiver?
    2. How to unit test receiving a document using AS2 channel? Is there a tool to send AS2 messages to a particular b2b server (how to set AS2 identifier?)
    3. ssl and encryption is next step, but I would like to test basic connectivity first. Is it possible?
    Thanks for your time.
    Thnx,
    Ganesh
    Edited by: Ganesh on Aug 10, 2012 4:37 PM

    Hi Ganesh,
    1. Should I configure a AS2 listening channel or it is received on /b2b/httpReceiver?It should be received via /b2b/httpReceiver.
    2. How to unit test receiving a document using AS2 channel? Is there a tool to send AS2 messages to a particular b2b server (how to set AS2 identifier?)Use another B2B setup (may be a fresh local setup or a new domain in existing installation) to simulate your trading partner
    3. ssl and encryption is next step, but I would like to test basic connectivity first. Is it possible?Yes, just do not select anything in security tab of AS2 channel.
    Regards,
    Anuj

  • Receiving attachments with carriage return / enter after filename extension

    Hello All,
    For a while already I am seeing carriage return / enter / newline after the filename extension of (some of) my attachments.
    Clicking the attachment fails to open it. The only remedy I have is to save the attachment, navigate to it, click the filename, and remove the extra newline after the filename.
    It then asks me if i want to use the new extension, for example
    Would you like to use
    ".pdf"
    instead of
    ".pdf
    (I had to cut up the sentence above to make the bogus CR visible)
    After agreeing the file works fine and opens normally ( + Icon changes back to preview icon).
    The file shows up as "symposium 2010.pdf??" in Terminal.
    and
    /Users/vincent/Desktop/symposium\ 2010.pdf
    when pasted in vi - yes the third white line is included.
    Did anyone see/solve this issue before? Wading through the forum here did not turn up a solution...
    Regards, Vincent

    Hi Thomas,
    I am getting following error:
    Only one top level element is allowed in an XML document. Error processing resource 'file:///C:/Users/guptavis/AppData/Loca...
    <SupportCaseID>0055000018</SupportCaseID>
    -^
    for the below code
    DATA: LV_NEWLINE TYPE ABAP_CR_LF.
    LV_NEWLINE = CL_ABAP_CHAR_UTILITIES=>CR_LF.
    CONCATENATE
      V_XML '<TimeStamp>' wa_XML-TimeStamp '</TimeStamp>' INTO V_XML.
    CONCATENATE
      V_XML lv_newline INTO V_XML.
    CONCATENATE
      V_XML '<SupportCaseID>' wa_XML-SupportCaseID '</SupportCaseID>' INTO V_XML.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
      EXPORTING
        TEXT           = V_XML
      MIMETYPE       = ' '
      ENCODING       =
    IMPORTING
       BUFFER         =  V_XML1
    EXCEPTIONS
       FAILED         = 1
       OTHERS         = 2.
    CALL METHOD CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE
      EXPORTING
        I_FILENAME      = 'C:/TEMP/TEST.XML'
        I_CONTENT       = V_XML1
        I_MIME_TYPE     = 'XML'.
    Do you have anyu idea how can I rectify this error. As per my requirement I have conncatinate so many more lines.
    Regards,
    Vishal.

  • How to send SOAP Message with Oracle B2B

    Hi everyone,
    I need your help to send out from Oracle B2B a SOAP message with attachment of any type of file (image, pdf, etc.). Possibly using a SOA composite application or another way, it doesn't matter. I already create an ebMS partnership with a custom document protocol and I already create a working SOA composite application to send only text message to my trading partner. I have tried this solution: http://anuj-dwivedi.blogspot.it/2011/04/ebms-attachment-handling-in-oracle-b2b.html but it doesn't work for my case... It is to be noticed that I don't give any schema to my component in the SOA application explained firstly, and I select opaque as schema.
    Thanks to all, regards
    Nello

    Hi Anuj and thanks for your help,
    I need to send an ebXML message, with SOAP, and I try to send it with a .war application written in jsp connecting to http://10.85.28.24:8001/b2b/transportServlet to send the SOAP message. The errors reported is:
    javax.xml.soap.SOAPException: Unable to receive message. Received a response from url: http://10.85.28.24:8001/b2b/transportServlet with HTTP status 200 and SOAP content-type: null.
    the code I write is the following (to evaluate the two "null" in the super constructor)
    <%!
    public class EBMSSender extends SOAPRunner
    private String cpaId;
    private String service;
    private String action;
    private String mess;
    private ArrayList<String> allegati=null;
    public EBMSSender(String cpaId, String service, String action, String mess, ArrayList<String> file)
    super("http://10.85.28.24:8001/b2b/transportServlet","null", "null");
    this.cpaId = cpaId;
    this.service = service;
    this.action = action;
    this.mess=mess;
    this.allegati=file;
    @Override
    protected void prepareRequest(SOAPMessage soapMessage, SOAPBody soapBody) throws SOAPException
    soapBody.addChildElement(SOAPUtility.createElement("CPAId", getNsPrefix(), getNsURI(),"agr3"));
    soapBody.addChildElement(SOAPUtility.createElement("service", getNsPrefix(), getNsURI(),"OracleService"));
    soapBody.addChildElement(SOAPUtility.createElement("action", getNsPrefix(), getNsURI(),"Oracletohermesb"));
    soapBody.addChildElement(SOAPUtility.createElement("serviceType", getNsPrefix(), getNsURI(),"OracleServiceType"));
    soapBody.addChildElement(SOAPUtility.createElement("convId", getNsPrefix(), getNsURI(), "convId"));
    soapBody.addChildElement(SOAPUtility.createElement("fromPartyId", getNsPrefix(), getNsURI(), "Oracle"));
    soapBody.addChildElement(SOAPUtility.createElement("fromPartyType", getNsPrefix(), getNsURI(), "Name"));
    soapBody.addChildElement(SOAPUtility.createElement("toPartyId", getNsPrefix(), getNsURI(), "Hermes-b"));
    soapBody.addChildElement(SOAPUtility.createElement("toPartyType", getNsPrefix(), getNsURI(), "Name"));
    attach(soapMessage);
    protected void attach(SOAPMessage soapMessage)
    String h=mess;
    DataHandler dh;
    AttachmentPart ap = soapMessage.createAttachmentPart(h,"text/plain");
    soapMessage.addAttachmentPart(ap);
    if(allegati!=null)
    for(int i=0; i<allegati.size();i++)
    dh=new DataHandler(new FileDataSource(new File(allegati.get(i))));
    ap=soapMessage.createAttachmentPart(dh);
    ap.setContentType(new MimetypesFileTypeMap().getContentType(allegati.get(i)));
    ap.setContentLocation(allegati.get(i));
    soapMessage.addAttachmentPart(ap);
    @Override
    protected void processFault(SOAPFault soapFault) throws SOAPException{}
    @Override
    protected Object processResponse(SOAPMessage responseMessage,SOAPBody responseBody) throws SOAPException
    SOAPElement messageId = SOAPUtility.getChild(responseBody, "message_id", getNsURI());
    return null;
    %>
    The code works fine on the other trading partner side to send ebXML message to Oracle B2B. Apart from this solution (however,it would be my favorite), I find your blog and I try to implement your solution. It works: it sends files with only text payload to the other trading partner without any problem, but if I try to send for example an image in byte array written in a file .txt, the ebxml file received has the byte array with wrong characters. it may be that I have not provided the xsd schema? in case if I wanted to send an ebXML message with text and attachments, what xsd schema do I need to provide?
    or is there another way to implement a SOA composite application to send SOAP messages with attachments?
    Thank for your help!, regards
    Nello

  • Dynamic filename in receiver AS2 adapter in B2B Add-on

    Hello Experts,
    Can you please let me know how we can put dynamic filename in the receiver AS2 adapter for B2B Addon on SAP 7.4.
    Thanks
    Saurabh

    Hi Ryan / Experts,
    Let me explain you in more detail.
    In the receiver AS2 Communication channel, if I keep the Filename field as blank as shown below, then in the Mendelson inbox folder, a file is generated with the name "ASJAVA_DX5" which is my business component name.
    If I fill the filname field for example with "CONTRL", then in the Mendelson inbox folder, a file is generated with the name "CONTRL".
    This is my requirement because, suppose i trigger this interface "first time", a file with static name (ASJAVA_DX5/CONTRL ) would be generated in the inbox folder. If I trigger this interface "second time", since the file already exists with same name, it is not overwritten and I cannot check the output of 2nd trigger . Contents are not overwritten.
    To solve this problem + as a general requirement, I wish to have this name to be dynamic, atleast with date+timestamp.
    Can you please help.

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. Some contacts have problems opening files sent by me using Mail too. This was never a problem on pre-Intel. A real Mac **** up !

    I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?

    Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
    Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things.

  • Problem with CC Receiver with AS2 Adapter Seeburger

    Hi,
    I try to test the AS2 Adapter with Receiver channel y one server and Sender channel in second server, but in the Receiver channel, I have the error :
    "MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2."
    I find the error and I found the URL Error in AS2 adapter. Object not found in lookup of as2.. Its urgent..!! with the same problem, but I have the same configuration in the Party of the receiver and the Sender, the same AS2ID name, and try with the solution in the forum respect the Party name in the scenario of the Receiver, but don't work.
    My scenario is send an IDOC from R/3 to a partner with the AS2 receiver channel.
    Is my fisrt scenario with AS2 adapter. Somebody help me please with any example or with any idea about the solution to my problem?
    Greetings,
    Hervey

    I have resolved this problem, thanks.

  • When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.

    When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail., When I forward or reply to the email from Mail, the receiver gets it as multiple attachments with no content in the mail.

    That's probably because the message is in HTML format. Send the reply as plain text.

  • Error while integrating E-biz with Oracle B2B

    I am trying to integrate Oracle apps with Oracle B2B. I have updated Transport Server Details : XML Gateway Inbound/XML Gateway Outbound with IP,user name,password and Sid. Then created an agreement with Internal Delivery Channel as XML Gateway Outbound and Responding Internal Delivery Channel as XML Gateway Inbound. But while validating the agreement it is showing an error as given below.
    AIP-16222: The transport parameter XML Gateway Inbound of trading partner ABC-Host must have no more than one protocol endpoint.
    AIP-16222: The transport parameter XML Gateway Outbound of trading partner ABC-Host must have no more than one protocol endpoint.
    I can see the transport parameter XML Gateway Outbound has an endpoint b2b.ECX_OUTBOUND and transport parameter XML Gateway Inbound has an endpoint b2b.ECX_INBOUND. I have not done any other setting/configurations. Is there anything else to be done?
    Edited by: user11128475 on May 4, 2009 8:47 PM

    Protocol end-point and general end-point are two different things. Protocol end point is combination of IP, Port and End-point for a particular protocol.
    Generally this problem comes in delivery channel configuration. Make sure you are using the existing transport server configuration in case same IP and port is to be given in the configuration of new IDC for same protocol.
    It does not mean that you cannot use different end points. Still you can use different end points with existing transport server configuration.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on May 5, 2009 9:36 AM

  • Any one using 11g DB with Oracle B2B?which oracle DB versions are suported

    we're on 10.2.0.3.0 and are in middle of DB upgrade , wanted to check if 11G is right option or just go to 10.2.0.4.0
    Thanks,
    Kalyan

    Hi,
    I would recommend you stay on the curent patch set. Application Server 10.1.2.3 with database 10.1.0.5 and the latest Oracle B2B patch.
    The certification matrix indicates the highest DB version, in this context, is Oracle Database 10g R2 (10.2). Please verifiy on metalink.
    regards,
    Jeff
    P.S. The REPCA utility will not allow you to install into a 11g DB.

  • I receive a lot of attachments with RFC-822 format. How do I open thes?

    Most of these RFC-822 attachments are asking which program would like to use to open. Most are from Google

    RFC 822 is an MIME type created in 1982 and no longer in general use. See this Wikipedia article: http://en.wikipedia.org/wiki/List_of_RFCs
    The Nimda worm is known to use that format to propagate itself without user intervention by copying email addresses from the user's address book. If you're receiving attachments but don't know the sender, then it could be an indication that their PC is infected by this virus. Even if you know the sender, it would be wise to check with them in order to determine whether they intentionally sent you an attachment or not.
    More on the Nimda worm here: http://www.f-secure.com/v-descs/nimda.shtml<br><br>
    For your own peace of mind, run a full system scan with your antivirus program. If you haven't got one, you can get Avast AV free from here: http://www.avast.com/free-antivirus-download (''I use this one myself'').
    Also, download the free version of Malwarebytes as an added precaution: http://www.malwarebytes.org/products/malwarebytes_free
    If this answers your question, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same thing.
    Thanks.

Maybe you are looking for

  • How do I set my default Shockwave Flash object viewer to Firefox 4 RC?

    In the previous version of Firefox, I set it as my default Shockwave Flash viewer (these were offline objects) by selection the application in my program files. When I upgraded to FF 4 RC, I was no longer able to view these files, nor was I able to f

  • "Why Qty sales Not Same"

    Hi expert... I have a problem .., I have to report sales to the Quanty Query .., but why after I check in the amount of System Analys Qty Salesnya different with my report. I find based on all WHERE (MONTH(DocDate) not match as well as based on WHERE

  • Launchd and Pathstate errors

    Hi, I've been playing around with launchd but I end up getting some errors when I use the pathstate parameter. This is my plist : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/P

  • SU01-user replication from HR to SRM

    Hello together, I have a question. We have a central SAP HR tool which contains all SU01 users of the company. We would like to replicate all SU01 users which are maintained in the HR tool to SRM. This is not about creating BPs or integrating them to

  • JBCL vs infobus?

    Both JBCL (Borland's Java Bean Component Library) and Oracle's implementation of Java infobus standard are shipped with JDeveloper2.0. They both support data exchange between java components and the database application. Can anybody tell me what's th