Web Methods EDIINT Module User's Guide 6.5
Web Methods EDIINT Module User's Guide 6.5
Users Guide
VERSION 6.5
webMethods, Inc. South Tower 3877 Fairfax Ridge Road Fairfax, VA 22030 USA 703.460.2500 http://www.webmethods.com
webMethods Administrator, webMethods Broker, webMethods Dashboard, webMethods Developer, webMethods Fabric, webMethods Glue, webMethods Installer, webMethods Integration Server, webMethods Mainframe, webMethods Manager, webMethods Mobile, webMethods Modeler, webMethods Monitor, webMethods Optimize, webMethods Portal, webMethods Trading Networks, and webMethods Workflow are trademarks of webMethods, Inc. webMethods and the webMethods logo are registered trademarks of webMethods, Inc. Acrobat, Adobe, and Reader are registered trademarks of Adobe Systems Incorporated. Amdocs is a registered trademark, and ClarifyCRM is a trademark of Amdocs Inc. Ariba is a registered trademark of Ariba, Inc. BEA and BEA WebLogic Server are registered trademarks, and BEA WebLogic Platform is a trademark of BEA Systems, Inc. BMC Software and PATROL are registered trademarks of BMC Software, Inc. BroadVision is a registered trademark of BroadVision, Inc. ChemeStandards and CIDX are registered trademarks of Chemical Industry Data Exchange. Unicenter is a trademark of Computer Associates International, Inc. PopChart is a registered trademark of CORDA Technologies, Inc. Kenan and Arbor are registered trademarks of CSG Software, Incorporated. SNAP-IX and Data Connection are registered trademarks of Data Connection Corporation. DataDirect, DataDirect Connect, and SequeLink are registered trademarks of DataDirect Technologies Corp. D & B and D-U-N-S are registered trademarks of Dun & Broadstreet, Inc. Entrust is a registered trademark of Entrust, Inc. Hewlett-Packard, HP, HP-UX, and OpenView are trademarks of Hewlett-Packard Company. i2 is a registered trademark of i2 Technologies, Inc. AIX, AS/400, CICS, DB2, Domino, IBM, Infoprint, Lotus, Lotus Notes, MQSeries, OS/390, OS/400, RACF, RS/6000, S/390, System/390, VTAM, z/OS, and WebSphere are registered trademarks; and Informix, SQL/400, Communications System for Windows NT, IMS, MVS, SQL/DS, and Universal Database are trademarks of IBM Corporation. InnoDB is a trademark of Innobase Oy. JBoss is a registered trademark, and JBoss Group is a trademark of JBoss Inc. JD Edwards is a registered trademark of J.D. Edwards & Company and OneWorld is a registered trademark of J.D. Edwards World Source Company. Linux is a registered trademark of Linus Torvalds. X Window System is a trademark of the X.org Foundation. MetaSolv is a registered trademark of Metasolv Software, Inc. ActiveX, Microsoft, Outlook, Visual Basic, Windows, and Windows NT are registered trademarks; and SQL Server is a trademark of Microsoft Corporation. MySQL is a registered trademark of MySQL AB, Ltd. Teradata is a registered trademark of NCR International, Inc. Netscape is a registered trademark of Netscape Communications Corporation. ServletExec is a registered trademark, and New Atlanta is a trademark of New Atlanta Communications, LLC. CORBA is a registered trademark of Object Management Group, Inc. UNIX is a registered trademark of X/Open Company Ltd. Oracle is a registered trademark of Oracle International Corporation. PeopleSoft and Vantive are registered trademarks, and PeopleSoft Pure Internet Architecture and WorldSoftware are trademarks of PeopleSoft, Inc. Infranet and Portal are trademarks of Portal Software, Inc. RosettaNet is a trademark of RosettaNet, a non-profit organization. SAP and R/3 are registered trademarks of SAP AG. Siebel is a registered trademark of Siebel Systems, Inc. SPARC is a registered trademark, and SPARCStation is a trademark of SPARC International, Inc. SSA Global and SSA Baan are trademarks of SSA Global Technologies, Inc. EJB, Enterprise JavaBeans, Java, JavaServer, JDBC, JSP, J2EE, Solaris, and Sun Microsystems are registered trademarks; and Java Naming and Directory Interface, SOAP with Attachments API for Java, JavaServer Pages and SunSoft are trademarks of Sun Microsystems, Inc. SWIFT and SWIFTNet are registered trademarks of Society for Worldwide Interbank Financial Telecommunication SCRL. Sybase is a registered trademark of Sybase, Inc. UCCnet and eBusinessReady are registered trademarks of Uniform Code Council, Inc. Verisign is a registered trademark of Verisign, Inc. VERITAS is a registered trademark of VERITAS Operating Corporation, and VERITAS Software and VERITAS Cluster Server are trademarks of VERITAS Software Corporation. W3C is a registered trademark of Massachusetts Institute of Technology. All other marks are the property of their respective owners. Copyright 2005 by webMethods, Inc. All rights reserved, including the right of reproduction in whole or in part in any form.
Contents
Contents
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
7 7
Chapter 1. Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What Is EDIINT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . webMethods EDIINT Module Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . webMethods EDIINT Module Support for EDIINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EDIINT Interoperability Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The EDIINT Module and the webMethods Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features Provided for EDIINT Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inbound EDIINT Processing with AS1 and AS2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EDIINT Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Processing Inbound EDIINT Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Processing Inbound EDIINT MDNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Outbound EDIINT Processing With AS1 and AS2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sending Outbound EDIINT Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sending Outbound EDIINT MDNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Run-Time Processing With EDIINT AS3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Run-Time Processing For Host Partners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Host Partner Sending an AS3 Message to a Client Partner . . . . . . . . . . . . . . . . . . . . . . . . Host Partner Retrieving an AS3 Message or MDN from a Client Partner . . . . . . . . . . . . . . Run-Time Processing For Client Partners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Client Partner Sending an AS3 Message to the Host Partner . . . . . . . . . . . . . . . . . . . . . . . Client Partner Retrieving an AS3 Message or MDN from the Host Partner . . . . . . . . . . . . Using a Business Process to Send Outbound EDIINT Documents . . . . . . . . . . . . . . . . . . . . . . . . . .
9
10 10 11 11 12 13 13 14 14 17 18 19 20 23 24 24 24 24 24 24 25
27
28 28 29 29 29 30 31 32 34
Contents
Configuring SMTP Settings to Enable EDIINT Message Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring Inbound EDIINT SMTP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring Outbound EDIINT SMTP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring Your System To Support EDIINT AS3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating Directories For Uploading/Downloading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating Trading Partner Agreements (TPAs) For AS3 Support . . . . . . . . . . . . . . . . . . . . . . . . Configuring Whether Trading Networks Is To Process Payloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . Trading Networks Objects Provided for EDIINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TN Document Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Document Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extended Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Processing Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Services Invoked by Processing Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35 35 36 37 37 37 46 48 48 49 50 50 51
Chapter 6. Viewing and Managing Information about EDIINT Documents and MDNs . . . 67
Using Trading Networks Console to View Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Viewing Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Resubmitting EDIINT Outbound Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Contents
73
wm.EDIINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 wm.EDIINT.sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
85 89
Contents
Document Conventions
Convention Bold Italic Description Identifies elements on a screen. Identifies variable information that you must supply or change based on your specific situation or environment. Identifies terms the first time they are defined in text. Also identifies service input and output variables. Identifies storage locations for services on the webMethods Integration Server using the convention folder.subfolder:service. Identifies characters and values that you must type exactly or messages that the system displays on the console. Identifies keyboard keys. Keys that you must press simultaneously are joined with the + symbol. Directory paths use the \ directory delimiter unless the subject is UNIX-specific. Optional keywords or values are enclosed in [ ]. Do not type the [ ] symbols in your own code.
Narrow font
Typewriter font
UPPERCASE \ []
Additional Information
The webMethods Advantage Web site at http://advantage.webmethods.com provides you with important sources of information about webMethods components: Troubleshooting Information. webMethods provides troubleshooting information for many webMethods components in the webMethods Knowledge Base. Documentation Feedback. To provide documentation feedback to webMethods, go to the Documentation Feedback Form on the webMethods Bookshelf. Additional Documentation. All webMethods documentation is available on the webMethods Bookshelf.
CHAPTER
Concepts
What Is EDIINT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 webMethods EDIINT Module Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 webMethods EDIINT Module Support for EDIINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 EDIINT Interoperability Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 The EDIINT Module and the webMethods Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Features Provided for EDIINT Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Inbound EDIINT Processing with AS1 and AS2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Outbound EDIINT Processing With AS1 and AS2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Run-Time Processing With EDIINT AS3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Using a Business Process to Send Outbound EDIINT Documents . . . . . . . . . . . . . . . . . . . . 25
CHAPTER 1 Concepts
What Is EDIINT?
EDIINT stands for Electronic Data Interchange-Internet Integration, or EDI over the Internet. EDIINT is a standard defined by the Internet Engineering Task Force (IETF) that defines a protocol for using the Internet to securely exchange business documents (EDI, XML, or other). The three versions of the EDIINT standard include: EDIINT AS1 (EDIINT Applicability Statement 1) that uses SMTP (e-mail) to transport documents EDIINT AS2 (EDIINT Applicability Statement 2) that uses HTTP (or HTTP/S) to transport documents EDIINT AS3 (EDIINT Applicability Statement 3) that uses FTPS (FTP over SSL) to transport documents All versions support digital signatures, encryption, and signed receipts. The EDIINT standard specifies how to exchange business documents over the Internet in a secure, reliable, non-repudiable way. It does not specify how to validate or process the business documents that are transported.
10
11
CHAPTER 1 Concepts
~~~~~~~~~~~~~~~~~~~~~~~~ Transports ~~~~~~~~~~~~~~~~~~~~~~~~ ebXML SMTP EDIINT HTTP FTP Module HTTPS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Integration Server is the underlying foundation of webMethods. Trading Networks is a webMethods component that enables your enterprise to link with other companies (buyers, suppliers, strategic partners) and marketplaces to form a business-to-business trading network. Trading Networks is required to use the EDIINT Module. For more information about Trading Networks, see the webMethods Trading Networks Concepts Guide and the webMethods Trading Networks Users Guide. EDI Module is comprised of the following two packages: The WmEDI package is the basic functionality that provides support for the EDI standard. The WmEDIforTN package allows for the interaction between the WmEDI package and Trading Networks. This interaction allows you to use Trading Networks as a gateway for EDI document exchange. The EDI Module uses the functionality of Trading Networks to provide additional features, such as support for VANs, reconciling FAs, and batching the sending of EDI documents. EDIINT Module contains the support for the EDIINT exchange protocol as described above in webMethods EDIINT Module Introduction on page 10.
12
Client
Document
EDIINT
13
CHAPTER 1 Concepts
EDIINT Client
Use the EDIINT Module to create the client to send documents using EDIINT. If you are not using webMethods software on the client side, see documentation for the EDIINT software that you are using. When the client sends the EDIINT document to the Integration Server, it must associate the inbound document with a content type that the EDIINT Module recognizes, for example, multipart/signed. When the Integration Server receives a document that has an EDIINT content type, it passes the document to the appropriate EDIINT content handler, which was installed when you installed the EDIINT Module. The EDIINT content handler passes the document to the service the client specifies. To use the EDIINT exchange protocol, the client must specify the wm.EDIINT:receive service. The wm.EDIINT:receive service is a built-in service provided with the EDIINT Module. For more information about processing the EDIINT document, see Processing Inbound EDIINT Documents below.
14
The following diagram illustrates how the EDIINT Module performs transport-level processing for an inbound EDIINT document. Additionally, as illustrated in the diagram, if you want to perform business-level processing, you can submit the payload of the EDIINT document to Trading Networks for further processing. For more information, see the table after the diagram.
Processing an inbound EDIINT document
Document payload
Integration Server
1
wm.EDIINT:receive service
2
TN document types EDIINT Pipeline bizdoc
Trading Networks
processing rules
3
EDIINT Process Message
MDN requested? no
yes
MDN
5 Submit
payload to TN? no
yes
6
payload Submit the payload if you want to perform businesslevel processing on the payload of the EDIINT document.
Processing complete.
15
CHAPTER 1 Concepts
Step
1 2
Description The wm.EDIINT:receive service accepts the inbound document. The wm.EDIINT:receive service uses the TN document types to determine the type of document. The document matches the EDIINT TN document type that is installed into Trading Networks when you install the EDIINT Module. After determining the TN document type, the wm.EDIINT:receive service forms a BizDocEnvelope for the inbound document and places it in the pipeline in the bizdoc variable. A BizDocEnvelope contains the original document and includes additional information that Trading Networks requires for routing and processing the document. One piece of information that Trading Networks can use in the selection of a processing rule is the user status. The EDIINT recognizer sets the user status to ProcessMsg. After forming the BizDocEnvelope, the wm.EDIINT:receive service sends BizDocEnvelope to Trading Networks for processing.
Trading Networks determines the processing rule to use for the document. For inbound EDIINT documents, Trading Networks uses the EDIINT Process Message processing rule that is installed into Trading Networks when you install the EDIINT Module. It selects this processing rule because the TN document type is EDIINT and the user status is ProcessMsg. This processing rule performs the Execute a Service action to invoke the wm.EDIINT.rules:processMsg service. The service processes the message by opening the MIME or S/MIME package and then decrypting and/or verifying the signature of the message.
The remaining steps represent actions specified in the EDIINT Process Message processing rule.
4
The wm.EDIINT.rules:processMsg service determines whether the sender of the EDIINT document requested an MDN. If the sender did request an MDN, the wm.EDIINT.rules:processMsg service determines whether the sender has requested a signed or an unsigned MDN. The service creates the appropriate type of MDN and sends the MDN back to Trading Networks for delivery. Trading Networks can deliver the MDN synchronously or asynchronously. For more information about how Trading Networks delivers the MDN, see Sending Outbound EDIINT MDNs on page 20. After sending the document to Trading Networks, continue with the next step. If the sender did not request an MDN, continue with the next step.
16
Step
5
Description The wm.EDIINT.rules:processMsg service invokes the wm.EDIINT.rules:processPayload service, which determines whether you want to send the payload of the EDIINT document to Trading Networks for processing. You define whether you want the EDIINT Module to send EDIINT payloads to Trading Networks for processing when you configure the EDIINT Module.
If the payload is to be sent to Trading Networks for processing, submit the payload. You send the payload of the document for processing if you want to perform business-level logic on payload. The payload can be either an EDI document or a non-EDI document (e.g., an XML document). EDI documents. If the payload is an EDI document, the EDI Module processes the document. When the payload is an EDI document, you must set up the EDI Module and Trading Networks to process the EDI document. For example, use the EDI Module to install TN document types for the EDI documents and create a processing rule to process the EDI document. For more information about how the EDI Module processes EDI documents, see information about using the EDI Module with Trading Networks in the webMethods EDI Module Concepts Guide. Non-EDI documents. If the payload is not an EDI document, you must define the TN document types that Trading Networks can use to recognize the payload and the processing rule that Trading Networks should use to process the document.
Integration Server
MDN
wm.EDIINT:receive service
2
TN document types EDIINT MDN Pipeline bizdoc
Trading Networks
processing rules
3
EDIINT Process MDN Message
17
CHAPTER 1 Concepts
Step
1 2
Description The wm.EDIINT:receive service accepts the inbound MDN. The wm.EDIINT:receive service uses the TN document types to determine the type of document. The MDN matches the EDIINT MDN TN document type that is installed into Trading Networks when you install the EDIINT Module. After determining the TN document type, the The wm.EDIINT:receive service forms a BizDocEnvelope for the inbound MDN and places it in the pipeline in the bizdoc variable. A BizDocEnvelope contains the MDN and includes additional information that Trading Networks requires for routing and processing the document. One piece of information that Trading Networks can use in the selection of a processing rule is the user status. The EDIINT recognizer sets the user status to ProcessMDNMsg. After forming the BizDocEnvelope, the wm.EDIINT:receive service sends BizDocEnvelope to Trading Networks for processing.
Trading Networks determines the processing rule to use for the MDN. For inbound MDNs, Trading Networks uses the EDIINT Process MDN Message processing rule that is installed into Trading Networks when you install the EDIINT Module. Trading Networks selects this processing rule because the TN document type is EDIINT MDN and the user status is ProcessMDNMsg. This processing rule performs the Execute a Service action to invoke the wm.EDIINT.rules:processMDN service, which processes the EDIINT MDN.
Integration Server
Trading Networks
Document EDIINT
Trading Partner
18
Integration Server
1
business document (EDI, XML, etc.)
wm.EDIINT:send service
2
Document payload TN document types
3
EDIINT
Pipeline bizdoc
Trading Networks
processing rules
4
EDIINT Send Message
5
Document payload
Trading Partner
Step
1
Description You invoke the wm.EDIINT:send service to send a document to the EDIINT Module to be packaged as an EDIINT document and delivered to the receiving trading partner. The inputs of wm.EDIINT:send include the level of encryption to use, whether to compress the data, whether you are requesting an MDN and if so what kind, and how to deliver the document. Using the input information that you provide, the wm.EDIINT:send service creates the EDIINT document, that is, an EDIINT MIME or S/MIME message.
19
CHAPTER 1 Concepts
Step
3
Description The wm.EDIINT:send service uses the TN document types to determine the type of document. The document matches the EDIINT TN document type that is installed into Trading Networks when you install the EDIINT Module. After determining the TN document type, the wm.EDIINT:send forms a BizDocEnvelope for the inbound document and places it in the pipeline in the bizdoc variable. A BizDocEnvelope contains the original document and includes additional information that Trading Networks requires for routing and processing the document. One piece of information that Trading Networks can use in the selection of a processing rule is the user status. The EDIINT recognizer sets the user status to SendMsg. After forming the BizDocEnvelope, the wm.EDIINT:send service sends BizDocEnvelope to Trading Networks for processing.
Trading Networks determines the processing rule to use for the document. For outbound EDIINT documents, Trading Networks uses the EDIINT Send Message processing rule that is installed into Trading Networks when you install the EDIINT Module. Trading Networks selects this processing rule because the TN document type is EDIINT and the user status is SendMsg. This processing rule performs the Execute a Service action to invoke the wm.EDIINT.rules:sendMsg service.
The wm.EDIINT.rules:sendMsg service delivers the document by invoking the wm.EDIINT.delivery:deliveryDocument service. The wm.EDIINT.delivery:deliveryDocument service delivers the document to the appropriate trading partner.
20
The following diagram illustrates how the EDIINT Module sends an outbound MDN. For more information, see the table after the diagram.
Sending an outbound MDN
Integration Server
1
2
MDN MDN TN document types EDIINT MDN Pipeline bizdoc
3
processing rules EDIINT Send MDN Message
21
CHAPTER 1 Concepts
Step
1 2
Description The sender sends an EDIINT document to the wm.EDIINT:receive service with a request for an MDN. The wm.EDIINT:receive service accepts the inbound EDIINT document. The wm.EDIINT:receive service passes the EDIINT document to Trading Networks. Trading Networks processes the document using the EDIINT Process Message processing rule. For details about inbound processing, see Processing Inbound EDIINT Documents on page 14. The EDIINT Process Message processing rule invokes the wm.EDIINT.rules:processMsg service to process the inbound EDIINT document. Because an MDN is requested, the wm.EDIINT.rules:processMsg service creates the MDN. The wm.EDIINT.rules:processMsg service performs document recognition on the MDN using the Trading Networks TN document types. The MDN matches the EDIINT MDN TN document type. After determining the TN document type, Trading Networks forms a BizDocEnvelope for the MDN and places it in the pipeline in the bizdoc variable. The Trading Networks user status for the MDN is set to SendMDNMsg. The wm.EDIINT.rules:processMsg service then passes the BizDocEnvelope into standard Trading Networks processing.
Trading Networks determines the processing rule to use for the MDN. For inbound MDNs, Trading Networks uses the EDIINT Send MDN Message processing rule that is installed into Trading Networks when you install the EDIINT Module. Trading Networks selects this processing rule because the TN document type is EDIINT MDN and the user status is SendMDNMsg. The EDIINT Send MDN Message processing rule performs the Execute a Service action to invoke the wm.EDIINT.rules:sendMDN service.
The wm.EDIINT.rules:sendMDN service determines what type of MDN the sender has requested (synchronous or asynchronous) and then sends the MDN accordingly. If the sender requested a synchronous MDN, the wm.EDIINT.rules:sendMDN service returns a synchronous MDN to the sender using the same HTTP connection. If the sender requested an asynchronous MDN, the wm.EDIINT.rules:sendMDN service invokes wm.EDIINT.delivery:deliveryDocument service to send an asynchronous MDN as a separate transaction.
22
23
CHAPTER 1 Concepts
Client Partner Retrieving an AS3 Message or MDN from the Host Partner
1 The client partner invokes the wm.EDIINT:retrieveAS3Message service, which logs in to the host partners FTP server and downloads the AS3 message or MDN. EDIINT deletes the message if the TPA specifies it. EDIINT submits the AS3 message or MDN to Trading Networks to be processed. If the TPA requires an MDN response message, EDIINT logs in to the FTP server and uploads the MDN to the host partners FTP server.
2 3
For information about configuring your system to support EDIINT AS3, see Configuring Your System To Support EDIINT AS3 on page 37.
24
Step
1 2
Description The business process waits for a document, for example, from a back-end system. This is the document that you want to send using EDIINT. The next step in the business process is to form an EDIINT document with the back-end system document as the payload, and send the EDIINT document to the trading partner. The step invokes the wm.EDIINT:send service to package the back-end system document as the payload of an EDIINT document. The ConversationID input parameter to the wm.EDIINT:send service is set to define the value to use for the conversation ID. It should be the same conversation ID that the back-end system document used. The trading partner responds with an MDN. The EDIINT Module sets the conversation ID of the MDN to the value specified for the ConversationID input parameter in the preceding step. As a result, the MDN rejoins the correct business process.
25
CHAPTER 1 Concepts
26
CHAPTER
27
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Overview
Before you can transport EDI or non-EDI documents using the EDIINT transport, perform the tasks listed below: Ensure that the partner profiles for senders and receivers contain the information that the EDIINT Module requires, as described in Including EDIINT Information in Profiles on page 28. If you want to use EDIINT AS1 (SMTP), or if you want to use EDIINT AS2 and have partners send MDNs via SMTP, configure the SMTP settings to enable the EDIINT Module to send and receive EDIINT documents via SMTP, as described in Configuring SMTP Settings to Enable EDIINT Message Exchange on page 35. If you want to use EDIINT AS3 (FTPS), configure your system as described in Configuring Your System To Support EDIINT AS3 on page 37. Note: If you use HTTP, HTTPS, or FTPS, see the webMethods Integration Server Administrators Guide or the webMethods Integration Server Administrators Online Help for instructions about how to add a port. No EDIINT-specific settings are required to add an HTTP, HTTPS, or FTPS port. If you want the EDIINT Module to send the payload of the document to Trading Networks for further processing, configure the EDIINT Module appropriately, as described in Configuring Whether Trading Networks Is To Process Payloads on page 46.
28
29
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
With version 6.5, the EDIINT Module looks at both the external ID value and the external ID type in order to find a matching profile. This means you may assign the same external ID value for multiple external ID types within the same profile or in any other profile (or the values may be unique). By default, when you send an EDIINT document the wm.EDIINT:send service tries to match the documents To header (for example, AS2-To: 987654321) with the external ID type and value defined in a partner profile (for example, EDIINT AS2 and 987654321). Similarly, when you receive an EDIINT document the wm.EDIINT:receive service tries to match the value of its sender ID input parameter (which specifies both type and value) with a partner profiles external ID type and value. Important! If you use the EDIINT AS1, EDIINT AS2, or EDIINT AS3 types in your profiles, make sure the EDIINT ID Match option is selected (this is the default). If you turn off this option, you may get unpredictable results when trying to match external IDs. For details, see Using the EDIINT ID Match Option on page 30. Using the EDIINT ID Match Option If you do not want to use the external ID types EDIINT AS1, EDIINT AS2, or EDIINT AS3 in your profiles, turn off the EDIINT ID Match option. Otherwise, leave this option turned on. If you fail to set this option appropriately, you may get unpredictable results when trying to match external IDs. For example, if you define a profile with three external ID types that have identical values as follows: External ID type EDIINT AS2 EDIINT AS3 User Defined Value 987654321 987654321 987654321
the EDIINT ID Match option controls the external ID matching as follows: When EDIINT ID Match is ... On Off The matching external ID ... Is EDIINT AS2. Could be either any of the three IDs; you cannot predict which one will match.
30
To set the EDIINT ID Match option 1 2 Open the Server Administrator if it is not already open. In the Solutions menu of the navigation panel, click EDIINT. The Server Administrator opens a new browser window to display the EDIINT Module home page. 3 4 In the navigation panel of the EDIINT Module home page, click Configuration. Selecting or clearing the EDIINT ID Match check box causes the following behavior: If EDIINT ID Match option is ... On (default) Off Then the EDI Module tries to match ... Both the external ID value and the external ID type. Only the external ID value.
Note: EDIINT AS3 is an available delivery method as well. For details, see Configuring Your System To Support EDIINT AS3 on page 37.
31
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Description If you are using EDIINT AS1, use this field to specify the e-mail address that is to accept inbound AS1 EDIINT MDNs. For example, receiver@company.com. An inbound AS1 MDN is by definition asynchronous because it is not returned using the same connection as that of the originally sent document.
AS2MDNURL
If you are using EDIINT AS2, specify the URL that is to accept inbound AS2 EDIINT MDNs. To accept MDNs via HTTP, specify a URL that includes the /invoke/ element to invoke the wm.EDIINT:receive service. For example (where host:port would be an actual host and port number):
http://host:port/invoke/wm.EDIINT/receive
To accept AS2 MDNs via SMTP, specify a URI similar to the following:
mailto:receiver @company.com
An inbound AS2 MDN could be synchronous (HTTP only) or asynchronous (SMTP or HTTP). A synchronous MDN is returned using the same HTTP connection as that of the originally sent document. FTPUserName If you are using EDIINT AS3 and you are the hosting partner (that is, your partner will access your FTP server), specify your partners user name so that EDIINT can place AS3 messages and MDNs in the userFtpRoot\username\AS3\inbox directory. Your partner will download the messages and MDNs from this directory. For more information about the inbox directory, see Creating Directories For Uploading/Downloading on page 37. Specify the encryption option to use for outbound EDIINT messages. The default value is Triple DES. The choices include TripleDES, DES, RC2 40 (40 bits), RC2 64 (64 bits), and RC2 128 (128 bits).
Encryption Algorithm
32
Description The S/MIME type to use for payloads sent and received by the trading partner. You can specify one of the following values:
plain, which means payloads are neither signed nor
encrypted.
signed, which means payloads are signed. encrypted, which means payloads are encrypted. signedAndEncrpted, which means payloads are signed and
encrypted. This is the default. For more information about how the S/MIME Type extended profile field is used during inbound processing, see How the S/MIME Type Profile Field Affects Processing Payloads on page 59 in Chapter 4, Processing Inbound EDIINT Documents and MDNs. For more information about how the S/MIME Type extended profile field is used during outbound processing, see Setting the S/MIME Type of the Outbound EDIINT Document on page 64 in Chapter 5, Using EDIINT to Deliver Outbound Documents.
33
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Description If you want the EDIINT Module to be able to digitally sign outbound EDIINT documents, specify the certificates for your corporation along with your private key on the Sign/Verify tab of the profile. You can set up a default signing certificate information in the Enterprise profile. If you need to use a specific certificate to sign outbound documents for a particular partner, specify the certificate information on the Sign/Verify tab of that partners profile. If you expect to receive from a partner, an EDIINT document with a digital signature, and you want the EDIINT Module to be able to verify the digital signature, specify verify certificates on the Sign/Verify tab in the partners profile. You specify the certificates for your partners corporation.
Decrypt/Encrypt
If you expect to receive encrypted EDIINT documents from partners, specify the certificates for your corporation along with your private key that you need to use to decrypt the documents on the Decrypt/Encrypt tab of the profile. You can set up default decrypting certificate information in the Enterprise profile. If you need to use a specific certificate to decrypt inbound documents from a particular partner, specify the certificate information on the Decrypt/Encrypt tab of that partners profile. If you want the EDIINT Module to be able to encrypt outbound EDIINT documents for a partner, specify encrypt certificates on the Decrypt/Encrypt tab in the partners profile. You specify the certificates for your partners corporation.
34
Specify... Either WmEDIINT or WmRoot. Specify EDIINT if you want the port disabled when the WmEDIINT package is disabled. Specify WmRoot if you want the port available whenever the server is running.
Server Information
all fields
Information about the e-mail host that you established in the previous step.
35
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
For this field... Require authorization within message Run services as user
Specify...
No
Message Processing
Global Service Default service Invoke service for each part of multipart message Include email headers when passing message to content handler
leave blank
No
Yes
Note: The EDIINT Module does not use the fields in the Message Processing section of the screen that are not listed in the table above. Leave the fields set to their default values. 3 4 Enable the port. Edit the ports Access Mode and click Set Access Mode to Allow by Default.
36
Note: You can also make this change by directly editing the wm.EDIINT.SMTPHost property in the properties.cnf file in the following location:
webMethods6\IntegrationServer\packages\WmEDIINT\config
After you make changes to the properties.cnf file, you must restart the server.
37
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Each TPA must specify a unique combination of the following: A partner that represents the originator of a send or retrieve operation The partner of the originator The Agreement ID (the type of the TPA). Use the predefined Agreement ID named EDIINTAS3 to support AS3 message exchange. You might have multiple TPAs for a pair of trading partners. For example, if PartnerA is the originator of a send or retrieve operation, you would define the following TPA: TPA field Sender Receiver Agreement ID (type of TPA) Value PartnerA PartnerB EDIINTAS3
Conversely, if PartnerB is the originator of a send or retrieve operation, you would define the following TPA: TPA field Sender Receiver Agreement ID (type of TPA) Value PartnerB PartnerA EDIINTAS3
You define TPAs on the Agreement Details screen of the Trading Networks Console, as described below. To define a TPA 1 2 3 Start the Trading Networks Console. If you need procedures for this step, see the webMethods Trading Networks Users Guide. Select View Agreements. Trading Networks displays the Agreements screen.
Perform one of the following procedures to create a new TPA. Method to create a TPA NewThe TPA fields are empty. Procedure Select Agreements New. Trading Networks displays the Agreement Details screen to allow you to fill in the information for the TPA.
38
Method to create a TPA DuplicateThe TPA fields are filled with values from the TPA agreements that you duplicate. You can update any or all fields from the duplicated TPA agreement. You can use this function to create a template TPA. 4
Procedure a b Click the row containing the name of the TPA agreement that you want to duplicate. Select Agreements Duplicate. Trading Networks displays the Agreement Details screen.
Fill in the following fields on the Agreement Details screen for the TPA you want to create:
Note: The Sender, Receiver, and Agreement ID fields must be unique for each TPA. The values of these three fields together uniquely identify a TPA. After you create a TPA, you cannot change or update these fields of the TPA. For this TPA field... Sender Specify Name of the trading partner that has the originator role in the transaction that the TPA will govern. Type in the name of the partner or click the Select... button to select the partner from the Partner Selection Dialog. This list includes your own profile (Enterprise). For EDI, to create a template that you will duplicate to create other TPAs, you can use the default value of Unknown. Receiver Name of the trading partner that receives the send or retrieve operations from Sender. Type in the name of the partner or click the Select... button to select the partner from the Partner Selection Dialog. This list includes your own profile (Enterprise). For EDI, to create a template that you will duplicate to create other TPAs, you can use the default value of Unknown. Agreement ID Specify the Agreement ID EDIINTAS3, which indicates that the type of agreement between the two partners is an AS3 agreement using EDIINT. Note: You will not be able to continue creating a TPA unless you specify the Agreement ID.
39
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Specify Specify the IS document type wm.EDIINT.TPA:EDIINTAS3. This IS document type defines the application-specific TPA data. The TPA data is used to govern the exchange of documents between the two partners. Alternatively, click Find IS Document Type to browse the IS document types and select it. Trading Networks displays the data tree input values of the selected IS document type in the bottom panel of the Agreement Details screen. The right side of this panel displays the input values (TPA data inputs) to variables of the IS document type.
Accept the default value zero (0) or leave blank; EDIINT does not use this field. Whether you want to be able to modify the values of the TPA data of the IS document type. The data status is only applicable when the agreement status is Agreed. Leave blank; EDIINT does not use this field. Specify the service wm.EDIINT.TPA:initService. This service populates the inputs to the variables in the IS document type wm.EDIINT.TPA:EDIINTAS3 with default values. Type in the name of the initialization service located on the server or click Find Service the one you want to use. to browse the services and select
Description
Optionally, specify a description for the TPA in the Description field. Specify 1-1024 characters. There is no restriction to the characters that you can use.
For more information about creating TPAs, see Chapter 10, "Trading Partner Agreements (TPAs)" of the webMethods Trading Networks Users Guide. 5 Click the Set Inputs icon and provide values for the following upload input parameters for the document type wm.EDIINT.TPA:EDIINTAS3: Description Indicates whether to upload/download AS3 messages to a remote or local FTP server. remote Upload/download AS3 messages to/from the remote FTP server in the FTPUpload and FTPDownload fields.
40
Upload Parameter
Description local Upload/download AS3 messages to/from the local FTP server. No other TPA fields will be used.
Always select the wm.EDIINT.delivery.defaultFTPUpload service, which uploads AS3 files. Name or IP address of the FTP server. Port number on which the FTP server listens for requests. Default: 21. Optional. Listener port number of the data transfer channel, for example, 3345. FTP user on the remote FTP server. Password for the user specified in username. Optional. The user name for an account on the FTP server. Specify a value if your FTP host requires account information. The account is defined in the FTP protocol to further identify the user and password specified in username and password. Specifies the type of the FTP data transfer mode: active Default. Active FTP data transfer mode. passive Passive FTP data transfer mode.
transfertype
encoding
Optional. Default character set for encoding data transferred during this session. Specify an IANA-registered character set, for example, ISO-8859-1. If you do not set encoding, the default JVM encoding is used. Optional. Time (measured in seconds) to wait for a response from the FTP server before timing out and terminating the request. The default is to wait forever. Type of the remote FTP server to connect to. Specifies whether to protect the FTP data channel. true Protect the FTP data channel. false Do not protect the FTP data channel.
timeout
secureFTP securedata
auth
41
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Description Optional. The directory path to which AS3 messages are uploaded. If you do not specify a directory path, the current directory will be used. Optional. The file extension to be assigned to the uploaded AS3 message file, for example, msg. AS3 message file names are generated using the following naming convention:
MMddhhmmSSss
fileExtension
where MM is month, dd is day, hh is hour, mm is minutes, and SSss is seconds. For example, a generated file name with the extension msg might be 122012002222.msg. renameTo Optional. After uploading the AS3 message file, move it to a specified directory, and optionally rename their file extension. For example, if your FTP put command places the AS3 file in the tmp directory, and you want to move it to the outbox directory after uploading it, specify this command in the renameTo field:
/outbox/*
The wildcard character * is a placeholder for the file name. If you specified a file extension in the fileExtension field (for example, msg), you would specify this command in the renameTo field:
/outbox/*.msg
Optionally, you can rename the file extension in this field as well. MDNDirpath MDNFileExtension Optional. The directory to which MDNs are uploaded. Optional. The file extension to be assigned to the uploaded MDN file, for example, mdn. MDN file names are generated using the following naming convention:
MMddhhmmSSss
where MM is month, dd is day, hh is hour, mm is minutes, and SSss is seconds. For example, a generated file name with the extension mdn might be 122012002222.mdn.
42
Description Optional. After uploading the MDN files, move it to a specified directory, and optionally rename its file extension. For example, if your FTP put command places the MDN file in the tmp directory, and you want to move it to the outbox directory after uploading it, specify this command in the renameTo field:
/outbox/*
The wildcard character * is a placeholder for the file name. If you specified a file extension in the fileExtension field (for example, mdn), you would specify this command in the renameTo field:
/outbox/*.mdn
Optionally, you can rename the file extension in this field as well. storeUnique transfermode Optional. EDIINT assigns a unique file name after the file is uploaded. Specifies the type of the FTP file transfer mode: binary (required for AS3) ascii
Scroll down and provide values for the following download input parameters for wm.EDIINT.TPA:EDIINTAS3: Description Always select the wm.EDIINT.delivery.defaultFTPDownload service, which downloads AS3 files. Name or IP address of the FTP server. Port number of the FTP server. Default: 21. Optional. Listener port number of the data transfer channel, for example, 3345. FTP user on the remote FTP server. Password for the user specified in username.
43
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Description Optional. The user name for an account on the FTP server. Specify a value if your FTP host requires account information. The account is defined in the FTP protocol to further identify the user and password specified in username and password. Specifies the type of the FTP data transfer mode: active Default. Active FTP data transfer mode. passive Passive FTP data transfer mode.
transfertype
encoding
Optional. Default character set for encoding data transferred during this session. Specify an IANA-registered character set, for example, ISO-8859-1. If you do not set encoding, the default JVM encoding is used. Optional. Time (measured in seconds) to wait for a response from the FTP server before timing out and terminating the request. The default is to wait forever. Type of the remote FTP server to connect to. Specifies whether to protect the FTP data channel. true Protect the FTP data channel. false Do not protect the FTP data channel.
timeout
secureFTP securedata
auth
dirpath
Optional. The directory path to which AS3 messages are downloaded. If you do not specify a directory path, the current directory will be used. Optional. AS3 message file pattern, for example, *.msg. Optional. The directory to which MDNs are downloaded. You can specify either the path relative to dirpath or the absolute path. Optional. MDN message file pattern, for example, *.mdn. Indicates whether the file is to be deleted after downloading it.
filenamepattern MDNDirpath
MDNFilenamepattern deleteFile
44
Description Specifies the type of the FTP file transfer mode: binary (required for AS3) ascii
45
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Specify either true (to enable) or false (to disable) the submitting of payloads to Trading Networks. After you make changes to the properties.cnf file, you must restart the server. 5 In the User Process Payload Service field, specify a service that you created to process payloads and submit them to Trading Networks. You only need to specify a service if: You selected the Submit payload to TN check box. -AND-
46
The content types of the inbound payloads are not one of the following: 1) application/edi-X12, 2) application/EDIFACT, or 3) application/XML. The service you specify in the User Process Payload Service field must accept the following input variables: Input Variable stream contentType EDIINTbizdoc Description InputStream The payload. String The content type of the payload. Document The bizdoc that contains the original EDIINT message. For the structure of EDIINTbizdoc, see the wm.tn.rec:BizDocEnvelope service in the webMethods Trading Networks Built-in Services Reference.
The EDIINT Module ignores your settings in the following situations: Conditions You select the Submit payload to TN check box. You specify a service in the User Process Payload Service field. -ANDThe inbound payload has a content type that is one of: 1) application/edi-X12, 2) application/EDIFACT, or 3) application/XML. You select the Submit payload to TN check box. You do not specify a service in the User Process Payload Service field. -ANDThe content type of the inbound payload is not one of: 1) application/edi-X12, 2) application/EDIFACT, or 3) application/XML. Behavior of the EDI Module The EDI Module ignores the service you specify in the User Process Payload Service field. When you select the Submit payload to TN check box, the EDIINT Module always uses the EDI Module to process payloads that have one of the following content types: 1) application/edi-X12, 2) application/EDIFACT, or 3) application/XML.
The EDIINT Module ignores the check in the Submit payload to TN check box. The EDIINT Module cannot submit a payload with an unsupported content type to Trading Networks. You must provide a service that submits payloads with unsupported content types.
47
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Conditions You clear the Submit payload to TN check box. -ANDYou specify a service in the User Process Payload Service field.
Behavior of the EDI Module The EDIINT Module ignores the service you specify in the User Process Payload Service field. The EDIINT Module only invokes a service you specify to submit payloads to Trading Networks when you select the Submit payload to TN check box.
Note: For information about how to set up the EDI Module and Trading Networks to process EDI documents, see the webMethods EDI Module Users Guide.
TN Document Types
The following table describes the TN document types provided for EDIINT processing and the document attributes associated with each. For more information about the document attributes, see Document Attributes below. TN document type name EDIINT Document attributes associated with the TN document type EDIINT Message Type EDIINT Message ID EDIINT Message Digest EDIINT Delivery URL
Description Trading Networks matches all EDIINT documents to this TN document type.
48
Description Trading Networks matches all EDIINT MDNs to this TN document type.
Document attributes associated with the TN document type EDIINT Message Type EDIINT Message ID EDIINT Delivery URL EDIINT MDN Original Message ID EDIINT MDN Received MIC EDIINT MDN Disposition
Document Attributes
The following table describes the document attributes provided for EDIINT processing. The TN document types described in TN Document Types above extract these attributes from the EDIINT documents and MDNs. Attribute name EDIINT Message Type Description The protocol that the EDIINT document uses: AS1, AS2, or AS3. The value of the EDIINT Message-ID header, which is also used for the value of the Trading Networks Document ID system attribute. The message digest calculated for the EDIINT document. The destination URL or IP address from the EDIINT document. The value of the EDIINT Message-ID header from the original EDIINT document for which the MDN is a receipt. The message digest calculated for the EDIINT MDN. The results from processing the original EDIINT document for which the MDN is a receipt. Extracted from EDIINT documents EDIINT MDNs EDIINT documents EDIINT MDNs EDIINT documents EDIINT documents EDIINT MDNs EDIINT MDNs
EDIINT Message ID
49
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Extended Fields
When you install the EDIINT Module, the EDIINT field group is added to the Trading Networks profiles. The EDIINT field group contains then following extended profile fields that are used for EDIINT processing. For more information about these extended profile fields, see Including EDIINT Information in Profiles on page 28. Extended profile field name AS1MDNURL AS2MDNURL Encryption Algorithm S/MIME Type Description The e-mail address that is to accept inbound AS1 MDNs. The URL that is to accept inbound AS2 MDNs. The level of encryption to apply to outbound EDIINT messages being sent to the partner. The S/MIME type to use for payloads sent and received by the trading partner.
Processing Rules
The EDIINT Module provides processing rules for EDIINT transport-level processing. If you want to do business-level processing on the payload of the EDIINT document, you need to: Configure EDIINT Module to submit the payload to Trading Networks. For instructions, see Configuring Whether Trading Networks Is To Process Payloads on page 46. Create your own processing rules to process the payloads. For information about creating processing rules, see the webMethods Trading Networks Users Guide. The following table describes the processing rules provided for EDIINT transport-level processing: Processing rule name EDIINT Process Message Description Trading Networks invokes this processing rule for inbound EDIINT documents. The EDIINT Process Message processing rule invokes wm.EDIINT.rules:processMsg service to process the inbound EDIINT document. For more information about the wm.EDIINT.rules:processMsg service, see Services Invoked by Processing Rules on page 51. Trading Networks invokes this processing rule for inbound EDIINT MDNs. The EDIINT Process MDN Message processing rule invokes wm.EDIINT.rules:processMDN service to process an inbound MDN message. For more information about the wm.EDIINT.rules:processMDN service, see Services Invoked by Processing Rules on page 51.
50
Description Trading Networks invokes this processing rule for outbound EDIINT documents. The EDIINT Send Message processing rule invokes the wm.EDIINT.rules:sendMsg service to initiate the sending of an outbound EDIINT document. For more information about the wm.EDIINT.rules:processMDN service, see Services Invoked by Processing Rules on page 51. Trading Networks invokes this processing rule for outbound EDIINT MDNs. The EDIINT Send MDN Message processing rule invokes wm.EDIINT.rules:sendMDN service to initiate the sending of an outbound EDIINT MDN message. For more information about the wm.EDIINT.rules:processMDN service, see Services Invoked by Processing Rules on page 51.
Important! You should not modify or customize these processing rules in any way. Services Invoked by Processing Rules The following table describes the services that are invoked by the processing rules described in Processing Rules above. All services are located in the wm.EDIINT.rules folder except for deliveryDocument, which is located in the wm.EDIINT.delivery folder. Invoked by this processing rule EDIINT Process Message EDIINT Process Message
Description Processes an inbound EDIINT document. Processes the payload of an EDIINT document. If you configure the EDIINT Module to process payloads, the wm.EDIINT.rules:processMsg service invokes this service to submit the payload to Trading Networks. For more information about configuring EDIINT Module to process payloads, see Configuring Whether Trading Networks Is To Process Payloads on page 46.
51
C H A P T E R 2 B e f o r e Yo u C a n T r a n s p o r t D o c u m e n t s U s i n g E D I I N T
Description Processes an inbound EDIINT MDN. Initiates the sending of an outbound EDIINT document. Initiates the sending of an outbound EDIINT MDN document. Sends an outbound EDIINT document or MDN. The wm.EDIINT.rules:sendMDN and the wm.EDIINT.rules:sendMsg services invoke this service.
Invoked by this processing rule EDIINT Process MDN Message EDIINT Send Message EDIINT Send MDN Message EDIINT Send Message -ANDEDIINT Send MDN Message
52
CHAPTER
53
Introduction
The EDIINT standard requires the documents you send using the EDIINT transport be packaged in a specific way. If your client is running on the Integration Server that has the webMethods EDIINT Module installed, the client should invoke the wm.EDIINT:send service to package the document correctly and send it. If you are not using webMethods software for the client, see the documentation for the EDIINT software you are using to determine how to correctly package and send documents. This chapter describes how to create a client using the wm.EDIINT:send service of the EDIINT Module. Note: You can use the wm.EDIINT:send service to send both EDI documents and non-EDI documents.
54
CHAPTER
55
56
57
To deliver the outbound EDIINT MDN, Trading Networks executes the EDIINT Send MDN Message processing rule, which in turn invokes the wm.EDIINT.rules:sendMDN service. The sendMDN service determines whether the sender requested a synchronous or asynchronous MDN. If the sender requested a synchronous MDN, the sendMDN service returns the MDN to the sender using the same HTTP connection. If the sender requested an asynchronous MDN, the sendMDN service invokes the wm.EDIINT.rules:deliveryDocument service to send the MDN as a separate transaction.
58
S/MIME type of the inbound document any value signed signed and encrypted plain encrypted
Action the EDIINT Module takes for the inbound document Processes the payload. Processes the payload. Logs an error message to the Trading Networks activity log and does not process the payload. Processes the payload. Logs an error message to the Trading Networks activity log and does not process the payload. Processes the payload. Logs an error message to the Trading Networks activity log and does not process the payload.
encrypted
signedAndEncrypted
59
60
61
62
CHAPTER
63
64
Important! Do not invoke the wm.EDIINT:send service directly from the Trading Networks Execute a Service processing action. Doing so will produce processing errors. The service that you create to invoke the wm.EDIINT:send service can be invoked directly from the Execute a Service processing action.
65
66
CHAPTER
67
CHAPTER 6 Viewing and Managing Information about EDIINT Documents and MDNs
ProcessMsg ERROR
68
Description The EDIINT MDN has been received and processing is starting. The MDN was processed. One of the following: The MDN contained an invalid sender ID or receiver ID. The signature of the MDN could not be verified. The MDN contained errors. The MDN digest did not match that of the original EDIINT document.
An identical MDN was previously received. Processing to send the EDIINT document has started. One of the following: The message was sent and an MDN was not requested. The message was sent and an MDN was returned.
The message was sent and an MDN was requested, but not yet received. One of the following: The message could not be sent. The returned MDN contained errors.
Processing to send the EDIINT MDN has started. The MDN was sent successfully. The MDN could not be sent.
69
CHAPTER 6 Viewing and Managing Information about EDIINT Documents and MDNs
To view related documents 1 On the Trading Networks Consoles Transaction Analysis screen, display the Detail view. If you are currently displaying the Summary view, select View Detail/Summary to switch to the Detail view. Click to display the query panels if they are not already displayed.
2 3
Specify search criteria to find the inbound document you want to view and click the Run Query button on the toolbar. For more information about creating queries on this screen, see Chapter 18, "Managing and Tracking Documents", in the webMethods Trading Networks Users Guide.
4 5
Click the row containing the inbound document for which you want to view related documents. Select View Related Documents.
70
2 3 4 5 6
Use the Select... button to select the partner with which you want to associate the document query. Select the partner from the Partner Selection Dialog. Select the sender from the Partner Selection Dialog. Select View Transaction Analysis.
Display the Detail view. If you are currently displaying the Summary view, select Transactions View Detail/Summary to switch to the Detail view. If the query panels are not displayed, select Transactions the query panels. Show/Hide Query to display
Specify search criteria to find the outbound document and click the Run Query button on the toolbar. For more information about creating queries on this screen, see Chapter 18, "Managing and Tracking Documents", in the webMethods Trading Networks Users Guide. Note: To find documents that were processed but encountered errors in the recognition process, specify the processing status DONE W/ ERRORS for the processing status in the basic criteria.
8 9
Click the row containing the outbound document that you want to resubmit. Select Resubmit.
71
CHAPTER 6 Viewing and Managing Information about EDIINT Documents and MDNs
72
CHAPTER
73
wm.EDIINT
Use the services in this folder for sending and receiving EDIINT (AS1, AS2, or AS3) messages and MDNs.
wm.EDIINT:receive
Receives inbound EDIINT (AS1/AS2/AS3) messages or MDNs and submits the message to Trading Networks to be unwrapped, decrypted, and signature authenticated. The EDIINT content handler populates the inputs described below. Input Parameters protocol String The EDIINT protocol to use. Value of protocol
smtp http
Meaning AS1 message or MDN. AS2 message or MDN. AS3 message or MDN.
ftp message-ID contentType stream AS2-From AS2-To AS3-From AS3-To From To ReceiptDeliveryOption
String The EDIINT message ID of the EDIINT message or MDN. This value becomes the Trading Networks system attribute, Document ID. String The content type of the EDIINT message or MDN. Object The data InputStream representing the inbound EDIINT message or MDN. String The sender ID from the EDIINT AS2 message/MDN. This should match the senders Trading Networks external ID. String The receiver ID from the EDIINT AS2 message/MDN. This should match the receivers Trading Networks external ID. String The sender ID from the EDIINT AS3 message/MDN. This should match the senders Trading Networks external ID. String The receiver ID from the EDIINT AS3 message/MDN. This should match the receivers Trading Networks external ID. String The sender ID from the EDIINT AS1 message/MDN. This should match the senders Trading Networks external ID. String The receiver ID from the EDIINT AS1 message/MDN. This should match the receivers Trading Networks external ID. String The address to which to send an asynchronous MDN, if requested.
74
wm.EDIINT
Output Parameters None Usage Notes For information about how to use this service, see Chapter 4, Processing Inbound EDIINT Documents and MDNs.
75
wm.EDIINT:retrieveAS3M essage
Downloads AS3 messages or MDNs from a partners remote FTP server and submits the message to Trading Networks to be unwrapped, decrypted, and to have its signature authenticated. The service locates the partners remote FTP server using the values defined in IS document type wm.EDIINT.TPA:EDIINTAS3TPA. If the IS document type specifies that the retrieved file(s) are to be deleted, the service deletes the file(s). Input Parameters sender Document Optional. Identification of the partner from whom to retrieve the message. Note: When sender is not specified, the service will access the remote FTP servers of all partners with whom you have a Trading Partner Agreement. Variable in sender id idTypeDesc receiver Variable in sender id idTypeDesc Output Parameters None
Meaning String The partners external ID. String Optional. The partners external ID type. Default: AS3.
Document Identification of the partner who retrieves the message. Meaning String The partners external ID. String Optional. The partners external ID type. Default: AS3.
76
wm.EDIINT
wm.EDIINT:send
Constructs an outbound EDIINT message according to the configuration of the input variables, and then submits the message to Trading Networks. Input Parameters type String The S/MIME type that you want to use for the outbound EDIINT message. Specify one of the following: Value of type
plain
Description You want the wm.EDIINT:send service to neither sign nor encrypt the outbound EDIINT message. You want the wm.EDIINT:send service to sign the outbound EDIINT message. You want the wm.EDIINT:send service to encrypt the outbound EDIINT message. You want the wm.EDIINT:send service to sign and encrypt the outbound EDIINT message. You want the wm.EDIINT:send service to determine whether to sign and/or encrypt the outbound EDIINT message using the value of the S/MIME Type extended field from the receivers profile.
signed
encrypted
signedAndEncrypted
getFromProfile
compressed
String (optional) Whether you want the EDIINT message that you are sending to be compressed before it is signed and/or encrypted. Specify either true or false. Value of compressed
true
Meaning Compress outbound message before signing and encrypting. Do not compress outbound message before signing and encrypting. This is the default.
false
77
deliveryMethod
String The delivery method you want to use to send the EDIINT document. The wm.EDIINT:send service obtains the Trading Networks profile for the receiver (specified by the receiverID input variable) and delivers the EDIINT document to the receivers system using the information specified for the delivery method you specify. Specify a delivery method that is defined in the receivers Trading Networks profile. For EDIINT AS1, specify one of the following:
PrimarySMTP (corresponds to the Trading Networks Primary E-mail delivery method) SecondarySMTP (corresponds to the Trading Networks Secondary E-mail delivery method)
data
Document The payload that you want to send. Variable in data contentType stream Description The content type to assign to the outbound message. The java.io.InputStream that you map from the EDI or XML data.
requestMDN
String Whether you want the receiver to return an MDN. Specify one of the following: Value of requestMDN
none synchronousMDN asynchronousMDN
Meaning Do not request a return MDN. Request a return synchronous MDN. Request a return asynchronous MDN.
Note: If you specify PrimarySMTP, SecondarySMTP, PrimaryFTPS, or SecondaryFTPS for deliveryMethod, you can only receive an asynchronous MDN.
78
wm.EDIINT
requestSignedReceipt
String Whether you want the MDN to be signed. Note: requestSignedReceipt is ignored when requestMDN is false. Value of requestSignedReceipt
true false
Meaning Request a signed MDN. Request a plain (not signed) MDN. Description The senders external ID. That is, the identification that you want for the sender in the message. Optional. The external ID type for the sender ID you specified in id. This is an external ID type as defined in Trading Networks. Note: By default, the service uses the appropriate external ID type based on the value you specify for the deliveryMethod parameter. For example, if you specify AS3 for the deliveryMethod parameter, the service uses the EDIINT AS3 external ID type. Specify a value for idTypeDesc only if you want to override this default.
senderID
Document Identification of the sender of the EDIINT message. Variable in senderID id idTypeDesc
79
receiverID
Document Identification of the receiver of the EDIINT message. Variable in senderID id idTypeDesc Description The receivers external ID. That is, the identification that you want for the receiver in the message. Optional. The external ID type for the receiver ID you specified in id. This is an external ID type as defined in Trading Networks. Note: By default, the service uses the appropriate external ID type based on the value you specify for the deliveryMethod parameter. For example, if you specify AS3 for the deliveryMethod parameter, the service uses the EDIINT AS3 external ID type. Specify a value for idTypeDesc only if you want to override this default.
ConversationID
String (optional) Conversation ID for the outbound EDIINT message. You might want to use the same conversation ID as that of the payload that you are sending. The EDIINT Module automatically assigns to a return MDN the same conversation ID that is assigned here.
Output Parameters None Usage Notes For information about how to use this service, see Chapter 3, Creating a Client to Submit a Document Using EDIINT and Chapter 5, Using EDIINT to Deliver Outbound Documents.
80
wm.EDIINT.sample
wm.EDIINT.sample
You can run the following sample send service within the webMethods Developer to exchange sample EDIINT messages. See the sample on the EDIINT Module home page for information about how to set up the sample.
wm.EDIINT.sample:send
Reads the input file as an InputStream and invokes the wm.EDIINT:send service. Input Parameters dataFileName dataContentType type String Name and location of the file to send. String The content type of the file to send, for example application/edi-x12. String The S/MIME type that you want to use for the outbound EDIINT message. Specify one of the following: Value of type
plain
Description You want the wm.EDIINT.sample:send service to neither sign nor encrypt the outbound EDIINT message. You want the wm.EDIINT.sample:send service to sign the outbound EDIINT message. You want the wm.EDIINT.sample:send service to encrypt the outbound EDIINT message. You want the wm.EDIINT.sample:send service to sign and encrypt the outbound EDIINT message. You want the wm.EDIINT.sample:send service to determine whether to sign and/or encrypt the outbound EDIINT message using the value of the S/MIME Type extended field from the receivers profile.
signed
encrypted
signedAndEncrypted
getFromProfile
81
deliveryMethod
String The delivery method you want to use to send the EDIINT document. The wm.EDIINT:send service obtains the Trading Networks profile for the receiver (specified by the receiverID input variable) and delivers the EDIINT document to the receivers system using the information specified for the delivery method you specify. Specify a delivery method that is defined in the receivers Trading Networks profile. For EDIINT AS1, specify one of the following:
PrimarySMTP (corresponds to the Trading Networks Primary E-mail delivery method) SecondarySMTP (corresponds to the Trading Networks Secondary E-mail delivery method)
requestMDN
String Whether you want the receiver to return an MDN. Specify one of the following: Value of requestMDN
none synchronousMDN asynchronousMDN
Meaning Do not request a return MDN. Request a return synchronous MDN. Request a return asynchronous MDN.
Note: If you specify PrimarySMTP, SecondarySMTP, PrimaryFTPS, or SecondaryFTPS for deliveryMethod, you can only receive an asynchronous MDN. requestSignedReceipt String Whether you want the MDN to be signed. Note: requestSignedReceipt is ignored when requestMDN is false. Value of requestSignedReceipt
true false
82
wm.EDIINT.sample
senderID
Document Identification of the sender of the EDIINT message. Variable in senderID id idTypeDesc Description The senders external ID. That is, the identification that you want for the sender in the message. Optional. The external ID type for the sender ID you specified in id. This is an external ID type as defined in Trading Networks. Note: By default, the service uses the appropriate external ID type based on the value you specify for the deliveryMethod parameter. For example, if you specify AS3 for the deliveryMethod parameter, the service uses the EDIINT AS3 external ID type. Specify a value for idTypeDesc only if you want to override this default.
receiverID
Document Identification of the receiver of the EDIINT message. Variable in senderID id idTypeDesc Description The receivers external ID. That is, the identification that you want for the receiver in the message. Optional. The external ID type for the receiver ID you specified in id. This is an external ID type as defined in Trading Networks. Note: By default, the service uses the appropriate external ID type based on the value you specify for the deliveryMethod parameter. For example, if you specify AS3 for the deliveryMethod parameter, the service uses the EDIINT AS3 external ID type. Specify a value for idTypeDesc only if you want to override this default.
ConversationID
String (optional) Conversation ID for the outbound EDIINT message. You might want to use the same conversation ID as that of the payload that you are sending. The EDIINT Module automatically assigns to a return MDN the same conversation ID that is assigned here.
83
84
APPENDIX
Glossary
activity log A log that webMethods Trading Networks (Trading Networks) maintains in its database to record activity that occurs within the Trading Networks system. AS1 See EDIINT AS1. AS2 See EDIINT AS2. AS3 See EDIINT AS3. bizdoc The name of the variable in the pipeline that contains the BizDocEnvelope. BizDocEnvelope A BizDocEnvelope represents a routable Trading Networks transaction. It contains a document that Trading Networks is processing and includes additional information that Trading Networks requires for routing and processing the document. It is in the pipeline in the bizdoc variable and conforms to the IS document type wm.tn.rec:BizDocEnvelope. business process A multi-step interaction among participating systems, people, and trading partners. A business process can be fully automated (involve only interaction among computer systems) or include varying degrees of human interaction (for example, review and approval steps). It may be brief or long running. Some business processes transpire over days or weeks. conversation A specific case of a business process that involves a series of related documents being exchanged by two or more trading partners. All documents from a specific trading partner contain the same conversation ID. You model a conversation by creating a process model using webMethods Modeler.
85
APPENDIX A Glossary
conversation ID A webMethods Trading Networks system document attribute that identifies a value within a document that is common to all documents that are part of the same business process (also called a conversation). document type See IS Document Type or TN document type. EDIINT A standard defined by the Internet Engineering Task Force (IETF) that defines a protocol for using the Internet to securely exchange business documents (EDI, XML, or other). EDIINT stands for Electronic Data Interchange-Internet Integration or EDI over the Internet. EDIINT has two version: EDIINT AS1 and EDIINT AS2. EDIINT AS1 EDIINT Applicability Statement 1, which is a version of the EDIINT standard that uses SMTP (e-mail) to transport documents. EDIINT AS2 EDIINT Applicability Statement 2, which is a version of the EDIINT standard that uses HTTP (or HTTP/S) to transport documents. EDIINT AS3 EDIINT Applicability Statement 3, which is a version of the EDIINT standard that uses FTP over SSL (also known as FTPS) to transport documents. extended fields Fields within a profile that are not provided with Trading Networks out of the box. Users of Trading Networks can define extended profile fields to extend the profile to meet their needs. Additionally, the EDI Module adds extended fields to profiles for use when transporting documents using EDIINT. external ID The value of an external ID type. For example, if an external ID type is a D-U-N-S number, the external ID is the actual D-U-N-S number. external ID type A type of identifier that trading partners use in documents. For example, a user might use a D-U-N-S number. The external ID type corresponds to the EDI ID qualifier in an EDI document. IData object The collection of name/value pairs on which a service operates. An IData object can contain any number of elements of any valid Java objects, including additional IData objects and IDataCodable objects. IS Document Type An element in the Integration Servers namespace that contains a set of fields used to define the structure and type of data in an IS document (IData object).
86
MDNs EDIINT receipts for messages that are received. The receiver sends the receipt back to the sender. MDN stands for message disposition notifications. pipeline The general term used to refer to the data structure in which input and output values are maintained for a flow service at run time. The pipeline starts with the input to the flow service and collects inputs and outputs from subsequent services in the flow. When a service in the flow executes, it has access to all data in the pipeline. processing rule A webMethods Trading Networks object that contains set of actions that determine how Trading Networks is to process a document and criteria that indicates when to select a processing rule for an incoming document.webMethods Modeler. process model Diagrams that illustrate and define the actions to perform for a business process or conversation. You create process models using webMethods Modeler. process run time A facility of the Integration Server that manages the execution of processes (or conversations). You model a process (or conversation) using webMethods Modeler. profile A webMethods Trading Networks object that contains a summary of information about a corporation that is part of a trading network. A profile contains standard fields that webMethods defines and extended fields that are site defined. TN document type A webMethods Trading Networks object that defines how Trading Networks is to recognize a document and specifies initial actions to take on a recognized document.
87
APPENDIX A Glossary
88
Index
Index
A
activity log, defined 85 Agreement ID, specifying for AS3 39 algorithm, used in EDIINT encryption 11 application/EDIFACT payload processing 46 application/edi-X12 payload processing 46 application/XML payload processing 46 architecture of webMethods EDIINT Module 12 AS1, EDIINT version defined 10 delivery methods for 31 enabling e-mail exchange 35 importance of checking mailbox size 35 profile field, for EDIINT 31 SMTP, configuring 35 specifying inbound e-mail address 32, 50 AS1MDNURL extended profile field for inbound AS1 MDNs 32, 50 AS2, EDIINT version defined 10 delivery methods for 31 profile field, for EDIINT 31 SMTP, configuring 35 specifying inbound address 32, 50 AS2MDNURL extended profile field for inbound AS2 MDNs 32, 50 AS3, EDIINT version defined 10 directories for downloading/uploading 37 overview of 23 Trading Partner Agreements (TPAs), creating 37 asynchronous MDN 11, 16, 22, 58 wm.EDIINT.delivery:deliveryDocument service 22 BizDocEnvelope defined 85 for MDN 22 formed by wm.EDIINT:receive service 16, 18 formed by wm.EDIINT:send service 20 inbound document 20 EDIINT document 16 MDN 18, 22 built-in services EDIINT documents and MDNS 13 wm.EDIINT:receive service 14 business process defined 85 for inbound EDIINT documents 15 on EDIINT payload 17 sample process model to send outbound EDIINT documents 25 business-level processing EDIINT 50 logic on payloads of EDIINT documents 58 payload of EDIINT document 56
C
clients for inbound processing using EDIINT exchange protocol 13 compression, EDIINT messages 11 configuration file, WmEDIINT properties.cnf 37, 46 configuring to receive inbound EDIINT documents via SMTP 35 to send outbound EDIINT documents via SMTP 36 content handlers EDIINT 14 EDIINT documents 13 MDNs 13 content type, EDIINT 14 contentType input variable 47 conventions used in this document 7
B
bizdoc variable defined 85 EDIINT document 16, 20 MDN 18, 22
89
Index
conversation ID in sample process model to send outbound EDIINT documents 25 input parameter of process model 25 MDN 25 outbound EDIINT document 25 conversation, defined 85 copying document attributes 39 Corporate tab fields, profile for EDIINT 29 creating outbound EDIINT message 77
D
Decrypt/Encrypt subtab, for EDIINT profile 34 defining TPA 38 definitions activity log 85 bizdoc variable 85 BizDocEnvelope 85 business process 85 conversation 85 conversation ID 85 EDIINT 10 AS1 10 AS2 10 AS3 10 extended (profile) fields 86 external ID 86 external ID type 86 IData object 86 Integration Server 12 IS document type 86 MDNs (message disposition notifications) 11 message disposistion notifications (MDNs) 11 pipeline 87 process model 87 process run time 87 processing rules 87 profiles 87 TN document types 87 TPA 37 Trading Partner Agreement (TPA) 37 WmEDI package 12 WmEDIforTN package 12
delivering EDIINT documents 64 MDN asynchronously 11, 16 MDN synchronously 11, 20 wm.EDIINT.delivery:delivery Document service 20 Delivery Method tab of profile, for EDIINT 31 deliveryDocument service 52 DES encryption algorithm 32 diagram of EDIINT Module and Integration Server architecture 12 EDIINT Module and the webMethods Architecture 12 inbound EDIINT document processing 15 outbound EDIINT processing 18 processing inbound MDNs 17 sample process model that waits sends an EDIINT document and receives the corresponding MDN 25 sending outbound EDIINT documents 19 sending outbound MDN 21 digital signature outbound EDIINT documents 34 verifying for EDIINT document 34 disabling port when EDIINT packed is disabled 35 Trading Networks payload processing 46 document attributes copying 39 EDIINT MDN Disposition 49 EDIINT MDN Original Message 49 EDIINT MDN Received MIC 49 EDIINT Message Digest 49 EDIINT Message ID 49 EDIINT Message Type 49 EDIINT transport-level processing 49 provided for EDIINT processing 49 document recognition, wm.EDIINT.rules:processMsg service 22 document types See also IS document types and TN document types documentation additional 7 conventions used 7 feedback 7
90
Index
documents EDIINT, See EDIINT documents processing rule for inbound 16, 22 Drummond Group 11
E
EDI documents EDIINT payload 17 payload, business-level processing 58 sending to EDIINT 18 EDI Module MDNs inbound processing 17 outbound processing 20 EDI over the Internet, See EDIINT EDIINT 48 built-in services 13 content types 54 defined 10 delivery method 31 digitally sign outbound documents 34 document attributes 49 documents, See EDIINT documents 32 EDIINT Process MDN Message processing rule 18 Message processing rule 16, 22 EDIINT Send MDN Message processing rule 22 Message processing rule 20 exchange protocol 13 Execute a Service action 16 extended profile fields 32, 50 features supported by EDIINT Module 11 field group 50 FTPS, configuring 28 HTTP, configuring 28 HTTPS, configuring 28 including information in profiles 28 interoperability testing 11 MDN TN document type 18, 20, 22 MDNs, See MDNs messages, See EDIINT messages MIME messages 19 outbound processing 18
packaging a document for transport 18 payload, processing of 14 processing rules for transport-level processing 50 processing rules, See processing rules profile fields 29 receipts, See MDNs S/MIME messages 19 security information 34 sending EDI documents to 18 sending non-EDI documents to 18 services invoked by processing rules 51 services to package and transport documents 18 SMTP, configuring 35 Submit payload to TN check box 46 TN document types 13, 22, 48 transport-level processing 50, 56, 64 User Process Payload Service field 46 wm.EDIINT:receive service 16, 22, 56 EDIINT documents acceptable versions (AS1, AS2, AS3) 10 attributes 49 content type 14 conversation ID 25 created by wm.EDIINT:send service 19 cryptographic permutations 11 defined 10 delivering outbound, prerequisites 64 EDIINT Send Message processing rule 20 encrypting outbound 34 Execute a Service action 20 inbound EDIINT Process Message processing rule 16, 22 flow 16, 18, 22 processing 13 User Status 68 outbound 19, 25 encryption options 32, 50 processing 18 User Status 69 packaging for transport 18 payload 15 posted by HTTP, example of 57 processing inbound documents, prerequisites 56
91
Index
processing rule for inbound 16 processing rule for outbound 20 receiving encrypted 34 S/MIME type 59 sample process model of outbound 25 setting S/MIME type for outbound document 64 setting up to process payloads 58 veritying digital signature 34 viewing on Transacation Analysis screen 68 EDIINT ID Match option 31 EDIINT MDN See also MDNs Disposition document attributes 49 entry point 60 inbound User Status 69 Original Message ID document attributes 49 outbound User Status 69 posted by HTTP, example of 61 processing inbound MDN, prerequisites 60 Received MIC document attributes 49 TN document type 49 viewing on Transacation Analysis screen 68 EDIINT Message Digest document attribute 49 EDIINT Message ID document attribute 49 EDIINT Message Type document attribute 49 EDIINT messages constructing outbound 77 receiving 74, 76 retrieving AS3 messages 76 samples 81 sending samples 81 EDIINT Module architecture of 12 conditions to ignore payload settings 47 content handler installed with 14 EDIINT TN document types 16 overview 10 Trading Networks objects 48 wM.EDIINT:send service 64 EDIINT Process MDN Message processing rule 50 EDIINT Process Message processing rule 50, 57 sender requesting MDN 16 EDIINT recognizer, setting user status 16, 18, 20
EDIINT Send MDN Message processing rule 51, 58 EDIINT Send Message processing rule 51 EDIINT TN document type 16 EDIINT transport, sample process model 25 EDIINTAS3 38 Agreement ID 39 IS document type 40 input parameters 40 output parameters 43 e-mail, EDIINT exchange 35 enabling Trading Networks payload processing 46 encrypted EDIINT documents 34 S/MIME type 33, 59 encrypting outbound EDIINT documents 34 encryption EDIINT documents outbound choices 32 specifying outbound 32 EDIINT messages 11 types for trading partners 11 wm.EDIINT:send service 19 Encryption Algorithm extended profile field 32, 50 entry point for inbound EDIINT MDNs 60 errors and not invoking wm.EDIINT:send service directly from Execute a Service processing action 65 payload 59 ProcessMDNMsg ERROR 69 ProcessMsg ERROR 68 SendMDNMsg ERROR 69 SendMsg ERROR 69 example of EDIINT document posted by HTTP 57 EDIINT MDN posted by HTTP 61 Execute a Service processing action 16, 18, 20, 22 not invoking wm.EDIINT:send service directly from 65 extended profile fields and EDIINT 13 defined 86 EDIINT field group 50 EDIINT, AS1MDNURL 50 EDIINT, AS2MDNURL 50
92
Index
EDIINT, Encryption Algorithm 50 EDIINT, S/MIME Type 50 for EDIINT 32 external ID 86 external ID types defined 86 EDIINT ID Match option 31 EDIINT, specifying how to match 29 specifying 29
F
false setting, wm.EDIINT.submit Payload configuration property 46 FTP user root directory 37 FTPS port, adding for EDIINT 28 FTPUserName extended profile field for outbound AS3 messages and MDNs 32
H
HTTP example of EDIINT document 57 example of EDIINT MDN 61 sending MDN 20 HTTP port, adding for EDIINT 28 HTTPS port, adding for EDIINT 28
wm.EDIINT:receive service 74 wm.EDIINT:retrieveAS3Message service 76 wm.EDIINT:send service 19, 77 Integration Server and EDIINT Module architecture 12 and EDIINT Module, diagram 12 defined 12 Internet Engineering Task Force (IETF) 10 interoperability testing 11 invoking wm.EDIINT.delivery:deliveryDocument service 22 wm.EDIINT.rules deliveryDocument service 20 processMDN service 18 processMsg service 16, 22 processPayload service 17 sendMsg service 20 wm.EDIINT.rules:sendMDN service 22 wm.EDIINT:send service 19, 25, 64 IS document type defined 86 specifying for input parametersAS3 40 specifying output parameters for AS3 43
K
key length 11
I
IData object defined 86 IETF, and EDIINT 10 IMAP protocol 35 inbound EDI documents requesting MDN 20 inbound EDIINT documents 14 inbound EDIINT message, configuring SMTP settings 35 inbound flow, EDIINT messages 16, 18, 22 inbound processing clients to send EDI documents using EDIINT exchange protocol 13 EDIINT documents MDNs 17 input variables contentType 47 stream 47 wm.EDIINT.TPA EDIINTAS3 document type 40
L
logic business-level on EDIINT document 17 to perform transport-level processing for inbound EDIINT documents 14, 19
M
MD5 algorithm usage 11 MDNs and wm.EDIINT.rules:processMsg service 57 asynchronous 11, 16, 22 automatically sending outbound 20 conversation ID assigned 25 creating with wm.EDIINT.rules:processMsg service 22 defined 11 delivering synchronously or asynchronously 58
93
Index
EDIINT MDN TN document type 18, 20 EDIINT, See also EDIINT MDN Execute a Service action 18, 22 HTTP connection of inbound EDIINT document 20 inbound AS1 address 32, 50 AS2 address 32, 50 document 20 EDIINT Process MDN Message processing rule 18, 22 processing 17 wm.EDIINT:receive service 18 outbound 20 processing rule for inbound 18, 22 receipt exchange 10 receipt of EDIINT document 57 receiving inbound via SMTP 35 sample process model for outbound EDIINT documents 25 sender not requesting 16 requesting 16, 20 sending outbound via SMTP 36 separate transaction 20 signed 16 SMTP, configuring 35 synchronous 11, 20, 22 synchronous and asynchronous 32 unsigned 16 wm.EDIINT.delivery:deliveryDocument service 22 wm.EDIINT.rules processMDN service 18 processMsg service 16, 22 sendMDN service 22 message disposition notifications 11 messages EDIINT MIME 19 EDIINT S/MIME 19 MIME messages 19 package 16 modifying profile to include EDIINT information 28
N
new document attribute 38 non-EDI documents EDIINT payload 17 payload, business-level processing 58 sending to EDIINT 18
O
outbound choices for EDIINT message encryption 11 outbound EDIINT message, configuring SMTP settings 36 outbound processing EDIINT 18 EDIINT documents 18 MDNs, sending 20 wm.EDIINT:send service 19
P
package a document for transport using EDIINT 18 packages EDI Module 12 WmEDI 12 WmEDIforTN 12 payload business-level logic 58 business-level process for EDIINT document 50 business-level processing 56 conditions EDIINT Module ignores settings 47 EDI document 58 non-EDI document 58 processing by Trading Networks 46 S/MIME type affecting processing 59 submitting 46 Trading Networks to process 46 payload of EDIINT document business-level logic 17 EDI document 17 in sample process model 25 non-EDI document 17 sending to Trading Networks 15, 17 performing business-level processing on payloads of EDIINT documents 58
94
Index
pipeline, defined 87 plain S/MIME type 33, 59 POP3 protocol 35 port adding for FTPS 28 adding for HTTP 28 adding for HTTPS 28 adding for SMTP 35 for MDNs via HTTP 32 webMethods/Email 35 prerequisites for delivering outbound EDIINT documents 64 processing inbound EDIINT documents 56 processing inbound EDIINT MDNs 60 Primary E-mail delivery method for EDIINT AS1 31 Primary HTTP delivery method for EDIINT AS2 31 Primary HTTPS delivery method for EDIINT AS2 31 process model defined 87 sample outbound EDIINT documents and corresponding MDN 25 process run time, defined 87 processing business level on payload of EDIINT document 50 business-level for inbound EDIINT documents 15 EDIINT transport-level 64 inbound EDIINT documents 15, 56 prerequisites 56 EDIINT MDNs, prerequisites 60 outbound EDIINT documents, prerequisites 64 payloads 46 rules, See processing rules transport-level for inbound EDIINT documents 14 outbound EDIINT documents 19 processing actions, Execute a Service 18 processing rules defined 87 EDIINT and user status 16, 20 Process MDN Message 18 Process Message 16, 22, 50, 57
Send MDN Message 22, 51 Send MDN Message service 58 Send Message 20, 51 services 51 transport-level processing 50 Execute a Service action 16, 18, 20, 22 inbound EDIINT documents 16, 22 MDNs 18, 22 MDNs 16 and user status 18 outbound EDIINT documents 20 payload of non-EDI document 58 sender requesting MDNs 16 user status EDIINT 16 EDIINT documents 20 MDN 18 wm.EDIINT.rules:processMsg service 50 processMDN service 52 ProcessMDNMsg DONE user status 69 ProcessMDNMsg ERROR user status 69 ProcessMDNMsg IGNORED user status 69 ProcessMDNMsg user status 18, 69 ProcessMsg ERROR user status 68 ProcessMsg PAYLOAD user status 68 processMsg service 51 ProcessMsg user status 16, 68 processPayload service 51 profiles defined 87 EDIINT information 28 program code conventions in this document 7 protocol, EDIINT 10
R
RC2 128 (128 bits) encryption algorithm 32 RC2 40 (40 bits) encryption algorithm 32 RC2 64 (64 bits) encryption algorithm 32 receive service 74 receiving EDIINT messages 74, 76 encrypted EDIINT documents 34
95
Index
inbound EDIINT message via SMTP 35 inbound MDN via SMTP 35 retrieveAS3Message service 76
S
S/MIME EDIINT message 19 package 16 setting for outbound EDIINT document 64 version 2 10, 11 S/MIME Type 59 affecting payload processing 59 encrypted 59 extended profile field 33, 50, 58 plain 59 type partners use for payloads sent and received 50 samples EDIINT 81 process model of outbound EDIINT documents and corresponding MDN 25 Secondary E-mail delivery method for EDIINT AS1 31 Secondary HTTP delivery method for EDIINT AS2 31 Secondary HTTPS delivery method for EDIINT AS2 31 Secure/Multipurpose Internet Mail Extensions 11 Security tab profile, for EDIINT 34 send service, usage 74, 76, 77 sender not requesting MDN 16 requesting MDN 16, 20 asynchronous 22 synchronous 22 sending documents to EDIINT 18 EDIINT documents 64 EDIINT MDNs outbound 20 EDIINT message samples 81 MDN 20 outbound EDIINT documents 19 EDIINT message via SMTP 36 MDN via SMTP 36 wm.EDIINT:send service 19 sendMDN service 52
SendMDNMsg ERROR user status 69 SendMDNMsg user status 69 SendMsg DONE user status 69 SendMsg ERROR user status 69 sendMsg service 52 SendMsg user status 20, 22, 69 SendMsg WAITMDN user status 69 services packaging and transporting a document, using EDIINT 18 processing rules for EDIINT documents 51 sendMDN service 52 sendMsg service 52 wm.EDIINT receive service 14, 16, 18, 22 send service 19 wm.EDIINT.delivery:deliveryDocument service 20, 22 wm.EDIINT.rules processMDN service 18 processMsg service 16, 17, 22, 50, 57 processPayload service 17 sendMDN service 22, 58 sendMsg service 20 wm.EDIINT:receive service 60 wm.EDIINT:send service 64 setting up processing payloads from EDIINT documents 58 settings, S/MIME type for outbound EDIINT document 64 SHA-1 hash algorithm 11 Sign sub-tab, for EDIINT profile 34 signed MDN 16 signed S/MIME type 33, 59 signedAndEncrypted S/MIME type 33, 59 SMTP method, configuring settings to enable EDIINT message exchange 35 SMTP port, adding for EDIINT 35 SMTP Server field 36 stream input variable 47 Submit payload to TN check box 46 synchronous MDN 11, 20, 22, 58
T
TN document types defined 87 EDIINT 48
96
Index
EDIINT MDN 49 EDIINT MDN TN 22 EDIINT TN 16, 18, 20 for EDIINT documents 13 MDNs 13 payload of non-EDI document 58 provided for EDIINT processing 48 wm.EDIINT:receive service 16, 18 wm.EDIINT:send service 20 TPA 37 defining 38 EDIINTAS3 38 list of fields 39 new with empty fields 38 Trading Networks adding business-level processing for EDIINT document payloads 14 and EDIINT Module architecture 12 EDIINT Process MDN Message processing rule 18 Process Message processing rule 16, 22 Send MDN Message processing rule 22 Send Message processing rule 20 objects prorvided for EDIINT 48 processing payloads 46 TPAs 37 wm.EDIINT.rules:processMsg service 22 wm.EDIINT:receive service 16, 18, 22 wm.EDIINT:send service 20 TPA See Trading Partner Agreements Trading Partner Agreement (TPA), defined 37 transport-level processing logic for inbound EDIINT documents 14 logic for outbound EDIINT documents 19 processing rules 50 TripleDES encryption algorithm 32 troubleshooting information 7 true setting, wm.EDIINT.submit Payload property 46 typographical conventions in this document 7
U
Uniform Code Council 11 unsigned MDN 16 User Process Payload Service field 46 user status EDIINT 16 EDIINT document 20 inbound EDIINT documents 68 inbound EDIINT MDNs 69 MDN 18, 22 outbound EDIINT documents 69 outbound EDIINT MDNs 69 ProcessMDNMessage 18 ProcessMessage 16 SendMsg 20, 22 User Status system attribute, viewing EDIINT documents and MDNs 68 userFtpRoot directory 37
V
Value (external ID) profile field for EDIINT 29 viewing EDIINT documents and MDNs 68
W
webMethods EDIINT Module, See EDIINT Module webMethods/Email port EDIINT SMTP settings 35 wm.EDIINT.delivery:deliveryDocument service 22 delivering EDIINT document to trading partner 20 wm.EDIINT.rules folder 51 processMsg service 50 outbound MDNs for EDIINT document 57 sendMDN service 58 wm.EDIINT.rules:deliveryDocument service 20 wm.EDIINT.rules:processMDN service 18 wm.EDIINT.rules:processMsg service 16 invoking wm.EDIINT.rules:processPayload service 17 MDNs creating 22 sender requesting 16
97
Index
opening MIME or S/MIME package 16 Trading Networks 22 wm.EDIINT.rules:processPayload service 17 wm.EDIINT.rules:sendMDN service 22 wm.EDIINT.rules:sendMsg service 20 wm.EDIINT:receive service 14, 16, 18, 22, 74 accepting inbound MDN 18 and TN document types 18 input variables 74 passing EDIINT document to Trading Networks 22 processing inbound EDIINT documents 56 processing inbound EDIINT MDNs 60 Trading Networks 18 wm.EDIINT:retrieveAS3Message service 76 input variables 76
wm.EDIINT:send service 20, 74, 76, 77 and TN document types 20 creates EDIINT document 19 delivering outbound documents 64 in sample process model 25 input variables 19, 77 packaging document and sending it using EDIINT 54 sending document to EDI module 19 Trading Networks 20 WmEDI package, defined 12 WmEDIforTN package, defined 12 WmEDIINT port for SMTP 35 WmRoot port for SMTP 35
98