anypoint b2 b

16
ANYPOINT B2B BY ACHYUTA LAXMI

Upload: achyuta-lakshmi

Post on 14-Jan-2017

270 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Anypoint b2 b

ANYPOINT B2B

BY

ACHYUTA LAXMI

Page 2: Anypoint b2 b

Overview

Introduction EDI Module Anypoint Partner Manager Partner Settings Message Tracking B2B Connector Installing the Connector Configuring the Connector Configuration without file persistence Configuration using Amazon S3 for file persistence Configuration using a Mule flow for file persistence Supported Operations Conclusion

Page 3: Anypoint b2 b

INTRODUCTION

Anypoint B2B enables Mule users to connect with trading partners using EDI over AS2, FTP and other protocols. It integrates seamlessly into the Mule runtime.

Anypoint B2B includes the following:o EDI Moduleo Anypoint Partner Manager (APM)o AS/2 Connectoro FTPS Connectoro B2B Connector

Page 4: Anypoint b2 b

EDI MODULE

EDI message-reading, message-validation and message-writing capability

Integration with DataSense and DataMapper X12 message packs for 4010 and 5010 EDIFACT message packs for versions D.93A, D.95B, D.96A,

D.98B, D99A, D.99B, D.00A, D.01B, D.02A, and D03a Ability to define your own schemas or to customize the base

X12/EDIFACT schemas

Page 5: Anypoint b2 b

ANYPOINT PARTNER MANAGER 

Anypoint Partner Manager (APM) provides a single web-based user interface for managing Partner Settings and viewing B2B Message Tracking data for all B2B transactions between you and your trading partners.

Page 6: Anypoint b2 b

PARTNER SETTINGSAPM provides the ability to edit, store and retrieve configuration settings for the transport and format of B2B messages. For example, EDI messages are often sent over the AS2 protocol in order to ensure security and integrity of the transmissions. Each trading partner may have AS2 different settings; for example, each partner will have their own certificate. In addition, different partners may use different format protocols such as EDI X12, EDIFACT, or XML, and they may use different options within those protocols. APM allows this configuration data to be managed outside of your Mule applications, so that they can be reviewed without looking at the code and updated without re-deploying your Mule flows.

Page 7: Anypoint b2 b

MESSAGE TRACKING

Because B2B messages often communicate contractual obligations between companies, it is desirable (and sometimes necessary) to track all messages sent or received, storing the actual message content as well as metadata (such as data and time the message was sent or received, the identity of the partner, and success or failure of processing). APM provides a simple, secure, and integrated mechanism for message tracking within Mulesoft flows. This data can be used for non-repudiation, correlation of acknowledgments, error correction, and auditing.

Currently the tracking metadata is stored in a database in CloudHub and the actual message content is saved to an S3 bucket or customer message persistance option provided by the customer.

Page 8: Anypoint b2 b

B2B CONNECTOR

The B2B Connector provides connectivity to Anypoint Partner Manager. The connector enables the management of Anypoint B2B connectors from Partner Manager and tracking of B2B exchanges.

Page 9: Anypoint b2 b

INSTALLING THE CONNECTORFollow the steps below to install the B2B connector in Anypoint Studio. On the Help menu in Anypoint Studio, select Install New

Software…  to bring up the Available Software dialog box. Press the Add…  button, next to the Work with selection box, to add

the B2B Connector’s update site. The location for the update site is http://edi-module-update-site.s3.amazonaws.com/beta-updates.

Once added, expand the Premium drop-down and choose B2B Connector.

Click Next >. The Install Details page appears. Review the details of the item you selected and click Next >. Accept terms and conditions of the product and press Finish. Click Restart Now to complete the installation.

Page 10: Anypoint b2 b

CONFIGURING THE CONNECTOR

Configuring the Connector:

Configuration without file persistenceConfiguration using Amazon S3 for file persistenceConfiguration using a Mule flow for file persistenceSupported Operations Track Transmission

Page 11: Anypoint b2 b

CONFIGURATION WITHOUT FILE PERSISTENCE

From Anypoint Studio, select the Global Elements view and press Create.

Enter B2B in the filter. Choose Basic Configuration and click OK. In the API Key attribute, enter your private API key which is

generated from Partner Manager. Enter in the Environment attribute the CloudHub environment

you want the B2B connector to run in. Press OK.

Page 12: Anypoint b2 b

CONFIGURATION USING AMAZON S3 FOR FILE PERSISTENCE

From Anypoint Studio, select the Global Elements view and press Create.Enter B2B in the filter.Choose Amazon S3 File Storage and click OK.In the API Key attribute, enter your private API key which is generated from Partner Manager.Enter in the Environment attribute the CloudHub environment you want the B2B connector to run in.Enter the settings of the S3 bucket to be used for storing files. These settings are obtained from your AWS console.Press OK.

Page 13: Anypoint b2 b

CONFIGURATION USING A MULE FLOW FOR FILE PERSISTENCE

1.From Anypoint Studio, select the Global Elements view and press Create.2.Enter B2B in the filter.3.Choose Custom File Storage and click OK.4.In the API Key attribute, enter your private API key which is generated from Partner Manager.5.Enter in the Environment attribute the CloudHub environment you want the B2B connector to run in.6.Type in the name of the flow to be used for persisting files in the Flow Nameattribute.7.Optionally, inside the File URL attribute, set a MEL expression to read the file URL from the message produced by the flow.8.Press OK.

Page 14: Anypoint b2 b

SUPPORTED OPERATIONS

The connector supports the following operations:1.Track TransmissionTrack TransmissionThis operation allows you to track transmissions that occur outside of Anypoint B2B Connectors like reading a file from the filesystem. Tracking includes, but not only, keeping a record of the transmission’s metadata, file’s content and format. Tracked transmissions are can viewed in Anypoint Partner Manager.

Page 15: Anypoint b2 b

CONCLUSION

Anypoint B2B enables Mule users to connect with trading partners using EDI over AS2, FTP and other protocols. It integrates seamlessly into the Mule runtime.

References:

https://docs.mulesoft.com/anypoint-b2b/https://docs.mulesoft.com/anypoint-b2b/anypoint-partner-manager

Page 16: Anypoint b2 b

Thank you