Wednesday, March 16, 2011

Setup Oracle SOA B2B for ebXML documents using ebMS 2.0 protocol

For a large EDI initiative MindTelligent Team was involved in, the assignment was to setup a Oracle B2B exchange for ebXML using ebMS 2.0 protocol  This blog discusses the steps to configure Oracle SOA suite 11.1.1.4 B2B server to exchange ebXML using ebMS 2.0 protocol. The post assumes that the user has some prior knowledge of Oracle SOA B2B servers

  • Set up the document definition.
    • Document Protocol Version: ebXML_Version_1.0
    • Document Type: ebXMLOrderType
      • Action Name ebXMLOrderAction
      • Service Name ebXMLOrderService
      • Service Type ebXMLOrderServiceType
      • From Role AskMind
      • To Role DST




















  • Document Definition: ebXMLOrder_def 
    • In this example, we are processing a flat file using ebMS 2.0. The option we choose is
      "Flat"
    • Identification Start Position: 1 (Depending on identification of your flat file)
    • Identification End Position: 1 (Depending on identification of your flat file)
    • Identification Value: C  (Depending on identification of your flat file)















Setting up "Delivery Channel" for you outbound payloads.

  • Click on Partners-->Channels
  • Select Protocol as ebMS-2.0
  • Enter Transport Protocol Parameters
    • URL: http://hostname:port/b2b/httpReceiver
    • User Name: Weblogic user name of remote server
    • Password: Password of the remote server
  • Channel Attributes
    • Ack Mode Async















Develop a composite to initiate the process. Ensure that the following assignments are made in the composite

<assign>
            <copy target="$out.property.b2b.ebms.Service"
                  expression="'ebXMLOrderService'"/>
            <copy target="$out.property.b2b.ebms.ServiceType"
                  expression="'ebXMLOrderServiceType'"/>
            <copy target="$out.property.b2b.ebms.action"
                  expression="'ebXMLOrderAction'"/>
            <copy target="$out.property.b2b.fromTradingPartnerId"
                  expression="'AskMind'"/>
            <copy target="$out.property.b2b.toTradingPartnerId"
                  expression="'DST'"/>
            <copy target="$out.property.b2b.documentTypeName"
                  expression="'ebXMLOrderType'"/>
            <copy target="$out.property.b2b.documentProtocolRevision"
                  expression="'ebXML_Version_1.0'"/>
              <copy target="$out.property.b2b.action"
                  expression="'ebXMLOrderAction'"/>
          </assign>

For questions, comments and feedback,  please contact:
 Harvinder Singh Saluja

    No comments:

    Post a Comment

    ForgeRock IAM : OpenDS (Open Directory Server). Importing LDIF files

    The most efficient method of importing LDIF data is to take the OpenDJ server offline. Alternatively, you can schedule a task to import the ...