webmethods module for ediint installation and user’s guide · webmethods module for ediint...

115
webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 November 2013

Upload: others

Post on 24-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

webMethods Module for EDIINT Installation and User’s Guide

Version 8.2 SP1

November 2013

Page 2: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

This document applies to webMethods Module for EDIINT Version 8.2 SP1 and to all subsequent releases.

Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.

Copyright © 2000-2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/orits affiliates and/or their licensors.

The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/orSoftware AG USA Inc. and/or its subsidiaries and/or its affiliates and/or their licensors. Other company and product names mentionedherein may be trademarks of their respective owners.

Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located athp://softwareag.com/licenses.

Use of this software is subject to adherence to Software AG's licensing conditions and terms. These terms are part of the productdocumentation, located at hp://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).

This software may include portions of third-party products. For third-party copyright notices, license terms, additional rights orrestrictions, please refer to "License Texts, Copyright Notices and Disclaimers of Third Party Products". For certain specific third-partylicense restrictions, please refer to section E of the Legal Notices available under "License Terms and Conditions for Use of Software AGProducts / Copyright and Trademark Notices of Software AG Products". These documents are part of the product documentation, locatedat hp://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).

Document ID: ESTD-EDIINT-IUG-82SP1-20161103

Page 3: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MTable of Contents

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 3

Table of Contents

About this Guide..............................................................................................................................7Document Conventions.............................................................................................................. 7Online Information...................................................................................................................... 8

Concepts........................................................................................................................................... 9What Is EDIINT?...................................................................................................................... 10What Is webMethods Module for EDIINT?...............................................................................10Features.................................................................................................................................... 11

AS2-Specific Features.......................................................................................................11How Module for EDIINT Relates to Other webMethods Components..................................... 12Features Provided for EDIINT Processing............................................................................... 14Inbound EDIINT Processing with AS1 and AS2...................................................................... 14

EDIINT Client.....................................................................................................................15Processing Inbound EDIINT Documents...........................................................................15Processing Inbound EDIINT MDNs...................................................................................18

Outbound EDIINT Processing with AS1 and AS2....................................................................19Sending Outbound EDIINT Documents............................................................................ 20Sending Outbound EDIINT MDNs.................................................................................... 21

Run-Time Processing with EDIINT AS3...................................................................................23Run-Time Processing for Host Partners........................................................................... 24Run-Time Processing for Client Partners..........................................................................25

Using a Business Process to Send Outbound EDIINT Documents......................................... 26

Installing webMethods Module for EDIINT..................................................................................29Overview................................................................................................................................... 30Requirements............................................................................................................................30Installing Module for EDIINT.................................................................................................... 30Upgrading to Module 8.2 SP1 for EDIINT................................................................................31Uninstalling Module for EDIINT................................................................................................32

Before You Can Transport Documents Using EDIINT................................................................35Overview................................................................................................................................... 36Including EDIINT Information in Profiles.................................................................................. 36

External IDs Tab of the Profile..........................................................................................37Behavior of External ID Matching.............................................................................. 37

Updating Existing Profiles to Use EDIINT AS1, EDIINT AS2, and EDIINTAS3......................................................................................................................37Using the EDIINT ID Match Option.................................................................... 38

Delivery Settings Tab of the Profile...................................................................................39Extended Fields Tab of the Profile....................................................................................40Certificates Tab of the Profile............................................................................................42

Configuring SMTP Settings to Enable EDIINT Message Exchange........................................ 43

Page 4: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MTable of Contents

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 4

Configuring Inbound EDIINT SMTP Settings.................................................................... 44Configuring Outbound EDIINT SMTP Settings................................................................. 45

Configuring Your System to Support EDIINT AS3................................................................... 45Creating Directories for Uploading/Downloading.............................................................. 46Creating Trading Partner Agreements (TPAs) for AS3 Support........................................46

Creating a new TPA...................................................................................................47Configuring Where Payloads Are Persisted.............................................................................54

Persisting Payloads in Both Trading Networks and the File System.................................54Persisting Payloads in Only the File System.................................................................... 54

Configuring Whether Trading Networks Is to Process Payloads..............................................54Configuring EDIINT Properties................................................................................................. 57Trading Networks Objects Provided for EDIINT.......................................................................61

TN Document Types..........................................................................................................61Document Attributes.......................................................................................................... 62Extended Fields.................................................................................................................63Processing Rules...............................................................................................................63

Services Invoked by Processing Rules......................................................................64Restarting AS2 Message Transmission................................................................................... 65

Invoking the Send Service to Restart Message Transmission..........................................66Using EDIINT Properties to Restart Message Transmission............................................ 67Restarting AS2 Message Transmission Manually.............................................................67

Creating a Client to Submit a Document Using EDIINT.............................................................69Overview................................................................................................................................... 70Content Types to Use...............................................................................................................70Setting the Input Variables for the wm.EDIINT:send Service................................................... 70

Processing Inbound EDIINT Documents and MDNs.................................................................. 71Processing Inbound EDIINT Documents..................................................................................72

Before You Can Process Inbound EDIINT Documents.....................................................72Example of an EDIINT Document Posted by HTTP......................................................... 72Creating Outbound MDNs that Acknowledge Receipt of an EDIINT Document................73Setting Up to Process Payloads from EDIINT Documents............................................... 73How the SMIME Type Profile Field Affects Processing Payloads.....................................74

Processing Inbound EDIINT MDNs..........................................................................................75Before You Can Process Inbound EDIINT MDNs.............................................................75Example of an EDIINT MDN Posted by HTTP................................................................. 75

Using EDIINT to Deliver Outbound Documents......................................................................... 77Before You Can Deliver Outbound EDIINT Documents...........................................................78Setting the SMIME Type of the Outbound EDIINT Document................................................. 78Using the wm.EDIINT:send Service to Send EDIINT Documents............................................ 78

Viewing and Managing Information About EDIINT Documents and MDNs.............................. 81Viewing Information about EDIINT Documents and MDNs......................................................82

Viewing the User Status Associated with a Document..................................................... 82

Page 5: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MTable of Contents

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 5

Viewing Related Documents............................................................................................. 84Resubmitting EDIINT Outbound Transactions..........................................................................85

Error Handling................................................................................................................................87Overview................................................................................................................................... 88Message Logging..................................................................................................................... 88Error Codes.............................................................................................................................. 88

webMethods Module for EDIINT Services...................................................................................95Overview................................................................................................................................... 96Summary of Services in this Folder......................................................................................... 96wm.EDIINT:purgeFiles.............................................................................................................. 96wm.EDIINT:receive....................................................................................................................97wm.EDIINT:restart..................................................................................................................... 99wm.EDIINT:retrieveAS3Message..............................................................................................99wm.EDIINT:send..................................................................................................................... 100

Index.............................................................................................................................................. 107

Page 6: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 6

Page 7: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 7

About this Guide

This guide describes how to exchange business documents over the Internet securelyand reliably using the EDIINT protocol. In addition, it provides information for usingwebMethods Module for EDIINT to support EDIINT processing.

To use this guide effectively, you should be familiar with:

EDIINT standards and terminology.

webMethods Integration Server and Integration Server Administrator, andunderstand the concepts and procedures in the webMethods Integration ServerAdministrator’s Guide.

webMethods Trading Networks and webMethods Module for EDI, and understandthe concepts and procedures described in the various Trading Networks and Modulefor EDI guides.

Software AG Designer, and understand the concepts and procedures described inthe webMethods Service Development Help for your release.

My webMethods Server and its interface My webMethods, and understandthe concepts and procedures described in the appropriate My webMethodsdocumentation for your release.

Document Conventions

Convention Description

Bold Identifies elements on a screen.

Narrowfont Identifies storage locations for services on webMethodsIntegration Server, using the convention folder.subfolder:service .

UPPERCASE Identifies keyboard keys. Keys you must press simultaneouslyare joined with a plus sign (+).

Italic Identifies variables for which you must supply values specific toyour own situation or environment. Identifies new terms the firsttime they occur in the text.

Monospacefont

Identifies text you must type or messages displayed by thesystem.

Page 8: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 8

Convention Description

{ } Indicates a set of choices from which you must choose one. Typeonly the information inside the curly braces. Do not type the { }symbols.

| Separates two mutually exclusive choices in a syntax line. Typeone of these choices. Do not type the | symbol.

[ ] Indicates one or more options. Type only the information insidethe square brackets. Do not type the [ ] symbols.

... Indicates that you can type multiple options of the same type.Type only the information. Do not type the ellipsis (...).

Online InformationSoftware AG Documentation Website

You can find documentation on the Software AG Documentation website at hp://documentation.softwareag.com. The site requires Empower credentials. If you do nothave Empower credentials, you must use the TECHcommunity website.

Software AG Empower Product Support Website

You can find product information on the Software AG Empower Product Supportwebsite at hps://empower.softwareag.com.

To submit feature/enhancement requests, get information about product availability,and download products, go to Products.

To get information about fixes and to read early warnings, technical papers, andknowledge base articles, go to the Knowledge Center.

Software AG TECHcommunity

You can find documentation and other technical information on the Software AGTECHcommunity website at hp://techcommunity.softwareag.com. You can:

Access product documentation, if you have TECHcommunity credentials. If you donot, you will need to register and specify "Documentation" as an area of interest.

Access articles, code samples, demos, and tutorials.

Use the online discussion forums, moderated by Software AG professionals, toask questions, discuss best practices, and learn how other customers are usingSoftware AG technology.

Link to external websites that discuss open standards and web technology.

Page 9: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 9

1   Concepts

■ What Is EDIINT? .......................................................................................................................... 10

■ What Is webMethods Module for EDIINT? .................................................................................. 10

■ Features ....................................................................................................................................... 11

■ How Module for EDIINT Relates to Other webMethods Components ......................................... 12

■ Features Provided for EDIINT Processing ................................................................................... 14

■ Inbound EDIINT Processing with AS1 and AS2 .......................................................................... 14

■ Outbound EDIINT Processing with AS1 and AS2 ....................................................................... 19

■ Run-Time Processing with EDIINT AS3 ...................................................................................... 23

■ Using a Business Process to Send Outbound EDIINT Documents ............................................. 26

Page 10: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 10

What Is EDIINT?EDIINT stands for “Electronic Data Interchange-Internet Integration,” or “EDI over theInternet.” The EDIINT standard, defined by the Internet Engineering Task Force (IETF),is a protocol that specifies how to exchange business documents, such as EDI and XML,over the Internet in a secure, reliable, non-reputable way. It does not specify how tovalidate or process the business documents that are transported.

There are three versions of the EDIINT standard:

EDIINT AS1 (EDIINT Applicability Statement 1), which uses SMTP (e-mail) totransport documents

EDIINT AS2 (EDIINT Applicability Statement 2), which uses HTTP (or HTTP/S) totransport documents

EDIINT AS3 (EDIINT Applicability Statement 3), which uses FTPS (FTP over SSL) totransport documents

All versions support digital signatures, encryption, and signed receipts.

What Is webMethods Module for EDIINT?webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINTexchange protocol. Documents using the EDIINT protocol are processed throughTrading Networks. Therefore, if you want to use the EDIINT protocol, you must useTrading Networks.

Module for EDIINT supports EDIINT AS1 (SMTP), EDIINT AS2 (HTTP), and EDIINTAS3 (FTPS) messages, including MDN (receipt) exchange. The module uses the S/MIMEversion 2 cryptographic format exclusively both to package, encrypt, and provide adigital signature to outbound data, and to unpack, decrypt, and verify the authenticityof inbound data.

You can use EDIINT to transport both EDI and non-EDI formaed (for example, XML orcustom format) documents.

When you use the EDIINT transport for EDI documents, you must also havewebMethods Module for EDI installed. Module for EDIINT passes EDI documentsto Trading Networks, which in turn allows Module for EDI to process the EDIdocument using the functions of the Module for EDI packages (WmEDI andWmEDIforTN).

When you use the EDIINT transport for non-EDI documents, Module for EDIINTpasses the documents to Trading Networks, and Trading Networks processes thembased on logic you define in Trading Networks.

Page 11: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 11

FeaturesModule for EDIINT supports the following EDIINT features:

Exchanges business documents securely using EDIINT AS1, EDIINT AS2, andEDIINT AS3.

Uses the S/MIME version 2 cryptographic format exclusively both to package,compress, encrypt, and provide a digital signature to outbound data and to unpack,decrypt, and verify the authenticity of inbound data.

Note: The S/MIME (Secure/Multipurpose Internet Mail Extensions) standardspecifies formats and procedures for providing the cryptographic securityservices of message authentication, integrity, non-repudiation of origin,and confidentiality.

Uses the SHA-1 hash algorithm to sign outbound messages, and verifies inboundmessages that were signed with either SHA-1 or MD5.

Enables you to set encryption types and key lengths for each of your tradingpartners using the extended fields in the partner's Trading Networks profile. Thechoices include: TripleDES, DES, RC2 (40 bits), RC2 (64 bits), and RC2 (128 bits).

Provides the standard outbound encryption permutations (signed, encrypted, signedand encrypted, or plain) at the send-service level.

Returns receipts for messages it receives and receives receipts for messages it sends.EDIINT receipts are known as MDNs (message disposition notifications). Modulefor EDIINT can send and receive synchronous or asynchronous, signed or unsignedMDNs.

Enables you to include custom headers on EDIINT messages you send to tradingpartners.

AS2-Specific FeaturesModule for EDIINT supports the following EDIINT AS2 version 1.2 features:

Multiple attachments.Module for EDIINT can transmit EDIINT messages with multipleaachments, along with its payload, in a single EDIINT transmission. Also, themodule processes EDIINT messages with multiple aachments and identifies andstores them separately. Module for EDIINT supports the following content types:

application/msword application/xml text/html

application/octet-stream application/zip text/plain

Page 12: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 12

application/pdf image/bmp text/rtf

application/rtf image/jpeg text/xml

application/vnd.ms-excel image/gif

application/x-msexcel image/tiff

AS2 restart. When transmission of an EDIINT message is interrupted, the module iscapable of restarting the transmission from the point at which it failed, instead ofstarting the entire transmission over again.

HTTP chunking for transferring data. Using chunked transfer coding, Module for EDIINTcan begin transferring large amounts of data before the length of the content beingtransferred is known. For information about configuring chunk size, see webMethodsIntegration Server Administrator’s Guide.

How Module for EDIINT Relates to Other webMethodsComponentsWhen you install Module for EDIINT, the WmEDIINT package is installed intoIntegration Server. The following diagram illustrates how the module fits into thewebMethods product suite architecture.

Page 13: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 13

Integration Server is the underlying foundation.

Trading Networks is a webMethods component that enables your enterprise to linkwith other companies (buyers, suppliers, strategic partners) and marketplaces toform a business-to-business trading network. To use Module for EDIINT, TradingNetworks is required. For more information about Trading Networks, see theTrading Networks documentation for your release.

Module for EDI comprises the following two packages:

The WmEDI package, which contains the basic functionality that providessupport for the EDI standard.

The WmEDIforTN package, which allows the WmEDI package and TradingNetworks to interact. This interaction allows you to use Trading Networks asa gateway for EDI document exchange. Module for EDI uses the functionalityof Trading Networks to provide additional features, such as support for VANs,reconciling FAs, and batching the sending of EDI documents.

Module for EDIINT contains the support for the EDIINT exchange protocol asdescribed in "What Is webMethods Module for EDIINT?" on page 10.

Page 14: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 14

Features Provided for EDIINT ProcessingModule for EDIINT provides the following features to support EDIINT processing:

Content handlers to recognize inbound EDIINT documents and MDNs.

Built-in services that you use to send outbound EDIINT documents and MDNs andreceive inbound EDIINT documents and MDNs.

TN document types, which are automatically installed into Trading Networks, thatallow Trading Networks to recognize inbound EDIINT documents and MDNs,and are set up so all EDIINT documents and MDNs are automatically saved to theTrading Networks database. Optionally, you can configure the module to store theEDIINT documents in the file system.

Extended profile fields, which are automatically installed into Trading Networks,that are available in Trading Networks profiles for you to supply partner-specificinformation needed for EDIINT transport-level processing.

Processing rules, which are automatically installed into Trading Networks, that youcan use to perform the EDIINT transport-level processing.

Delivery services, which are automatically registered with Trading Networks, thatyou can use to deliver EDIINT documents and MDNs.

For more information about how the module uses these features for EDIINT inboundand outbound processing, see "Inbound EDIINT Processing with AS1 and AS2" onpage 14 and "Outbound EDIINT Processing with AS1 and AS2" on page 19,respectively.

Inbound EDIINT Processing with AS1 and AS2For inbound processing, a client sends a document to Integration Server using theEDIINT exchange protocol. The document is processed in Integration Server usingservices provided with Module for EDIINT along with Trading Networks.

Page 15: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 15

EDIINT ClientUse Module for EDIINT to create the client to send documents using EDIINT. If you arenot using webMethods software on the client side, see documentation for the EDIINTsoftware that you are using.

When the client sends the EDIINT document to Integration Server, it must associate theinbound document with a content type that Module for EDIINT recognizes, for example,multipart/signed. When Integration Server receives a document that has an EDIINTcontent type, it passes the document to the appropriate EDIINT content handler, whichwas installed when you installed the module.

The EDIINT content handler passes the document to the service the client specifies. Touse 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 Module for EDIINT. Formore information about processing the EDIINT document, see "Processing InboundEDIINT Documents" on page 15.

Processing Inbound EDIINT DocumentsModule for EDIINT provides all logic required to perform the transport-level processingfor inbound EDIINT documents. You can use Trading Networks to add business-levelprocessing for the payloads of your EDIINT documents.

Note: For information about how Module for EDIINT processes inbound MDNs, see"Processing Inbound EDIINT MDNs" on page 18.

The following diagram illustrates how Module for EDIINT performs transport-levelprocessing for an inbound EDIINT document. The diagram also shows how, if youwant to perform business-level processing, you can submit the payload of the EDIINTdocument to Trading Networks for further processing.

Page 16: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 16

Step Description

1 The wm.EDIINT:receive service accepts the inbound document.

2 The wm.EDIINT:receive service uses the TN document types to determinethe type of document. The document matches the EDIINT TN documenttype that is installed into Trading Networks when you install Module forEDIINT.

After determining the TN document type, the wm.EDIINT:receive serviceforms a BizDocEnvelope for the inbound document and places it inthe pipeline in the bizdoc variable. A BizDocEnvelope contains theoriginal document and includes additional information that Trading

Page 17: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 17

Step DescriptionNetworks requires for routing and processing the document. One piece ofinformation that Trading Networks can use in the selection of a processingrule is the user status. The EDIINT recognizer sets the user status to“ProcessMsg.”

After forming the BizDocEnvelope, the wm.EDIINT:receive service sendsBizDocEnvelope to Trading Networks for processing.

3 Trading Networks determines the processing rule to use for the document.For inbound EDIINT documents, Trading Networks uses the EDIINT ProcessMessage processing rule that is installed into Trading Networks when youinstall Module for EDIINT. It selects this processing rule because the TNdocument type is EDIINT and the user status is “ProcessMsg.”

This processing rule performs the Execute a Service action to invoke thewm.EDIINT.rules:processMsg service. The service processes the message byopening the MIME or S/MIME package and then decrypting and/orverifying the signature of the message.

The remaining steps represent actions specified in the EDIINT Process Message processingrule.

Step Description

4 The wm.EDIINT.rules:processMsg service determines whether the sender of theEDIINT document requested an MDN.

If the sender requested an MDN, the wm.EDIINT.rules:processMsg servicedetermines whether the sender has requested a signed or an unsignedMDN. The service creates the appropriate type of MDN and sends theMDN back to Trading Networks for delivery. Trading Networks candeliver the MDN synchronously or asynchronously. For more informationabout how Trading Networks delivers the MDN, see "Sending OutboundEDIINT MDNs" on page 21. After sending the document to TradingNetworks, continue with the next step.

If the sender did not request an MDN , continue with the next step.

5 The wm.EDIINT.rules:processMsg service invokes thewm.EDIINT.rules:processPayload service, which determines whether you wantto send the payload of the EDIINT document to Trading Networks forprocessing.

You define whether you want Module for EDIINT to send EDIINTpayloads to Trading Networks for processing when you configure themodule.

Page 18: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 18

Step Description

6 If the payload is to be sent to Trading Networks for processing (forexample, to perform business-level logic), submit the payload. The payloadcan be either an EDI document or a non-EDI document (for example, anXML document).

EDI documents. If the payload is an EDI document, you must set upModule for EDI and Trading Networks to process the EDI document. Forexample, use Module for EDI to install TN document types for the EDIdocument and create a processing rule to process the EDI document. Formore information about using Module for EDI with Trading Networks toprocess EDI documents, see webMethods Module for EDI Concepts Guide.

Non-EDI documents. If the payload is not an EDI document, you must definethe TN document types that Trading Networks can use to recognize thepayload and the processing rule that Trading Networks should use toprocess the document.

Processing Inbound EDIINT MDNsThe following diagram illustrates how Module for EDIINT processes an inboundEDIINT MDN.

Page 19: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 19

Step Description

1 The wm.EDIINT:receive service accepts the inbound MDN.

2 The wm.EDIINT:receive service uses the TN document types to determine thetype of document. The MDN matches the EDIINT MDN TN documenttype that is installed into Trading Networks when you install Module forEDIINT.

After determining the TN document type, the wm.EDIINT:receive serviceforms a BizDocEnvelope for the inbound MDN and places it in the pipelinein the bizdoc variable. A BizDocEnvelope contains the MDN and includesadditional information that Trading Networks requires for routing andprocessing the document. One piece of information that Trading Networkscan use in the selection of a processing rule is the user status. The EDIINTrecognizer sets the user status to “ProcessMDNMsg.”

After forming the BizDocEnvelope, the wm.EDIINT:receive service sendsBizDocEnvelope to Trading Networks for processing.

3 Trading Networks determines the processing rule to use for the MDN.For inbound MDNs, Trading Networks uses the EDIINT Process MDNMessage processing rule that is installed into Trading Networks when youinstall Module for EDIINT. Trading Networks selects this processing rulebecause the TN document type is EDIINT MDN and the user status is“ProcessMDNMsg.”

This processing rule performs the Execute a Service action to invoke thewm.EDIINT.rules:processMDN service, which processes the EDIINT MDN.

Outbound EDIINT Processing with AS1 and AS2The documents you want to send using EDIINT can be EDI documents or non-EDIdocuments. The EDIINT standard specifies requirements for how to "package" adocument for transport and how to transport the document.

To package the document and transport it, you use services provided with the modulealong with Trading Networks.

Page 20: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 20

Sending Outbound EDIINT DocumentsModule for EDIINT provides all logic required to perform the transport-level processingfor sending outbound EDIINT documents.

Note: For information about how to send outbound MDNs, see "Sending OutboundEDIINT MDNs" on page 21.

The following diagram illustrates how to use the module to send an outbound EDIINTdocument.

Page 21: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 21

Step Description

1 You invoke the wm.EDIINT:send service to send a document to Module forEDIINT to be packaged as an EDIINT document and delivered to thereceiving trading partner.

2 Using the input information that you provide, the wm.EDIINT:send servicecreates the EDIINT document (that is, an EDIINT MIME or S/MIMEmessage).

3 The wm.EDIINT:send service uses the TN document types to determine thetype of document. The document matches the EDIINT TN documenttype that is installed into Trading Networks when you install Module forEDIINT.

After determining the TN document type, the wm.EDIINT:send service formsa BizDocEnvelope for the inbound document and places it in the pipelinein the bizdoc variable. A BizDocEnvelope contains the original documentand includes additional information that Trading Networks requiresfor routing and processing the document. One piece of information thatTrading Networks can use in the selection of a processing rule is the userstatus. The EDIINT recognizer sets the user status to “SendMsg.”

After forming the BizDocEnvelope, the wm.EDIINT:send service sendsBizDocEnvelope to Trading Networks for processing.

4 Trading Networks determines the processing rule to use for the document.For outbound EDIINT documents, Trading Networks uses the EDIINT SendMessage processing rule that is installed into Trading Networks whenyou install Module for EDIINT. Trading Networks selects this processingrule because the TN document type is EDIINT and the user status is“SendMsg.”

This processing rule performs the Execute a Service action to invoke thewm.EDIINT.rules:sendMsg service.

5 The wm.EDIINT.rules:sendMsg service delivers the document by invokingthe wm.EDIINT.delivery:deliveryDocument service, which in turn delivers thedocument to the appropriate trading partner.

Sending Outbound EDIINT MDNsModule for EDIINT automatically sends an outbound MDN when it receives aninbound EDIINT document that requests an MDN. Based on how the sender of theinbound EDIINT document requests the MDN to be sent, the module can send theMDN either synchronously or asynchronously. When the module sends an MDN

Page 22: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 22

synchronously, it sends the MDN using the same HTTP connection as that of theinbound EDIINT document. Otherwise, it sends the MDN as a separate transaction.

The following diagram illustrates how Module for EDIINT sends an outbound MDN.

Step Description

1 The sender sends an EDIINT document to the wm.EDIINT:receive service witha request for an MDN.

Page 23: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 23

Step Description

2 The wm.EDIINT:receive service accepts the inbound EDIINT document andpasses the document to Trading Networks. Trading Networks processesthe document using the EDIINT Process Message processing rule. For detailsabout inbound processing, see "Processing Inbound EDIINT Documents"on page 15.

The EDIINT Process Message processing rule invokes thewm.EDIINT.rules:processMsg service to process the inbound EDIINT document.Because an MDN is requested, the wm.EDIINT.rules:processMsg service createsthe MDN and performs document recognition on the MDN using theTrading Networks TN document types. The MDN matches the EDIINTMDN TN document type. After determining the TN document type,Trading Networks forms a BizDocEnvelope for the MDN and places itin the pipeline in the bizdoc variable. The Trading Networks user statusfor the MDN is set to “SendMDNMsg.” The wm.EDIINT.rules:processMsgservice then passes the BizDocEnvelope into standard Trading Networksprocessing.

3 Trading Networks determines the processing rule to use for the MDN.For inbound MDNs, Trading Networks uses the EDIINT Send MDN Messageprocessing rule that is installed into Trading Networks when you installModule for EDIINT. Trading Networks selects this processing rulebecause the TN document type is EDIINT MDN and the user status is“SendMDNMsg.”

The EDIINT Send MDN Message processing rule performs the Execute a Serviceaction to invoke the wm.EDIINT.rules:sendMDN service.

4 The wm.EDIINT.rules:sendMDN service determines what type of MDN thesender has requested (synchronous or asynchronous) and then sends theMDN accordingly:

If the sender requested a synchronous MDN, the service returns asynchronous MDN to the sender using the same HTTP connection.

If the sender requested an asynchronous MDN, the service invokes thewm.EDIINT.delivery:deliveryDocument service to send an asynchronous MDN asa separate transaction.

Run-Time Processing with EDIINT AS3To exchange EDIINT AS3 messages with a trading partner, you use an FTP server that islocated either on your system or on your trading partner's system. You use just one FTPserver. The partner with the FTP server is referred to as the host partner.

Page 24: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 24

The partner who accesses the host partner's FTP server is referred to as the client partner.To retrieve the EDIINT AS3 messages or files, the client partner needs to log in remotelyas an FTP client.

To enable the partners to exchange EDIINT AS3 messages, the host partnermust provide the client partner with a particular set of specifications known as achoreography. The AS3 term choreography refers to the actions that occur between aclient and an FTP server, and the FTP commands that enable those actions to occur. Thechoreography describes the means for delivering, retrieving, and deleting EDIINT AS3messages. It includes information about how an upload is communicated to the serveras finished and available for a trading partner to download, such as renaming the fileextension. In addition, it states whether the partner who downloads the message mustsend a delete command to clean up the file, or whether the message is removed throughother means within the server.

The three categories of actions are:

Server logon actions (secure or un-secure)

Module for EDIINT uses the secure FTP support provided by Integration Server.Using this support, clients connect to remote FTP servers using Secure Sockets Layer(SSL).

Document upload and download actions

MDN upload and download actions

Each partner must specify the choreography information in a Trading PartnerAgreement (TPA), as described in "Creating Trading Partner Agreements (TPAs) for AS3Support" on page 46.

Run-Time Processing for Host PartnersIf you are a host partner (the partner with the FTP server on your Integration Server),you will send and retrieve EDIINT AS3 messages as follows:

Host Partner Sending an EDIINT AS3 Message to a Client Partner

1. The host partner invokes the wm.EDIINT:send service, which creates an EDIINT AS3message and uploads it to the userFtpRoot\userhome \AS3\inbox directory on theFTP server.

2. The client partner logs in to the host partner's FTP server and retrieves the messagefrom the host partner's userFtpRoot\userhome \AS3\inbox directory. The clientpartner can optionally delete the message.

Page 25: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 25

Host Partner Retrieving an EDIINT AS3 Message or MDN from a Client Partner

1. The client partner logs in to the host partner's FTP server and uploads the EDIINTAS3 message or MDN to the host partner's userFtpRoot\userhome \AS3\outboxdirectory.

2. EDIINT submits the EDIINT AS3 message or MDN to Trading Networks to beprocessed.

3. EDIINT places an MDN response message (if the TPA specifies it) in the hostpartner's userFtpRoot\userhome \AS3\inbox directory.

Run-Time Processing for Client PartnersIf you are a client partner (the partner accessing a remote FTP server on an IntegrationServer), you will send and retrieve EDIINT AS3 messages as follows:

Client Partner Sending an EDIINT AS3 Message to the Host Partner

1. The client partner invokes the wm.EDIINT:send service, which creates an EDIINT AS3message and uploads it to the host partner's FTP server.

2. The host partner processes the EDIINT AS3 message and puts an MDN (if the TPAspecifies it) on the host partner's FTP server.

Client Partner Retrieving an EDIINT AS3 message or MDN from the Host Partner

1. The client partner invokes the wm.EDIINT:retrieveAS3Message service, which logs in tothe host partner's FTP server and downloads the EDIINT AS3 message or MDN.EDIINT deletes the message if the TPA specifies it.

2. EDIINT submits the EDIINT AS3 message or MDN to Trading Networks to beprocessed.

3. If the TPA requires an MDN response message, EDIINT logs in to the FTP serverand uploads the MDN to the host partner's FTP server.

For information about configuring your system to support EDIINT AS3, see"Configuring Your System to Support EDIINT AS3" on page 45.

Page 26: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 26

Using a Business Process to Send Outbound EDIINTDocumentsYou can design a process model that waits for a document that you want to send usingthe EDIINT transport. You can assign a conversation ID to the outbound EDIINTdocument. When its corresponding MDN is returned, Module for EDIINT assigns theMDN the same conversation ID, so the MDN can rejoin the conversation.

Step Description

1 The business process waits for a document, for example, from a back-endsystem. This is the document that you want to send using EDIINT.

2 The business process forms an EDIINT document with the back-endsystem document as the payload, and sends the EDIINT document to thetrading partner. The step invokes the wm.EDIINT:send service to package theback-end system document as the payload of an EDIINT document. TheConversationID input parameter to the wm.EDIINT:send service is set to definethe value to use for the conversation ID. It should be the same conversationID that the back-end system document used.

3 The trading partner responds with an MDN. Module for EDIINT sets theconversation ID of the MDN to the value specified for the ConversationID

Page 27: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Concepts

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 27

Step Descriptioninput parameter in the preceding step. As a result, the MDN rejoins thecorrect business process.

Page 28: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 28

Page 29: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Installing webMethods Module for EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 29

2   Installing webMethods Module for EDIINT

■ Overview ....................................................................................................................................... 30

■ Requirements ............................................................................................................................... 30

■ Installing Module for EDIINT ........................................................................................................ 30

■ Upgrading to Module 8.2 SP1 for EDIINT ................................................................................... 31

■ Uninstalling Module for EDIINT ................................................................................................... 32

Page 30: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Installing webMethods Module for EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 30

OverviewThis chapter explains how to install, upgrade, and uninstall webMethods Module forEDIINT. The instructions use the Software AG Installer and the Software AG Uninstallerwizards. For complete information about the wizards or other installation methods, orto install other webMethods products, see the Installing webMethods Products for yourrelease.

Important: webMethods Module 8.2 SP1 for EDIINT requires webMethods TradingNetworks 8.2 or higher to be installed.

RequirementsFor a list of the operating systems and webMethods products that webMethods Module8.2 SP1 for EDIINT supports, see the webMethods eStandards Modules System Requirements,available in the webMethods area of the Software AG Documentation Website.

Installing Module for EDIINT

Note: Module for EDIINT stores data in Trading Networks tables. If you areinstalling Module for EDIINT in a clustered environment, you must installModule for EDIINT and Trading Networks on each Integration Serverin the cluster, and each installation must be identical. For information onrunning Trading Networks in a clustered environment, see informationabout configuring Trading Networks in the webMethods Trading NetworksAdministrator’s Guide for your release.

To install Module for EDIINT

1. If you are going to install Module for EDIINT on an already installed IntegrationServer, shut down the Integration Server. Make sure that the version of IntegrationServer is 8.2 or higher.

2. Download the Software AG Installer from the Empower Product Support Web site athps://empower.softwareag.com.

3. Start the Software AG Installer wizard.

4. In the Release list, click Software AG Products 8.x. Provide your Software AG Empoweruser name and password. Click Next. The installer uses the user name and passwordto connect to the installer server and download the products for which you havepurchased licenses.

5. Specify the installation directory as follows:

Page 31: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Installing webMethods Module for EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 31

If you are installing Module for EDIINT on an existing Integration Server, specifythe installation directory that contains the host Integration Server.

If you are installing both the host Integration Server and Module for EDIINT,specify the installation directory to use. (The default is Software AG.)

6. In the product selection list, select eStandards >webMethodsModule 8.2 SP1 for EDIINT.The installer installs the WmEDIINT package in the Integration Server_directory\packages directory.

You can select any required webMethods components you have not installed, suchas Integration Server, Trading Networks, My webMethods Server, and Module forEDI. For a list of required products and their versions, see webMethods eStandardsModules System Requirements, available in the webMethods area of the Software AGDocumentation Website.

7. Start the Integration Server on which you installed Module for EDIINT.

Upgrading to Module 8.2 SP1 for EDIINTThis upgrade procedure explains how to install Module 8.2 SP1 for EDIINT over aprevious version of Module for EDIINT.

Note: Software AG strongly recommends that you upgrade and migrate in acontrolled test environment and test that installation for proper operationbefore upgrading and migrating your production environment.

To upgrade to Module 8.2 SP1 for EDIINT

1. Shut down all webMethods products and all other applications that are running onthe machine on which you are going to install Module for EDIINT. In addition, if anybusiness processes are running, wait for them to complete normally or use Monitorto stop them.

Important: If all products, applications, and business processes are not shut down,the installer will not be able to replace key files that are locked by theoperating system.

2. Back up the old Module for EDIINT installation directory: Integration Server_directory\packages\WmEDIINT.

3. Uninstall the previous version of the module. For more information, see theinstallation guide for that version.

Important: The Software AG Uninstaller does not delete files that you havecreated or configuration files associated with the older versionof the module, nor does it delete the directory structure thatcontains those files. If you do not want to save those files, go to the

Page 32: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Installing webMethods Module for EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 32

Integration Server_directory\packages directory and delete the WmEDIINTpackage directories.

4. Install Module for EDIINT as described in "Installing Module for EDIINT" onpage 30. For the installation directory, specify the Module 8.2 SP1 for EDIINTinstallation directory.

5. Copy the Integration Server_directory \packages\WmEDIINT\config\properties.cnffile from your back-up installation to the same directory in your 8.2 SP1 installation.

6. Restart Module for EDIINT.

7. Migrate the data and TPAs from webMethods Trading Networks. To migratedata from Trading Networks, follow the instructions in the Upgrading Software AGProducts for your release.

Note: When migrating from version 6.5 to a later release, the value of S/MIMEType field is not migrated.

8. Run the service, wm.EDIINT.doc:migrateSMimeType in Integration Server Administrator tomigrate the value of S/MIME Type field from version 6.5 to the SMIME Type field inthe later versions of the module.

9. Run the service, wm.EDIINT.doc:migrateRequestSignedReceipt in Integration ServerAdministrator to migrate the value of Signed MDN field from version 6.5 to theRequest Signed Receipt field in the later versions of the module.

10. Run the service, wm.EDIINT.doc:migrateCompression in Integration Server Administratorto migrate the value of Compressed field from version 6.5 to the Compression fieldin the later versions of the module.

Uninstalling Module for EDIINT

To uninstall Module for EDIINT

1. Shut down the Integration Server that hosts Module for EDIINT.

2. Start Software AG Uninstaller, as follows:

System Instructions

Windows In the Add or Remove Programs window, selectSoftware AG Products 8.xinstallation_directory , whereinstallation_directory is the installation directory of theIntegration Server on which Module for EDIINT isinstalled.

UNIX Go to the installation_directory \bin directory of theinstallation that includes the Integration Server on which

Page 33: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Installing webMethods Module for EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 33

System InstructionsModule for EDIINT is installed and enter uninstall(wizard) or uninstall -console (console mode).

3. In the Select products to uninstall list, select eStandards >webMethodsModule 8.2 SP1 forEDIINT.

4. Software AG Uninstaller does not delete files that you have created or configurationfiles associated with Module for EDIINT, nor does it delete the directorystructure that contains those files. If you do not want to save those files, go to theIntegration Server_directory \packages directory and delete the WmEDIINT packagedirectories.

5. Restart the Integration Server from which you uninstalled Module for EDIINT.

Page 34: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 34

Page 35: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 35

3   Before You Can Transport Documents Using EDIINT

■ Overview ....................................................................................................................................... 36

■ Including EDIINT Information in Profiles ...................................................................................... 36

■ Configuring SMTP Settings to Enable EDIINT Message Exchange ............................................ 43

■ Configuring Your System to Support EDIINT AS3 ....................................................................... 45

■ Configuring Where Payloads Are Persisted ................................................................................ 54

■ Configuring Whether Trading Networks Is to Process Payloads ................................................. 54

■ Configuring EDIINT Properties ..................................................................................................... 57

■ Trading Networks Objects Provided for EDIINT .......................................................................... 61

■ Restarting AS2 Message Transmission ....................................................................................... 65

Page 36: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 36

OverviewBefore you can transport EDI or non-EDI documents using the EDIINT transport,perform the following tasks:

Ensure that the partner profiles for senders and receivers contain the informationthat Module for EDIINT requires, as described in "Including EDIINT Information inProfiles" on page 36.

If you want to use EDIINT AS1 (SMTP), or if you want to use EDIINT AS2 andhave partners send MDNs via SMTP, configure the SMTP seings to enable Modulefor EDIINT to send and receive EDIINT documents via SMTP, as described in"Configuring SMTP Seings to Enable EDIINT Message Exchange" on page 43.

If you want to use EDIINT AS3 (FTPS), configure your system as described in"Configuring Your System to Support EDIINT AS3" on page 45.

Note: If you use HTTP, HTTPS, or FTPS, for instructions about how to add aport, see the webMethods Integration Server Administrator’s Guide for yourrelease. No EDIINT-specific seings are required to add an HTTP, HTTPS,or FTPS port.

If you want to store large payloads and aachments in the Module for EDIINT filesystem instead of, or in addition to, the Trading Networks database, configure themodule appropriately, as described in "Configuring Where Payloads Are Persisted"on page 54.

If you want Module for EDIINT to send the payload of the document to TradingNetworks for further processing, configure the module appropriately, as describedin "Configuring Whether Trading Networks Is to Process Payloads" on page 54.

If you want to configure EDIINT properties, see "Configuring EDIINT Properties" onpage 57.

Including EDIINT Information in ProfilesTo use the EDIINT transport when exchanging documents between partners (sendersand receivers), the partners' profiles in Trading Networks must contain EDIINTinformation that Module for EDIINT requires. For information about managing partnerprofiles, see the webMethods Trading Networks Administrator’s Guide for your release.

The following sections identify the specific information that you supply to use theEDIINT transport. The sections do not describe all profile fields. For descriptionsof profile fields that are not listed in the sections below, see the webMethods TradingNetworks Administrator’s Guide for your release.

Page 37: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 37

External IDs Tab of the ProfileProvide values for the following fields on the External IDs tab of the Partner Profile pagein My webMethods:

Corporate Tab field Description

ID Type and Value Select all versions of the EDIINT standard that the partner'scorporation uses: EDIINT AS1, EDIINT AS2, and/or EDIINT AS3.You may also select any number of other external ID types,such as User Defined.

Then, for each selected external ID type, specify a value toidentify the partner. You may assign the same external IDvalue for multiple external ID types within the same profile.For example, if the partner uses EDIINT AS2 and EDIINT AS3,you can specify the same identification value for both types.

The external ID type and its value correspond to the valuesin the EDIINT document headers "From" and "To" (for AS1),"AS2-From" and "AS2-To" (for AS2), and "AS3-From" and"AS3-To" (for AS3).

Behavior of External ID MatchingIf you used a version of Module for EDIINT prior to 6.5.2 and you want to use yourexisting profiles in 8.2 SP1, you have two options:

Update your existing profiles so they use the external ID types EDIINT AS1, EDIINTAS2, or EDIINT AS3 instead of the existing external ID types. For details, see "UpdatingExisting Profiles to Use EDIINT AS1, EDIINT AS2, and EDIINT AS3" on page 37.

-OR-

If you want to continue using the external ID types of your existing profiles withouthaving to change your existing profiles, turn off the new EDIINT ID Match option tomake the module behave as it did prior to version 8.2 SP1. For details, see "Using theEDIINT ID Match Option" on page 38.

Important: You must either update your existing profiles or turn off the EDIINT IDMatch option. Otherwise, you may get unpredictable results when tryingto match external IDs.

Updating Existing Profiles to Use EDIINT AS1, EDIINT AS2, and EDIINT AS3

Prior to version 6.5.2, Module for EDIINT only looked at the external ID value to find amatching profile when sending or receiving documents; it ignored the external ID type.

Page 38: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 38

Thus, each external ID value was required to be unique; a value could not be duplicatedwithin a single profile or in any other profile.

With version 8.0 and higher, Module for EDIINT looks at both the external ID value andthe external ID type in order to find a matching profile. This means you may assign thesame external ID value for multiple external ID types within the same profile or in anyother profile (or the values may be unique).

By default, when you send an EDIINT document the wm.EDIINT:send service tries to matchthe document's "To" header (for example, AS2-To: 987654321) with the external IDtype 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 tomatch the value of its sender ID input parameter (which specifies both type and value)with a partner profile's 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 youturn off this option, you may get unpredictable results when trying to matchexternal IDs. For details, see "Using the EDIINT ID Match Option" on page38.

Using the EDIINT ID Match Option

If you do not want to use the external ID types EDIINT AS1, EDIINT AS2, or EDIINT AS3 inyour 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 whentrying to match external IDs. For example, if you define a profile with three external IDtypes that have identical values as follows:

External ID type Value

EDIINT AS2 987654321

EDIINT AS3 987654321

User Defined 987654321

and you send an EDIINT document with the following headers:AS2-From: 123456789AS2-To: 987654321

the EDIINT ID Match option controls the external ID matching as follows:

When EDIINT ID Match is... The matching external ID...

On Is EDIINT AS2.

Page 39: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 39

When EDIINT ID Match is... The matching external ID...

Off Could be any of the three IDs; you cannot predict whichone will match.

To set the EDIINT ID Match option

1. Open Integration Server Administrator if it is not already open.

2. In the Solutions menu of the navigation panel, click EDIINT.

Integration Server Administrator opens a new browser window to display theModule for EDIINT home page.

3. In the navigation panel of the Module for EDIINT home page, click Configuration.

4. Specify how to match external IDs as follows:

Do this... To have Module for EDI try to match...

Select the EDIINT ID Match check box Both the external ID value and theexternal ID type.

Clear the EDIINT ID Match check box Only the external ID value.

Note: You can also set this option in My webMethods by configuring theEDIINTIDMatch EDIINT property. For more information, see "ConfiguringEDIINT Properties" on page 57.

Delivery Settings Tab of the ProfileIn My webMethods, on the Delivery Settings tab of the Partner Profile page, specify thedelivery methods that EDIINT requires. The wm.EDIINT:send service uses the informationthat you specify on this tab to send outbound EDIINT messages and MDNs.

If you are using... Specify...

EDIINT AS1 At least one of the following delivery methods:Primary E-mailSecondary E-mail

Note: You must define the delivery method in both the senderand receiver profiles. The e-mail address in the sender'sprofile is used for the "From" address and the e-mailaddress in the receiver's profile is used for the deliverye-mail address ("To").

Page 40: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 40

If you are using... Specify...

EDIINT AS2 At least one of the following delivery methods:Primary HTTPSecondary HTTPPrimary HTTPSSecondary HTTPS

Note: EDIINT AS3 is an available delivery method as well. For details, see"Configuring Your System to Support EDIINT AS3" on page 45.

Extended Fields Tab of the ProfileThe following table lists the Extended Fields tab fields you should supply for EDIINT onthe Partner Profile page in My webMethods.

In this ExtendedFields tab field...

Specify...

AS1MDNURL The e-mail address that is to accept inbound AS1 EDIINTMDNs (for example, [email protected] ), if you areusing EDIINT AS1.

An inbound AS1 MDN is by definition asynchronous becauseit is not returned using the same connection as that of theoriginally sent document.

AS2MDNURL The URL that is to accept inbound AS2 EDIINT MDNs, if youare using EDIINT AS2.

To accept MDNs via HTTP, specify a URL that includes the/invoke/ element to invoke the wm.EDIINT:receive service. Forexample (where host:port would be an actual host and portnumber):http:// host:port /invoke/wm.EDIINT/receive

To accept AS2 MDNs via SMTP, specify a URI similar to thefollowing:mailto:[email protected]

An inbound AS2 MDN could be synchronous (HTTP only)or asynchronous (SMTP or HTTP). A synchronous MDNis returned using the same HTTP connection as that of theoriginally sent document.

EncryptionAlgorithm

The encryption option to use for outbound EDIINTmessages. Select from:

Page 41: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 41

In this ExtendedFields tab field...

Specify...

TripleDES (This is the default.)DESRC2 40 (40 bits)RC2 64 (64 bits)RC2 128 (128 bits)

SMIME Type The SMIME type to use for payloads sent and received by thetrading partner. Use:

plain, for payloads are neither signed nor encrypted.signed, for payloads are signed.encrypted, for payloads are encrypted.signedAndEncrypted, for payloads that are signed andencrypted. This is the default.

For more information about how the SMIME Type extendedprofile field is used during inbound processing, see "Howthe SMIME Type Profile Field Affects Processing Payloads"on page 74. For more information about how theSMIME Type extended profile field is used during outboundprocessing, see "Seing the SMIME Type of the OutboundEDIINT Document" on page 78.

Compression Whether the outbound message is compressed before signingand/or encrypting it. Use:

True, to compress the outbound message before signingand/or encrypting it.False, to sign and/or encrypt the message withoutcompressing it. This is the default.

Delivery Method The delivery method you want to use to send the EDIINTdocument.

For EDIINT AS1, specify one of the following:PrimarySMTP (corresponds to the TradingNetworksPrimary E-mail delivery method)SecondarySMTP (corresponds to the TradingNetworksSecondary E-mail delivery method)

For EDIINT AS2, specify one of the following:PrimaryHTTPSecondaryHTTPPrimaryHTTPSSecondaryHTTPS

Page 42: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 42

In this ExtendedFields tab field...

Specify...

For EDIINT AS3, specify AS3.

Request MDN Whether you want the receiver to return an MDN. Use:none, to not request a return MDN.synchronousMDN, to request a return synchronous MDN.asynchronousMDN, to request a return asynchronous MDN.

Request SignedReceipt

Whether you want a signed MDN. Use:True, to request a signed MDN.False, to request a plain (unsigned) MDN.

FTPUserName Your partner's user name if you are using EDIINT AS3and you are the hosting partner (that is, your partnerwill access your FTP server), so that EDIINT can placeEDIINT AS3 messages and MDNs in the userFtpRoot\username \AS3\inbox directory. Your partner willdownload the messages and MDNs from this directory. Formore information about the inbox directory, see "CreatingDirectories for Uploading/Downloading" on page 46.

Certificates Tab of the ProfileThe following table lists the information that you should supply for EDIINT on theCertificates tab of the Partner Profile page in My webMethods.

Use this sub-tab of theCertificatestab...

If you...

Sign/Verify Want Module for EDIINT to be able to digitally sign outboundEDIINT documents.

On the Sign/Verify tab of the profile, specify the certificates foryour corporation, along with your private key.

You can set up a default signing certificate information in theEnterprise profile.

If you need to use a specific certificate to sign outbounddocuments for a particular partner, specify the certificateinformation on the Sign/Verify tab of that partner's profile.

Page 43: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 43

Use this sub-tab of theCertificatestab...

If you...

If you expect to receive an EDIINT document with a digitalsignature from a partner and you want Module for EDIINT to beable to verify the digital signature, specify “verify certificates”on the Sign/Verify tab in the partner's profile. You specify thecertificates for your partner's corporation.

Decrypt/Encrypt

Expect to receive encrypted EDIINT documents from partners.

On the Decrypt/Encrypt tab of the profile, specify the certificatesfor your corporation, along with your private key that you needto use to decrypt the documents.

You can set up default decrypting certificate information in theEnterprise profile.

If you need to use a specific certificate to decrypt inbounddocuments from a particular partner, specify the certificateinformation on the Decrypt/Encrypt tab of that partner's profile.

If you want Module for EDIINT to be able to encrypt outboundEDIINT documents for a partner, specify “encrypt certificates”on the Decrypt/Encrypt tab in the partner's profile. You specify thecertificates for your partner's corporation.

Configuring SMTP Settings to Enable EDIINT MessageExchangeTo allow Module for EDIINT to receive and send documents using SMTP, you mustconfigure inbound (for receiving) and outbound (for sending) SMTP seings. You mustconfigure these seings if you want to use:

EDIINT AS1

EDIINT AS2 and have partners send MDNs via SMTP

Important: Check your mailbox seings for message size limitations that couldadversely affect your ability to receive or send large EDIINT documents.

Page 44: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 44

Configuring Inbound EDIINT SMTP SettingsTo configure your system to be able to receive inbound EDIINT documents via SMTP

1. Set up an e-mail account with an e-mail service provider that supports either thePOP3 or IMAP protocols.

2. In Integration Server Administrator, add a webMethods/Email port that corresponds tothe e-mail host that you established in the previous step. For instructions about howto add a port, see the webMethods Integration Server Administrator’s Guide for yourrelease.

The following table lists information you should specify when adding the port:

In this section ofthe screen...

For this field... Specify...

Package Package Name Whether you want the port availablewhenever the service is running:

WmEDIINT if you want the portdisabled when the WmEDIINTpackage is disabled.

WmRoot if you want the portavailable whenever the server isrunning.

ServerInformation

All fields Information about the e-mail hostthat you established in the previousstep.

Requireauthorizationwithin message

NoSecurity

Run services asuser

A user account with administratorauthority, e.g., Administrator.

Global Service wm.EDIINT:receive

Default service leave blank

MessageProcessing

Invoke servicefor each part

No

Page 45: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 45

In this section ofthe screen...

For this field... Specify...

of multipartmessage

Include e-mailheaders whenpassing messageto content handler

Yes

Note: If a field in the Message Processing section of the screen is not listed in thetable above, Module for EDIINT does not use it. Leave the field set to itsdefault value.

3. Enable the port.

4. Edit the port's Access Mode, and click Set Access Mode to Allow by Default.

Configuring Outbound EDIINT SMTP SettingsTo send outbound EDIINT documents or MDNs via SMTP, you must configure thename of the SMTP server you want to use for outbound EDIINT documents. You onlyneed to perform this procedure if you want to use EDIINT AS1.

To enable outbound EDIINT SMTP transport

1. Open Integration Server Administrator.

2. In the Solutions menu of the navigation panel, click EDIINT. Integration ServerAdministrator opens a new browser window to display the Module for EDIINThome page.

3. In the navigation panel of the Module for EDIINT home page, click Configuration.

4. In the SMTP Server field, type the name of your SMTP server.

5. Click Save Changes.

Note: You can also set the SMTP server in My webMethods by configuring themailhost EDIINT property. For more information, see "Configuring EDIINTProperties" on page 57.

Configuring Your System to Support EDIINT AS3Configuring your system to support EDIINT AS3 involves creating directories foruploading and downloading, and then creating Trading Partner Agreements (TPAs) forAS3 support.

Page 46: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 46

Creating Directories for Uploading/DownloadingThe host partner must create the following directories in Integration Server, under thedefault FTP root directory that Integration Server creates at startup:

userFtpRoot\userhome \AS3

where userhome is the user's FTP home directory.

Note: To rename the default userFtpRoot directory, use the Integration Serverconfiguration parameter wa.server.userFtpRoot. For details, see thewebMethods Integration Server Administrator’s Guide for your release.

The host partner must then create the following directories under the AS3 directory:

userFtpRoot\userhome \AS3\inbox—The directory from which the host partner willdownload EDIINT AS3 messages.

userFtpRoot\userhome \AS3\outbox—The directory to which the host partner willupload EDIINT AS3 messages.

Creating Trading Partner Agreements (TPAs) for AS3 SupportA Trading Partner Agreement (TPA) in Trading Networks is a set of parameters that youcan use to govern how documents are exchanged between two trading partners. Onepartner fulfills the sender role during document exchange, and the other partner fulfillsthe receiver role. Both the sender and receiver in a TPA must be a partner who has anexisting profile in your Trading Networks system.

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). To support EDIINT AS3 message exchange,use the predefined Agreement ID EDIINTAS3.

You might have multiple TPAs for a pair of trading partners. For example, if PartnerA isthe originator of a send or retrieve operation, you would define the following TPA:

For this TPA field... Specify...

Sender PartnerB

Receiver PartnerA

Agreement ID (type of TPA) EDIINTAS3

Page 47: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 47

Conversely, if PartnerB is the originator of a send or retrieve operation, you woulddefine the following TPA:

For this TPA field... Specify...

Sender PartnerB

Receiver PartnerA

Agreement ID (type of TPA) EDIINTAS3

Creating a new TPA

To create a new TPA

1. In My webMethods, go to Administration > Integration > B2B > Trading Partner Agreements.

2. On the Agreements screen, create either a new TPA or a duplicate TPA. Whenyou duplicate a TPA, you can update any or all of the fields. Also, you can use theduplicate TPA option to create a template TPA.

To create a new TPA (the TPA fields are empty), select Add TPA.

Trading Networks displays the Trading Partner Agreement Details screen.

To create a duplicate TPA (the TPA fields are filled with values from an existingTPA), click the row containing the name of the TPA that you want to duplicateand then click .

Trading Networks displays the Agreement Details screen.

3. On the Trading Partner Agreement Details screen, complete the following fields forthe TPA you want to create:

Note: The Sender, Receiver, and Agreement ID fields must be unique for each TPA.After you create a TPA, you cannot change or update these fields of theTPA.

For this TPA field... Specify...

Agreement ID The Agreement ID EDIINTAS3, which indicates that thetype of agreement between the two partners is an AS3agreement using EDIINT.

Note: You will not be able to continue creating a TPA unlessyou specify the Agreement ID.

Page 48: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 48

For this TPA field... Specify...

Sender The name of the trading partner that has the sender rolein the transaction the TPA will govern. Type in the nameof the partner or click Edit to select the sender from theSelect Partner dialog. This list includes your own profile(Enterprise).

For EDI, to create a template that you will duplicateto create other TPAs, you can use the default value ofUnknown.

Receiver The name of the trading partner that has the receiver rolein the transaction the TPA will govern. Type the nameof the receiver or click Edit to select the receiver from theSelect Partner dialog. This list includes your own profile(Enterprise).

For EDI, to create a template that you will duplicateto create other TPAs, you can use the default value ofUnknown.

Description Optional. A description for the TPA. You can use up to1024 characters of any type.

Data Status Whether you want to be able to modify the values of theTPA data of the IS document type. The data status is onlyapplicable when the agreement status is Agreed.

InitializationService

The wm.EDIINT.TPA:initService service. This servicepopulates the inputs to the variables in the IS documenttype wm.EDIINT.TPA:EDIINTAS3 with default values.

Type the name of the initialization service located on theserver or click Edit to browse the services and select theone you want to use.

IS Document Type The IS document type wm.EDIINT.TPA:EDIINTAS3. ThisIS document type defines the application-specific TPAdata. The TPA data is used to govern the exchange ofdocuments between the two partners.

Alternatively, click Find IS Document Type to browse the ISdocument types and select wm.EDIINT.TPA:EDIINTAS3.Trading Networks displays the data tree input values ofthe selected IS document type in the boom panel of theAgreement Details screen.

Page 49: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 49

For more information about creating TPAs, see the webMethods Trading NetworksAdministrator’s Guide for your release.

4. Click the Set Inputs icon and provide values for the following upload inputparameters for the document type wm.EDIINT.TPA:EDIINTAS3:

For this uploadparameter...

Specify...

AS3FTPServerLocation Whether to upload/download EDIINT AS3 messages toa remote or local FTP server:

remote—Upload/download EDIINT AS3 messagesto/from the remote FTP server in the FTPUpload andFTPDownload fields.local—Upload/download EDIINT AS3 messages to/from the local FTP server. No other TPA fields will beused.

uploadService The wm.EDIINT.delivery.defaultFTPUpload service, whichuploads AS3 files.

serverhost The name or IP address of the FTP server.

serverport The port number on which the FTP server listens forrequests. The default is 21.

dataport Optional. The listener port number of the data transferchannel, for example, 3345.

username The FTP user on the remote FTP server.

password The password for the user specified in username.

account Optional. The user name for an account on the FTPserver. Specify a value if your FTP host requires accountinformation. The account is defined in the FTP protocolto further identify the user and password specified inusername and password.

transfertype The type of the FTP data transfer mode:active—Active FTP data transfer mode. This is thedefault.passive—Passive FTP data transfer mode.

Page 50: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 50

For this uploadparameter...

Specify...

encoding Optional. The default character set for encoding datatransferred during this session. Specify an IANA-registered character set, for example, ISO-8859-1. If youdo not set encoding, the default JVM encoding is used.

timeout Optional. The time (measured in seconds) to wait fora response from the FTP server before timing out andterminating the request. The default is to wait forever.

secureFTP The type of the remote FTP server to connect to.

securedata Whether to protect the FTP data channel:True—Protect the FTP data channel.False—Do not protect the FTP data channel.

auth The authentication/security mechanism:SSLTLSTLS-P

dirpath Optional. The directory path to which EDIINT AS3messages are uploaded. If you do not specify a directorypath, the current directory will be used.

fileExtension Optional. The file extension to be assigned to theuploaded EDIINT AS3 message file, for example, msg.

EDIINT AS3 message file names are generated using thefollowing 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 namewith the extension msg might be 122012002222.msg.

renameTo Optional. The new file extension. After uploadingthe EDIINT AS3 message file, move it to a specifieddirectory, and optionally rename the file extension.

For example, if your FTP put command places the AS3file in the tmp directory and you want to move it tothe outbox directory after uploading it, specify thiscommand in the renameTo field:/outbox/*

Page 51: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 51

For this uploadparameter...

Specify...

The wildcard character * is a placeholder for the filename.

If you specified a file extension in the fileExtension field(for example, msg), you would specify this command inthe renameTo field:

/outbox/*.msg

Optionally, you can rename the file extension in thisfield as well.

MDNDirpath Optional. The directory to which MDNs are uploaded.

MDNFileExtension Optional. The file extension to be assigned to theuploaded MDN file, for example, mdn.

MDN file names are generated using the followingnaming convention:MMddhhmmSSss

where MM is month, dd is day, hh is hour, mm is minutes,and SSss is seconds. For example, a generated file namewith the extension mdn might be 122012002222.mdn.

MDNRenameTo Optional. The new file extension. After uploadingthe MDN files, move it to a specified directory, andoptionally rename its file extension.

For example, if your FTP put command places the MDNfile in the tmp directory and you want to move it tothe outbox directory after uploading it, specify thiscommand in the renameTo field:/outbox/*

The wildcard character * is a placeholder for the filename.

If you specified a file extension in the fileExtension field(for example, mdn), you would specify this command inthe renameTo field:

/outbox/*.mdn

Optionally, you can rename the file extension in thisfield as well.

Page 52: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 52

For this uploadparameter...

Specify...

storeUnique Optional. A unique file name that EDIINT assigns afterthe file is uploaded.

transfermode The type of the FTP file transfer mode:binary (required for AS3)ascii

5. Scroll down and provide values for the following download input parameters forwm.EDIINT.TPA:EDIINTAS3:

For this downloadparameter...

Specify...

downloadService The wm.EDIINT.delivery.defaultFTPDownloadservice, whichdownloads AS3 files.

serverhost The name or IP address of the FTP server.

serverport The port number of the FTP server. The default is 21.

dataport Optional. The listener port number of the data transferchannel, for example, 3345.

username The FTP user on the remote FTP server.

password The password for the user specified in username.

account Optional. The user name for an account on the FTPserver. Specify a value if your FTP host requires accountinformation. The account is defined in the FTP protocolto further identify the user and password specified inusername and password.

transfertype The type of the FTP data transfer mode:active—Active FTP data transfer mode. This is thedefault.passive—Passive FTP data transfer mode.

encoding Optional. The default character set for encoding datatransferred during this session. Specify an IANA-

Page 53: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 53

For this downloadparameter...

Specify...

registered character set, for example, ISO-8859-1. If youdo not set encoding, the default JVM encoding is used.

timeout Optional. The time (measured in seconds) to wait fora response from the FTP server before timing out andterminating the request. The default is to wait forever.

secureFTP The type of the remote FTP server to connect to.

securedata Whether to protect the FTP data channel:True—Protect the FTP data channel.False—Do not protect the FTP data channel.

auth The authentication/security mechanism:SSLTLSTLS-P

dirpath Optional. The directory path to which EDIINT AS3messages are downloaded. If you do not specify adirectory path, the current directory will be used.

filenamepattern Optional. The EDIINT AS3 message file paern, forexample, *.msg.

MDNDirpath Optional. The directory to which MDNs are downloaded.You can specify either the path relative to dirpath or theabsolute path.

MDNFilenamepattern Optional. The MDN message file paern, for example,*.mdn.

deleteFile Whether the file is to be deleted after downloading it.

transfermode The type of the FTP file transfer mode:binary (required for AS3)ascii

6. Click OK to create the TPA.

Page 54: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 54

Configuring Where Payloads Are PersistedBy default, all payloads are sent to Trading Networks during processing and persistedin the Trading Networks database. When payloads are large or contain aachments, thisaction can slow processing significantly.

Alternatively, large payloads and aachments can be persisted in the file system or inboth the Trading Networks database and the file system.

Persisting Payloads in Both Trading Networks and the File SystemTo configure Module for EDIINT to persist the payload in both the Trading Networksdatabase and the file system, you must:

Assign priority to the EDIINT Process Message - Persist in File System processing rule overthe default processing rule, EDIINT Process Message.

Set the persistInTNAndFileSystem property to true and define a file location in thepayloadDir property. For more information about configuring EDIINT properties,see "Configuring EDIINT Properties" on page 57.

Persisting Payloads in Only the File SystemTo configure Module for EDIINT to persist payloads in only the file system, you must:

Assign priority to the EDIINT Process Message - Persist in File System processing rule overthe default processing rule, EDIINT Process Message. EDIINT Process Message - Persist in FileSystem invokes the processMsg_persistPayload service.

Set the persistInTNAndFileSystem property to false and define a file location in thepayloadDir property. For more information about configuring EDIINT properties,see "Configuring EDIINT Properties" on page 57.

Configuring Whether Trading Networks Is to ProcessPayloadsIn addition to having Module for EDIINT perform transport-level processing for anentire inbound EDIINT document, you can perform further processing on the payload ofthe document by having the module send the payload to Trading Networks for separateprocessing. As installed, the module is configured to submit the payload to TradingNetworks.

When Module for EDIINT is configured to send the payload to Trading Networks, themodule submits the payload after it completes transport-level processing.

Page 55: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 55

Use the Module for EDI to process payloads that have one of the following contenttypes:

application/edi-x12

application/edifact

application/xml

application/edi-consent (which you can use to submit TRADACOMS payloads)

If you want to have Module for EDIINT submit payloads that have a different contenttype, you must provide your own service to process the payload and submit it toTrading Networks.

To enable or disable Trading Networks payload processing

1. Open Integration Server Administrator.

2. In the Solutions menu of the navigation panel, click EDIINT.

Integration Server Administrator opens a new browser window to display theModule for EDIINT home page.

3. In the navigation panel of the Module for EDIINT home page, click Configuration.

4. Enable or disable Module for EDIINT to or from submiing payloads to TradingNetworks by doing one of the following:

To enable, select the Submit payload to TN check box.

To disable, clear the Submit payload to TN check box.

Note: You can also set this option in My webMethods by configuring thesubmitPayload EDIINT property. For more information, see "ConfiguringEDIINT Properties" on page 57.

5. In the User Process Payload Service field, specify a service that you created to processpayloads and submit them to Trading Networks. You only need to specify a serviceif:

You selected the Submit payload to TN check box.

-AND-

The content types of the inbound payloads are not application/edi-X12,application/EDIFACT, application/XML, or application/edi-consent.

The service you specify in the User Process Payload Service field must accept thefollowing input variables:

Input Variable Description

stream InputStream The payload.

Page 56: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 56

Input Variable Description

contentType String The content type of the payload.

EDIINTbizdoc Document The bizdoc that contains the original EDIINTmessage. For the structure of EDIINTbizdoc , see thewm.tn.rec:BizDocEnvelope service in the webMethods TradingNetworks Built-In Services Reference for your release.

aachmentsPartName Document List Collection of aachments from the originalEDIINT message.

Variable Description

aachmentPartNameString Internal name assigned to theaachment for unique identification.

aachmentPartStreamInputStream The aachment streamaached to the original message.

Note: You can also specify this service in My webMethods by configuring theuserProcessPayloadService EDIINT property. For more information, see"Configuring EDIINT Properties" on page 57.

6. Module for EDIINT ignores your seings in the following situations:

Conditions Behavior of Module for EDIINT

You select the Submit payload to TNcheck box -AND-

You specify a service in the UserProcess Payload Service field -AND-

The inbound payload has acontent type that is one of:

application/edi-X12application/EDIFACTapplication/XMLapplication/edi-Consent

Module for EDI ignores the serviceyou specify in the User Process PayloadService field.

When you select the Submit payloadto TN check box, Module for EDIINTalways uses the Module for EDI toprocess payloads that have one of thefollowing content types:

application/edi-X12application/EDIFACTapplication/XMLapplication/edi-Consent

You select the Submit payload to TNcheck box -AND-

Module for EDIINT ignores the checkin the Submit payload to TN check box.

The module cannot submit a payloadwith an unsupported content type to

Page 57: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 57

Conditions Behavior of Module for EDIINT

You do not specify a service in theUser Process Payload Service field -AND-

The content type of the inboundpayload is not one of:

application/edi-X12application/EDIFACTapplication/XMLapplication/edi-consent

Trading Networks. You must providea service that submits payloads withunsupported content types.

You clear the Submit payload to TNcheck box -AND-

You specify a service in the UserProcess Payload Service field.

Module for EDIINT ignores the serviceyou specify in the User Process PayloadService field.

The module only invokes a service youspecify to submit payloads to TradingNetworks when you select the Submitpayload to TN check box.

7. Click Save Changes.

Note: For information about how to set up Module for EDI and Trading Networksto process EDI documents, see the webMethods Module for EDI Installation andUser’s Guide.

Configuring EDIINT PropertiesUse the EDIINT properties to control some of the module’s functions.

To configure EDIINT properties

1. In My webMethods, go to Administration > Integration > B2B Settings > ConfigureProperties.

2. In the Module for EDIINT Configuration Properties panel, specify values for thefollowing properties:

Property Definition

mailhost Specifies the name of the mail host to be usedfor EDIINT AS1 (SMTP) transfers. The default issmtp.company.com.

Page 58: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 58

Property Definition

EDIIINTIDMatch Determines if you can use the external ID types forEDIINT AS1, EDIINT AS2, and EDIINT AS3 in your profiles:

True—External ID types can be used in your profile.This is the default.

False—External ID types cannot be used in yourprofile.

submitPayload When the payload is an EDI or XML document (that is,its content type is either application/xml, application/edi-x12, application/edifact, or application/edi-consent), determines if the payload is submied toTrading Networks for processing:

True—Submits the payload to Trading Networks.This is the default.

False —Does not submit the payload to TradingNetworks.

userProcessPayloadService Determines what service is configured to processthe payload of a non-EDI or non-XML document(that is, when the content type of the payload isanything except application/xml, application/edi-x12,application/edifact, or application/edi-consent).

waitInSeconds Determines how many seconds Module for EDIINTwaits before sending an asynchronous MDN. Thedefault is 30.

processPayloadIfMDNNotSentDetermines if the payload is to be processed when theasynchronous MDN is not sent successfully:

True—Processes the payload.

False—Does not process the payload. This is thedefault.

persistSentAttachments Determines if the aachments and headers that weresent with an EDI document are added to the contentpart of the Trading Networks bizdoc:

True —Both aachments and headers are added tothe content part of the bizdoc. This is the default.

HeaderOnly—Only headers are added to the contentpart of the bizdoc.

Page 59: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 59

Property Definition

False—Neither headers nor aachments are added tothe content part of the bizdoc.

payloadDir Specifies the location of the file system in which to savethe payload and the aachments of an incoming EDIdocument. There is no default.

Note: When the EDIINT Process Message - Persistin File system processing rule invokes thewm.EDIINT:rules:processMsg_persistPayload service anda value is given to the PayloadDir parameter, thatvalue has precedence over the value set in thisproperty.

AS2RestartTempFilePath Specifies the location in which to store incoming AS2messages when AS2 restart is enabled. The default ispackages/WmEDIINT/pub/as2restart_transactions.

AS2RestartRetryCount Specifies the number of times Module for EDIINT willaempt to restart message transmission that has beeninterrupted. The default is 5.

AS2RestartRetryIntervalInSecondsDetermines how many seconds Module for EDIINTwaits between aempts to restart transmiing theinterrupted message. The default is 2.

AS2RestartEnabled Determines if the outgoing messages are AS2 restartenabled.

You can override this global property by seing theenableAS2Restart input parameter in the wm.EDIINT:Sendservice.

True— Outgoing message is AS2 restart enabled.

False —Outgoing message is not AS2 restartenabled. This is the default.

persistInTNAndFileSystem Optional. In conjunction with the payloadDir property,specifies whether the EDI payload is persisted inthe file system in addition to the Trading Networksdatabase, as follows:

Page 60: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 60

Property Definition

WhenpayloadDir is...

AndpersistInTNAndFileSystemis...

The EDI payloadis saved in...

Specified True Both TradingNetworks andthe file system.

Note: Persistingpayloadsin both theTradingNetworksand the filesystem slowsperformanceeven furtherthan persistingthem in onlyone of theoptions.

Notspecified

True, false, or notspecified

TradingNetworks.

Specified False or notspecified

The file system.If there is anerror saving tothe file system,the payloadis saved inTradingNetworks.

Notspecified

Not specified TradingNetworks.

alwaysUseUserProcessPayloadServiceDetermines if the userProcessPayload service shouldalways be used irrespective of content type.

True—userProcessPayload service is used irrespective ofcontent type.

Page 61: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 61

Property Definition

False—userProcessPayload service is used only if thecontent types of the inbound payloads are not any ofthe following:

application/edi-X12

application/EDIFACT

application/XML

application/edi-consent

This is the default.

receiverURLs A comma-separated list of URLs. The default is /invoke/wm.EDIINT/receive.

Note: The new URLs must be appended to the defaultURL, for example, wm.EDIINT.receiverURLs=/invoke/wm.EDIINT/receive,/invoke/EDIINT_AS2/clone_Service

Trading Networks Objects Provided for EDIINTWhen you install Module for EDIINT, Trading Networks objects (that is, TN documenttypes, document aributes, extended profile fields, and processing rules) are installedin Trading Networks for you. This section describes the Trading Networks objectsprovided with Module for EDIINT.

The information in this section about the Trading Networks objects is for reference only.You should not alter the definitions of any of the Trading Networks objects.

TN Document TypesThe following table describes the TN document types provided for EDIINT processingand the document aributes associated with each. For more information about thedocument aributes, see "Document Aributes" on page 62.

TN document typename

Description Associated document attributes

EDIINT Trading Networksmatches all EDIINTdocuments to this TNdocument type.

EDIINT Message TypeEDIINT Message IDEDIINT Message DigestEDIINT Delivery URL

Page 62: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 62

TN document typename

Description Associated document attributes

EDIINT MDN Trading Networksmatches all EDIINTMDNs to this TNdocument type.

EDIINT Message TypeEDIINT Message IDEDIINT Delivery URLEDIINT MDN OriginalMessage IDEDIINT MDN Received MICEDIINT MDN Disposition

Document AttributesThe following table describes the document aributes provided for EDIINT processing.The TN document types described in "TN Document Types" on page 61 extract theseaributes from the EDIINT documents and MDNs.

This attributename...

Represents... And is extracted from...

EDIINT MessageType

The protocol that theEDIINT document uses:AS1, AS2, or AS3.

EDIINT documentsEDIINT MDNs

EDIINT MessageID

The value of the EDIINTMessage-ID header, whichis also used for the valueof the Trading NetworksDocument ID systemaribute.

EDIINT documentsEDIINT MDNs

EDIINT MessageDigest

The message digestcalculated for the EDIINTdocument.

EDIINT documents

EDIINT DeliveryURL

The destination URL or IPaddress from the EDIINTdocument.

EDIINT documentsEDIINT MDNs

EDIINT MDNOriginalMessage ID

The value of the EDIINTMessage-ID header fromthe original EDIINTdocument for which theMDN is a receipt.

EDIINT MDNs

Page 63: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 63

This attributename...

Represents... And is extracted from...

EDIINT MDNReceived MIC

The message digestcalculated for the EDIINTMDN.

EDIINT MDNs

EDIINT MDNDisposition

The results fromprocessing the originalEDIINT document forwhich the MDN is areceipt.

EDIINT MDNs

Extended FieldsWhen you install Module for EDIINT, the EDIINT field group is added to the TradingNetworks profiles. The EDIINT field group contains extended profile fields used forEDIINT processing. For more information about these fields, see "Extended Fields Tab ofthe Profile" on page 40.

Processing RulesModule for EDIINT provides processing rules for EDIINT transport-level processing. Ifyou want to do business-level processing on the payload of the EDIINT document, youneed to:

Configure Module for EDIINT to submit the payload to Trading Networks. Forinstructions, see "Configuring Whether Trading Networks Is to Process Payloads" onpage 54.

Create your own processing rules to process the payloads. For information aboutcreating processing rules, see the webMethods Trading Networks Administrator’s Guidefor your release.

The following table describes the processing rules provided for EDIINT transport-levelprocessing. For more information about the corresponding services for each processingrule, see "Services Invoked by Processing Rules" on page 64.

Processing Rule Name Description

EDIINT Process Message Trading Networks invokes this processing rulefor inbound EDIINT documents. This processingrule invokes the wm.EDIINT.rules:processMsg service toprocess the inbound EDIINT document.

Page 64: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 64

Processing Rule Name Description

EDIINT Process MDNMessage

Trading Networks invokes this processing rulefor inbound EDIINT MDNs. This processing ruleinvokes the wm.EDIINT.rules:processMDN service toprocess an inbound MDN message.

EDIINT Send Message Trading Networks invokes this processing rule foroutbound EDIINT documents. This processing ruleinvokes the wm.EDIINT.rules:sendMsg service to initiatethe sending of an outbound EDIINT document.

EDIINT Send MDN Message Trading Networks invokes this processing rulefor outbound EDIINT MDNs. This processing ruleinvokes the wm.EDIINT.rules:sendMDN service to initiatethe sending of an outbound EDIINT MDN message.

EDIINT Process Message -Persist in File system

Trading Networks invokes this processing rulefor inbound EDIINT documents that are to bepersisted in the file system. By default, inboundEDIINT documents are persisted in the TradingNetworks database. This processing rule invokesthe wm.EDIINT.rules:processMsg_persistPayload service toprocess an EDIINT document and persist it in thefile system that the user configured.

Important: With the exception of providing the value for payloadDir in the EDIINTProcess Message - Persist in File system processing rule, you should not modifyor customize these processing rules in any way.

Services Invoked by Processing RulesThe following table describes the services that are invoked by the processing rulesdescribed in "Processing Rules" on page 63. All services are located in thewm.EDIINT.rules folder except for deliveryDocument, which is located in the wm.EDIINT.deliveryfolder.

Service Description Processing Rule that InvokesIt

processMsg Processes an inbound EDIINTdocument.

EDIINT Process Message

Page 65: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 65

Service Description Processing Rule that InvokesIt

processMsg_persistPayloadProcesses an inbound EDIINTdocument and stores it in the filesystem that the user configured.

EDIINT Process Message -Persist in File system

processPayload Processes the payload of anEDIINT document.

If you configure Module forEDIINT to process payloads,the wm.EDIINT.rules:processMsgservice invokes this service tosubmit the payload to TradingNetworks. For more informationabout configuring the moduleto process payloads, see"Configuring Whether TradingNetworks Is to Process Payloads"on page 54.

EDIINT Process Message

processMDN Processes an inbound EDIINTMDN.

EDIINT Process MDN Message

sendMsg Initiates the sending of anoutbound EDIINT document.

EDIINT Send Message

sendMDN Initiates the sending of anoutbound EDIINT MDNdocument.

EDIINT Send MDN Message

deliveryDocument Sends an outbound EDIINTdocument or MDN.

The wm.EDIINT.rules:sendMDNand the wm.EDIINT.rules:sendMsgservices invoke this service.

EDIINT Send Message -AND- EDIINT Send MDNMessage

Restarting AS2 Message TransmissionWhen the optional AS2 Restart feature is enabled and transmission of an AS2 messageis interrupted, the sender is able to restart the transmission from the point at which itfailed, instead of starting the entire transmission over again. This is advantageous when

Page 66: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 66

large files are transmied because the possibility of failure due to such occurrences asconnection timeouts or loss of network connectivity is greater.

There are two ways to enable AS2 Restart when Module for EDIINT is in the sender role:

Using the enableAS2Restart input parameter of the wm.EDIINT:send service. For moreinformation, see "Invoking the Send Service to Restart Message Transmission" onpage 66.

Configuring the AS2RestartEnabled EDIINT property. For more information, see"Using EDIINT Properties to Restart Message Transmission" on page 67.

Note: The enableAS2Restart input parameter of the wm.EDIINT:send service overridesthe global AS2RestartEnabled EDIINT property.

When Module for EDIINT is the receiver, the module temporarily saves restart-enabledmessages to its file system in the location defined in the AS2RestartTempFilePathproperty. As a message comes in, the module continues to append this temporary fileand returns to the sender a Content-length header containing the number of bytes thathave already been received, as an HTTP HEAD response. If message transmission fails,the sender restarts transmission from the point specified in the Content-length header.

Once the entire payload is received, the module begins processing it.

You can purge the payloads saved in the location specified in theAS2RestartTempFilePath property at any time by invoking the wm.EDIINT:purgeFilesservice. For more information, see "wm.EDIINT:purgeFiles" on page 96.

Invoking the Send Service to Restart Message TransmissionUsing the wm.EDIINT:send service to restart AS2 message transmission requires seingthe enableAS2Restart input parameter to true. The following table explains how AS2message transmission is restarted when the send service is invoked.

Step Description

1 For every message that is restart-enabled, Module for EDIINTadds to the message headers an ETag header and to the bizdocan ETag aribute, both of which contain a unique transfer ID, theETag ID.

2 The module sends the receiver an HTTP HEAD request for thenumber of bytes that have already been transmied.

3 The receiver (either another Module for EDIINT or a similarEDIINT product) responds to the HEAD request with a Content-length header specifying the number of bytes that have alreadybeen received for the particular ETag ID.

Page 67: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Before You Can Transport Documents Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 67

Step Description

4 Module for EDIINT uses the value in the Content-length headerto determine at what point to resume transmission.

For more information about defining send service parameters, see wm.EDIINT:send on page100.

Using EDIINT Properties to Restart Message TransmissionUsing EDIINT properties to control restarting message transmission requires seingthe AS2RestartEnabled property to true. When Module for EDIINT is the sender andmessage transmission fails, the module aempts to restart it. When transmission for asingle message continues to fail, the module aempts to restart the message transferevery so many seconds, as defined in the AS2RestartRetryIntervalInSeconds property,until the message is sent successfully or the number of retry aempts defined in theAS2RestartRetryCount property is reached.

When the number of aempts is exhausted before transmission is complete, the sendercan restart the transmission manually. For more information, see "Restarting AS2Message Transmission Manually" on page 67.

For more information about configuring EDIINT properties to enable AS2 Restart, see"Configuring EDIINT Properties" on page 57.

Restarting AS2 Message Transmission ManuallyWhen Module for EDIINT is configured to restart AS2 message transmissionautomatically, you can optionally restart AS2 message transmission manually.

Note: You can determine which transactions are restart-enabled by performing asearch of the EDIINT ETag aribute for the value “is not blank”. For moreinformation about performing searches, see Working with My webMethods.

To restart AS2 message transmission manually

1. In My webMethods, go to Monitoring > Integration > B2B > Transactions.

2. Select the transaction that you want to restart.

3. In the Transactions Details panel, click Resume AS2 Transfer.

Page 68: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 68

Page 69: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Creating a Client to Submit a Document Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 69

4   Creating a Client to Submit a Document Using EDIINT

■ Overview ....................................................................................................................................... 70

■ Content Types to Use .................................................................................................................. 70

■ Setting the Input Variables for the wm.EDIINT:send Service ....................................................... 70

Page 70: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Creating a Client to Submit a Document Using EDIINT

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 70

OverviewThe 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 haswebMethods Module for EDIINT installed, the client should invoke the wm.EDIINT:sendservice to package the document correctly and send it. If you are not using webMethodssoftware for the client, see the documentation for the EDIINT software you are using todetermine how to correctly package and send documents. This chapter describes how tocreate a client using the wm.EDIINT:send service of Module for EDIINT.

Note: You can use the wm.EDIINT:send service to send both EDI documents and non-EDI documents.

Content Types to UseYou can use any of the EDIINT content types listed below. These content types are forboth EDIINT documents and MDNs.

application/edi-consent

application/edi-x12

application/edifact

application/pkcs7-mime

application/pkcs7-signature

application/xml

message/disposition-notification

multipart/related

multipart/report

multipart/signed

Setting the Input Variables for the wm.EDIINT:send ServiceThe client should invoke the wm.EDIINT:send service to correctly package a documentfor EDIINT transport. For the list of input variables that the client should set for thewm.EDIINT:send service, see " webMethods Module for EDIINT Services" on page 95.

Page 71: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Processing Inbound EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 71

5   Processing Inbound EDIINT Documents and MDNs

■ Processing Inbound EDIINT Documents ..................................................................................... 72

■ Processing Inbound EDIINT MDNs ............................................................................................. 75

Page 72: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Processing Inbound EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 72

Processing Inbound EDIINT DocumentsModule for EDIINT provides the wM.EDIINT:receive service as the entry point for inboundEDIINT documents. That is, clients that send EDIINT documents must invoke thewM.EDIINT:receive service. For more about creating a client that sends EDIINT documents,see "Creating a Client to Submit a Document Using EDIINT" on page 69.

For EDIINT transport-level processing, you do not need to create or customize services.the module provides all the logic needed to perform transport-level processing. If youwant to perform business-level processing on the payload of the EDIINT document, youwill need to add your own logic.

Before You Can Process Inbound EDIINT DocumentsDefine a profile for the sender and receiver of the EDIINT document. For instructionsabout how to create profiles, see the webMethods Trading Networks Administrator’sGuide for your release. For information about adding EDIINT information to profiles,see "Including EDIINT Information in Profiles" on page 36.

If you want to process the payloads of the EDIINT documents, configure Modulefor EDIINT to submit the payloads to Trading Networks. For instructions, see"Configuring Whether Trading Networks Is to Process Payloads" on page 54.

Example of an EDIINT Document Posted by HTTPThe following is an example of an EDIINT document posted by HTTP:Content-type: multipart/signed; micalg=SHA-1; protocol="application/pkcs7- signature"; boundary="----=_Part_0_409673203.1011470256738" Disposition-notification-to: http://Administrator:manage@localhost:5555/invoke/wm.EDIINT/receive Disposition-notification-options: signed-receipt-protocol=optional, pkcs7- signature; signed-receipt-micalg=optional, SHA-1 AS2-From: 123456789 AS2-To: 987654321 Message-ID: <1687657971.1011470256928.JavaMail.zhouz@zhenzhou> Content-Length: 2534 ------=_Part_0_409673203.1011470256738 Content-Type: application/edi-x12 Content-Transfer-Encoding: binary ISA*00*ssssssssss*00*rrrrrrrrrr*ZZ*123456789 *ZZ*987654321 *961007*2013*U*00200*000000001*0*T** GS*PO*S1S1S1S1S1S1S1S*R1R1R1R1R1R1R1R*961007*2013*000000004*X*003050 ST*850*000040001 BEG*00*BE*2a*43324234v5523*961007*23tc4vy24v2h3vh3vh*ZZ*IEL*09*RE*09 ... SE*22*000040001 GE*1*000000004 IEA*1*000000001 ------=_Part_0_409673203.1011470256738 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64

Page 73: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Processing Inbound EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 73

Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAMYIBuDCCAbQC AQEwXjBZMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOd2ViTWV0aG9kcyBJbmMxDzANBgNVBAsTBlBE IEVESTEgMB4GA1UEAxMXRURJSU5UIHNhbXBsZSBTZW5kZXIgQ0ECAQEwCQYFKw4DAhoFAKCBsTAY BgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wMjAxMTcyMDM4MDhaMCMG CSqGSIb3DQEJBDEWBBQKbJZgrh/bit8BFmv1fuaWf40PjzBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqG SIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDANBggqhkiG9w0DAgIBKDAHBgUr DgMCBzANBgkqhkiG9w0BAQEFAASBgKRrXO1tX3oFfLTgJwuoWKhygMQzdyNpX1Z4xU7kjDqYS8gs yvaRSl0s7d4wA3N1CLGQUk87yRCFqoJPygrXyCI0kaGh1Ny61GxkPHuQ2cP54m11Wzgq9OGhaRba TJu8HWB1ETFBML+wIBGunkRcR3s5mEpxINmflEYNZlxmf78ZAAAAAAAA ------=_Part_0_409673203.1011470256738-

Creating Outbound MDNs that Acknowledge Receipt of an EDIINTDocumentFor an inbound EDIINT document, Trading Networks executes the EDIINT ProcessMessage processing rule, which in turn invokes the wm.EDIINT.rules:processMsg service. Thewm.EDIINT.rules:processMsg service detects whether the sender of the EDIINT documentrequested an MDN.

If the sender requested an MDN, theprocessMsg service determines whether the senderrequested a signed or an unsigned MDN. The processMsg service creates the appropriatetype of MDN and submits the MDN back to Trading Networks for delivery to thesender.

To deliver the outbound EDIINT MDN, Trading Networks executes the EDIINT SendMDN Message processing rule, which in turn invokes the wm.EDIINT.rules:sendMDNservice. The sendMDN service determines whether the sender requested a synchronous orasynchronous MDN.

If the sender requested a synchronous MDN, the sendMDN service returns the MDNto the sender using the same HTTP connection.

If the sender requested an asynchronous MDN, the sendMDN service invokes thewm.EDIINT.rules:deliveryDocument service to send the MDN as a separate transaction.

Setting Up to Process Payloads from EDIINT DocumentsTo perform business-level processing on the payloads of EDIINT documents

1. Configure Module for EDIINT to process payloads. For instructions, see"ConfiguringWhether Trading Networks Is to Process Payloads" on page 54.

2. Set the value of the SMIME Type extended field in the senders' profiles to specifythe SMIME type you expect inbound EDIINT documents to use. The module usesthe SMIME type you specify to determine whether to process the payload. For moreinformation, see "How the SMIME Type Profile Field Affects Processing Payloads"on page 74. For more information about seing up profiles for EDIINT, see"Including EDIINT Information in Profiles" on page 36.

3. Set up Trading Networks to process the payload and perform the business-levellogic.

Page 74: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Processing Inbound EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 74

If the payload is an EDI document , see the webMethods Module for EDI Installationand User’s Guide for how to set up Module for EDI to process the EDI documents.

If the payload is not an EDI document , you must:

Define a TN document type for the payload. For instructions, see thewebMethods Trading Networks Administrator’s Guide for your release.

Define a processing rule for the payload document. For instructions, see thewebMethods Trading Networks Administrator’s Guide for your release.

How the SMIME Type Profile Field Affects Processing PayloadsModule for EDIINT determines the SMIME type used by the inbound EDIINTdocument, that is, whether the inbound document is plain, signed, encrypted, or signedand encrypted. The module then compares the SMIME type of the inbound documentwith the value of the SMIME Type extended profile field of the sender's profile. The tablebelow describes the actions the module takes based on the outcome of the comparison.

Value of SMIME TypeExtended Profile Field

SMIME Type of InboundDocument

Action Module for EDIINT Takes forthe Inbound Document

plain any value Processes the payload.

signed

signed and encrypted

Processes the payload.signed

plain

encrypted

Logs an error message to theTrading Networks activitylog and does not process thepayload.

encrypted

signed and encrypted

Processes the payload.encrypted

plain

signed

Logs an error message to theTrading Networks activitylog and does not process thepayload.

signed and encrypted Processes the payload.signedAndEncrypted

plain

signed

Logs an error message to theTrading Networks activity

Page 75: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Processing Inbound EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 75

Value of SMIME TypeExtended Profile Field

SMIME Type of InboundDocument

Action Module for EDIINT Takes forthe Inbound Document

encrypted log and does not process thepayload.

Processing Inbound EDIINT MDNsModule for EDIINT provides the wM.EDIINT:receive service as the entry point forinbound EDIINT MDNs. That is, clients that send EDIINT MDNs must invoke thewM.EDIINT:receive service. For more information about creating a client that sends EDIINTdocuments, see "Creating a Client to Submit a Document Using EDIINT" on page 69.

You do not need to create or customize services to process inbound EDIINT MDNs. Themodule provides all the logic needed to perform the processing.

Before You Can Process Inbound EDIINT MDNsDefine a profile for the sender and receiver of the EDIINT MDN. For instruction abouthow to create profiles, see the webMethods Trading Networks Administrator’s Guidefor your release. For information about adding EDIINT information to profiles, see"Including EDIINT Information in Profiles" on page 36.

Example of an EDIINT MDN Posted by HTTPThe following is an example of an EDIINT MDN posted by HTTP:AS2-From: 987654321 AS2-To: 123456789 Message-ID: <2038921766.1012252564086.JavaMail.zhenzhou@zhenzhou>Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=SHA-1; boundary="----=_Part_20_-1967424986.1012252564076" ------=_Part_20_-1967424986.1012252564076Content-Type: multipart/report; Report- Type=disposition-notification; boundary="----=_Part_19_568293921.1012252564056" ------=_Part_19_568293921.1012252564056Content-Type: text/plainContent-Transfer- Encoding: 7bit MDN for - Message ID: <128678451.1012252560430.JavaMail.zhenzhou@zhenzhou> From: 123456789 To: 987654321 Received on: 2002-01-28 at 16:16:04 (EST) Status: processed Comment: This is not a guarantee that the message has been completely processed or understood by the receiving translator ------=_Part_19_568293921.1012252564056Content-Type: message/disposition- notificationContent-Transfer-Encoding: 7bit Reporting-UA: webMethods Integration ServerOriginal-Recipient: 987654321Final- Recipient: 987654321Original-Message-ID: <128678451.1012252560430.JavaMail.zhenzhou@zhenzhou>Received-content-MIC: qZvJD2+2H/OAQYa3+uIZUIyNUaw=, SHA-1Disposition: automatic-action/MDN-sent- automatically; processed ------=_Part_19_568293921.1012252564056--

Page 76: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Processing Inbound EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 76

------=_Part_20_-1967424986.1012252564076Content-Type: application/pkcs7- signature; name=smime.p7sContent-Transfer-Encoding: base64Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAMYIBujCCAbYCAQE wYDBbMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOd2ViTWV0aG9kcyBJbmMxDzANBgNVBAsTBlBEIEVEST EiMCAGA1UEAxMZRURJSU5UIHNhbXBsZSBSZWNlaXZlciBDQQIBATAJBgUrDgMCGgUAoIGxMBgGCSqGS Ib3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAyMDEyODIxMTYwNFowIwYJKoZIhvcN AQkEMRYEFP0/GE3KNoRkF6KUtnqDOm40bUxEMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgY IKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMAcGBSsOAwIHMA0GCSqGSI b3DQEBAQUABIGAJBb3whwo+h0PsmEyPMXQHIpjFS5fa5w8PIipHQ9nfJVoTTbp5VTL4zT1E34vjESok tGBYmYnD+gTTe2aEB3PoIqCym25Lv2MZuvcSVNoa2hS4hrCnDwmYNqbFySlV2ZAqodgBElztd71eeIg nXLU1/R65gFOJw72Wto0xi8Q930AAAAAAAA= ------=_Part_20_-1967424986.1012252564076--

Page 77: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Using EDIINT to Deliver Outbound Documents

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 77

6   Using EDIINT to Deliver Outbound Documents

■ Before You Can Deliver Outbound EDIINT Documents .............................................................. 78

■ Setting the SMIME Type of the Outbound EDIINT Document ..................................................... 78

■ Using the wm.EDIINT:send Service to Send EDIINT Documents ............................................... 78

Page 78: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Using EDIINT to Deliver Outbound Documents

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 78

Before You Can Deliver Outbound EDIINT DocumentsDefine a profile for the sender and receiver of the EDIINT document. For instructionsabout how to create profiles, see the webMethods Trading Networks Administrator’s Guidefor your release. For information about adding EDIINT information to profiles, see"Including EDIINT Information in Profiles" on page 36.

Setting the SMIME Type of the Outbound EDIINT DocumentYou can define the SMIME type that you want webMethods Module for EDIINT(Module for EDIINT) to use for an outbound EDIINT document; that is, whether youwant to send the outbound EDIINT message:

Without signing or encrypting (plain)

Signing only (signed)

Encrypting only (encrypt)

Signing and encrypting (signedAndEncrypted)

You specify the SMIME type that you want the module to use by using one of thefollowing:

The Type input parameter to the wm.EDIINT:send service

The SMIME Type extended profile field, and seing the Type input variable to thewm.EDIINT:send service to getFromProfile. For more information about seing theSMIME Type extended profile field, see "Extended Fields Tab of the Profile" on page40.

Using the wm.EDIINT:send Service to Send EDIINTDocumentsModule for EDIINT provides the wm.EDIINT:send service to send EDIINT documents. Thisservice performs all the necessary EDIINT transport-level processing.

To use the wm.EDIINT:send service:

Set the wm.EDIINT:send service input variables as necessary. You must create ajava.io.InputStream from the EDI or XML data and pass it to the input variable data/stream . For a description of key input variables, see "Seing the Input Variables forthe wm.EDIINT:send Service" on page 70.

Also, you must create a java.io.InputStream for each aachment you send with anEDIINT message.

Page 79: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Using EDIINT to Deliver Outbound Documents

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 79

For a complete description of this service, see " webMethods Module for EDIINTServices" on page 95.

Invoke the wm.EDIINT:send service from a service that you create.

Important: Do not invoke the wm.EDIINT:send service directly from the TradingNetworksExecute a Service processing action. Doing so will produceprocessing errors. The service that you create to invoke the wm.EDIINT:sendservice can be invoked directly from the Execute a Service processing action.

Page 80: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 80

Page 81: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Viewing and Managing Information About EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 81

7   Viewing and Managing Information About EDIINTDocuments and MDNs

■ Viewing Information about EDIINT Documents and MDNs ......................................................... 82

■ Resubmitting EDIINT Outbound Transactions ............................................................................. 85

Page 82: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Viewing and Managing Information About EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 82

Viewing Information about EDIINT Documents and MDNsBecause EDIINT documents and MDNs are processed through Trading Networks,Module for EDIINT takes advantage of Trading Networks features. For example, youcan use the Trading Networks system aribute, User Status, to assign a user-definedstatus to a document. The module assigns statuses to EDIINT documents and MDNsas it processes the document. For more information about viewing the user statusassociated with a document, see "Viewing the User Status Associated with a Document"on page 82.

If you submit the payload of an inbound EDIINT document to Trading Networks forbusiness-level processing, you can view information about the envelope(s) that thepayload contains. For more information, see "Viewing Related Documents" on page84.

Viewing the User Status Associated with a DocumentYou can view the User Status associated with a document on the Transactions page ofMy webMethods. For instructions on how to view information about documents, see thewebMethods Trading Networks User’s Guide for your release.

The following table describes the values of the User Status system aribute for EDIINTtransport-level processing.

Type User Status Description

ProcessMsg The EDIINT document has beenreceived and processing is starting.

ProcessMsgPAYLOAD

The EDIINT document was processedsuccessfully. Module for EDIINT isconfigured to process payloads and thewm.EDIINT.rules:processPayload service hasbeen invoked.

Inbound EDIINTdocument

ProcessMsgERROR

One of the following:

The EDIINT document contained aninvalid sender ID or receiver ID.

The message could not be decryptedor verified.

ProcessMsgDONE

The EDIINT document was processedsuccessfully, and Module for EDIINT

Page 83: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Viewing and Managing Information About EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 83

Type User Status Descriptionwas configured not to submit thepayload to Trading Networks.

ProcessMDNMsg The EDIINT MDN has been receivedand processing is starting.

ProcessMDNMsgDONE

The MDN was processed.

ProcessMDNMsgERROR

One of the following:

The MDN contained an invalidsender ID or receiver ID.

The signature of the MDN could notbe verified.

The MDN contained errors.

The MDN digest did not match thatof the original EDIINT document.

Inbound EDIINTMDN

ProcessMDNMsgIGNORED

An identical MDN was previouslyreceived.

ProcessMDNMsgDONE/NAK

The message digest of the inbounddocument does not match that of theoutbound document.

SendMsg Processing to send the EDIINTdocument has started.

SendMsg DONE One of the following:

The message was sent and an MDNwas not requested.

The message was sent and an MDNwas returned.

SendMsgWAITMDN

The message was sent and an MDNwas requested but not yet received.

OutboundEDIINTdocument

SendMsgERROR

One of the following:

The message could not be sent.

Page 84: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Viewing and Managing Information About EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 84

Type User Status Description

The returned MDN contained errors.

SendMDNMsg Processing to send the EDIINT MDNhas started.

SendMDNMsgDONE

The MDN was sent successfully.

OutboundEDIINT MDN

SendMDNMsgERROR

The MDN could not be sent.

Viewing Related DocumentsIf you submit the payload of an inbound EDIINT document to Trading Networks forbusiness-level processing, you can view information about the envelope(s) that thepayload contains.

By default, Trading Networks persists to the Trading Networks database any EDIINTdocument that is submied to it. If the document, which is stored in the pipelinevariable bizdoc , has not been persisted (or if the wm.EDIINT.rules:receive service fails to placethe document into bizdoc ), the following occurs, depending on the content type of thepayload:

Payload ContentType

Action If the bizdoc Has Not Been Persisted

application/XML No information about the payload is displayed.

application/edi-X12

application/EDIFACT

application/edi-consent

Information about the main envelope is not displayed, butinformation about each individual envelope that has beenpersisted is displayed.

other If you specified a user-defined service to handle anothercontent type (as described in "Configuring Whether TradingNetworks Is to Process Payloads" on page 54), Modulefor EDIINT passes the bizdoc to the user-defined service,along with the payload's data stream and content type. The

Page 85: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Viewing and Managing Information About EDIINT Documents and MDNs

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 85

Payload ContentType

Action If the bizdoc Has Not Been Persisted

user-defined service must handle the display of payloadinformation.

For instructions about how to view related documents in My webMethods, see thewebMethods Trading Networks User’s Guide for your release.

Resubmitting EDIINT Outbound TransactionsYou should resubmit an outbound transaction if the document was not recognizedwhen it was originally received. You will need to create or modify a TN document typedefinition to recognize the document before processing the document again.

When you resubmit a document, Trading Networks performs the following processing:

Uses the TN document type definitions to recognize the document

Performs a processing rule lookup to determine the rule to use

Performs the pre-processing and processing actions identified in the matchingprocessing rule

For instructions about how to resubmit documents in My webMethods, see thewebMethods Trading Networks User’s Guide for your release.

Page 86: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 86

Page 87: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 87

8   Error Handling

■ Overview ....................................................................................................................................... 88

■ Message Logging ......................................................................................................................... 88

■ Error Codes .................................................................................................................................. 88

Page 88: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 88

OverviewThis chapter describes the logging and exception handling in Module for EDIINT. For alist of error codes and supporting information, see "Error Codes" on page 88.

Message LoggingModule for EDIINT uses Integration Server’s logging mechanism to log informational,warning, and error messages to the server log of Integration Server. To view the serverlog, use the Integration Server Administrator. For information about viewing andconfiguring the server log, see the webMethods Integration Server Administrator’s Guide foryour release.

The module adds errors, warnings, and informational messages to the server log, usingthe format, EDIINT.00000n.nnnnnnnE, where:

EDIINT is the product code that indicates the message is issued by the module.

00000n is the major error code, where n can be any of the following values:

Value Category Explanation

1 General Contains generic messages

2 Document Contains messages pertaining to EDIINT documents

3 Validation Contains messages with validation errors

4 Transport Contains messages pertaining to the transportation ofEDIINT documents

5 Other Contains other messages

6 Compression Contains messages pertaining to compression

nnnnnnn E is the minor error code.

Error CodesEDIINT.000001.000002E Invalid input for EDIINT large document size {0}.

Explanation: Number format error while handling large EDI documents. An incorrectvalue is set for the tn.BigDocThreshold property field.

Page 89: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 89

Action: Ensure that the value set in the tn.BigDocThreshold property field contains onlyintegers.

EDIINT.000001.000003E Invalid input - {0}.

Explanation: Generic error during validation of user inputs.

Action: Ensure that the inputs provided are valid and meet the specifications for the datatype. For example, in the case of String, ensure that the input is not null or blank.

EDIINT.000001.000004E Invalid URI - {0}, missing ":".

Explanation: The URI format does not meet URI specifications.

Action: Ensure that the URI format meets specifications. For example, localhost:80 isincorrect. hp://localhost:80 is correct.

EDIINT.000001.000005E Unrecognized input object - {0} {1}.

Explanation: The module encountered an incorrect data type.

Action: Ensure that inputs are one of the following data types: Byte Array, String, orStream.

EDIINT.000001.000006E messageDigestHolder is empty.

Explanation: Message digest is missing from the messageDigestHolder collection.

Action: Ensure that message digest is part of the messageDigestHolder collection.

EDIINT.000001.000008E Invalid AS2 Identifier: [{0}].

Explanation: The AS2 identifier does not contain valid ASCII characters.

Action: Ensure that all characters in the AS2 identifier are part of the ASCII character set.

EDIINT.000001.000012E Unsupported protocol - {0}.

Explanation: The transport protocol used is not supported.

Action: Ensure that the transport protocol is one of the following: HTTP, FTP, mailto,file.

EDIINT.000002.000003E Cannot register EDIINT Attribute - {0}.

Explanation: Module for EDIINT is unable to register the specified aribute with TradingNetworks.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool is created correctly.

EDIINT.000002.000004E Cannot register EDIINT MDN Attribute - {0}.

Explanation: Module for EDIINT is unable to register the EDIINT MDN Aribute withTrading Networks.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool is created correctly.

Page 90: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 90

EDIINT.000002.000012E Error in creating / updating EDIINT MDN BizDocEnvelope - {0}.

Explanation: EDIINT BizDocEnvelope could not be created or updated.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool is created correctly.

EDIINT.000002.000013E Cannot register EDIINT services - {0}.

Explanation: The module is unable to register services with Trading Networks.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool is created correctly.

EDIINT.000002.000014E Cannot register EDIINT Processing rules - {0}.

Explanation: The module is unable to register processing rules with Trading Networks.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool is created correctly.

EDIINT.000002.000020E Cannot get partner's internal ID for {0}, {1}.

Explanation: The module is unable to retrieve the partner profile from Trading Networks.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool and the trading partner profiles are created correctly.

EDIINT.000002.000024E Missing Message-ID.

Explanation: The message-ID is not present in the EDIINT message.

Action: See the Trading Networks activity logs of the corresponding error messagebizdoc for details.

EDIINT.000002.000025E Document type name must be EDIINT and user status must start withSendMsg:.

Explanation: The document type name is not EDIINT or the user status does not beginwith SendMsg:.

Action: Ensure that the document type name is EDIINT and the user status begins withSendMsg:.

EDIINT.000002.000026E Cannot relate to submitted payload.

Explanation: The module is unable to relate the payload to the corresponding bizdoc.

Action: See the Trading Networks transaction analysis logs to ensure the EDIINTmessages are being saved correctly in Trading Networks.

EDIINT.000002.000030E Cannot relate to submitted individual EDI envelope.

Explanation: The module is unable to relate the bizdoc with envelopeDocuments in theinput pipeline.

Action: Ensure that the pipeline is populated with envelopeDocuments.

Page 91: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 91

EDIINT.000002.000031E Cannot retrieve EDI document summary information - envelopeDocuments.

Explanation: The module is unable to locate envelopeDocuments and relate it to thebizdoc in the input pipeline.

Action: Ensure that envelopeDocuments is populated in the pipeline.

EDIINT.000002.000032E Cannot relate the submitted envelope documents at index [{0}] to orignalbizdoc.

Explanation: The module is unable to locate the envelopeDocument document ID andrelate it to the bizdoc in the input pipeline.

Action: Ensure that document IDs are populated for all the envelopeDocuments in thepipeline.

EDIINT.000002.000033E Cannot retrieve docId from envelopeDocuments.

Explanation: The module is unable to locate the envelopeDocument document ID andrelate it to the current bizdoc in the input pipeline.

Action: Ensure that document IDs are populated for all envelopeDocuments in thepipeline.

EDIINT.000002.000034E Cannot retrieve EDI BizDocEnvelope {0}.

Explanation: The module is unable to locate the envelope document in Trading Networksfor the input document ID.

Action: Ensure that the documents in Trading Networks are populated with correctdocument IDs.

EDIINT.000002.000037E Cannot delete file from User Outbox folder {0}.

Explanation: The module is unable to delete the file from the User Outbox folder.

Action: Ensure the correct access permissions to the FTP root directory used by theIntegration Server are set for the user.

EDIINT.000002.000038E Cannot delete the file {0} as file name does not start with {1}.

Explanation: The module is unable to delete the file from the User Outbox folder becausethe file is named incorrectly.

Action: Rename the file and delete again.

EDIINT.000002.000062E Cannot create EDIINT ID Types - {0}.

Explanation: The module is unable to create EDIINT ID types in the Trading Networksdatabase.

Action: Ensure that Trading Networks is installed and running and the TradingNetworks pool is created correctly.

EDIINT.000004.000006E Invalid input entered for getContentLength - {0}.

Explanation: The input entered for getContentLength is invalid.

Page 92: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 92

Action: Set getContentLength to either "true" or "false."

EDIINT.000005.000002E Error occurred while loading the EDIINT properties file - {0}.

Explanation: The module is unable to load the properties.cnf file.

Action: Ensure that the property.cnf file is present within the configuration folder of theWmEDIINT package and that the correct access permissions are set for the property.cnffile.

EDIINT.000005.000003E EDIINT properties file - '{0}' does not exist.

Explanation: The module is unable to load the properties.cnf file.

Action: Ensure that the properties.cnf file is present within the configuration folder of theWmEDIINT package and the correct access permissions are set for the properties.cnf file.

EDIINT.000005.000005E Error occurred while saving the EDIINT properties file - {0}.

Explanation: The module is unable to save the properties.cnf file.

Action: Ensure the correct access permissions are set for the configuration folder of theWmEDIINT package.

EDIINT.000005.000007E The WmEDIINT property file {0} does not exist.

Explanation: The module is unable to find the properties.cnf file in the configurationdirectory of the WmEDIINT package.

Action: Ensure that the properties.cnf is present in the configuration directory of theWmEDIINT package.

EDIINT.000005.000008E The WmEDIINT property file {0} is read only.

Explanation: The module does not have write permission for the properties.cnf file.

Action: Give the module write permission for the properties.cnf file.

EDIINT.000005.000009E Access denied, as User "{0}" does not have the privilege to view {1}.

Explanation: User does not have access permission to view the specified properties.

Action: Set the access permissions to allow the user to view the properties.

EDIINT.000005.000010E Access denied, as User "{0}" does not have the privilege to edit {1}.

Explanation: User does not have access permission to edit the specified properties.

Action: Set the access permissions to allow the user to edit the specified properties.

EDIINT.000006.000001E Cannot handle datasource of type: {0}.

Explanation: mimeSrc is invalid.

Action: Ensure the MIME data source is either of these two types:1)com.wm.app.tn.mime.MimeData or 2) java.util.InputStream

EDIINT.000006.000002E Datasource is null.

Explanation: mimeSrc is null.

Page 93: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

Error Handling

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 93

Action: Input the correct MIME data source to the service.

EDIINT.000006.000003E Cannot parse the message.

Explanation: The module is unable to parse the input stream.

Action: Ensure the input stream is entered correctly.

EDIINT.000006.000004E Cannot process this object. Write this MimeData to stream and then processthat stream.

Explanation: The module is unable to parse the MIME object.

Action: See the server logs for details. Try writing the mime data to stream and thenprocess the stream.

EDIINT.000006.000005E Input parameter mimeSrc is not of type MimeData.

Explanation: The input for MimeSrc is not of type MimeData.

Action: Ensure the input for MimeSrc is of type MimeData.

EDIINT.000006.000007E Cannot process message that is not javax.mail.internet.MimeMessage orjavax.mail.internet.MimeBodyPart. Current message is: {0}

Explanation: The MIME part of the message is not of typejavax.mail.internet.MimeMessage or javax.mail.internet.MimeBodyPart.

Action: Ensure the input of the MIME part of the message is either of these two types: 1)javax.mail.internet.MimeMessage or 2) javax.mail.internet.MimeBodyPart.

EDIINT.000004.000012E Internal Id is null

Explanation: The internal ID in the input is either null or empty.

Action: Ensure the correct value for the internalId input parameter is provided.

EDIINT.000004.000011E Content-Range {0} is not in the expected format

Explanation: The Content-Range is not in the expected format so it cannot be processed.

Action: Ensure that the correct Content-Length is passed so the correct Content-Rangecan be generated.

EDIINT.000004.000013E Access denied to do this operation

Explanation: User does not have privileges to perform this operation.

Action: Contact the Administrator to obtain privilege.

EDIINT.000004.000014E Exception in portal API {0}

Explanation: There is an exception in executing the portal API.

Action: Ensure that the input parameters are set correctly.

Page 94: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 94

Page 95: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 95

A   webMethods Module for EDIINT Services

■ Overview ....................................................................................................................................... 96

■ Summary of Services in this Folder ............................................................................................. 96

■ wm.EDIINT:purgeFiles .................................................................................................................. 96

■ wm.EDIINT:receive ....................................................................................................................... 97

■ wm.EDIINT:restart ........................................................................................................................ 99

■ wm.EDIINT:retrieveAS3Message ................................................................................................. 99

■ wm.EDIINT:send ......................................................................................................................... 100

Page 96: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 96

OverviewUse the services in the wm.EDIINT folder to send and receive EDIINT (AS1, AS2, orAS3) messages and MDNs.

Summary of Services in this FolderThe following services are available in the public folder:

Service Description

wm.EDIINT:purgeFiles Purges the temporary files used for AS2 restarttransactions when they are no longer needed.

wm.EDIINT:receive Receives inbound EDIINT (AS1/AS2/AS3) messagesor MDNs and submits the message to TradingNetworks to be unwrapped and decrypted, and tohave its signature authenticated.

wm.EDIINT:restart Restarts transmission of an EDIINT AS2 messagefrom the point at which the transmission failed.

wm.EDIINT:retrieveAS3Message Downloads EDIINT AS3 messages or MDNs froma partner's remote FTP server and submits themessage to Trading Networks to be unwrapped anddecrypted, and to have its signature authenticated.

wm.EDIINT:send Constructs an outbound EDIINT message accordingto the configuration of the input parameters, andthen submits the message to Trading Networks.

wm.EDIINT:purgeFilesPurges the temporary files used for AS2 restart transactions when they are no longerneeded.

Page 97: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 97

Input Parameters

daysOld String The age of the files to get purged (in days). All files olderthan the value specified in daysOld are purged on invoking thepurgeFiles service. The day a file is sent is considered day zero.

For example, when the value of daysOld is 2, the service purges alltemporary files sent more than two days ago.

Valid values are integers greater than or equal to zero.

Output Parameters

filesDeleted String The number of files purged.

wm.EDIINT:receiveReceives inbound EDIINT (AS1/AS2/AS3) messages or MDNs and submits the messageto Trading Networks to be unwrapped and decrypted, and to have its signatureauthenticated.

The EDIINT content handler populates the parameters described below.

Input Parameters

protocol String The EDIINT protocol to use.

Value Meaning

smtp EDIINT AS1 message or MDN.

http EDIINT AS2 message or MDN.

ftp EDIINT AS3 message or MDN.

message-ID String The EDIINT message ID of the EDIINT message orMDN. This value becomes the Trading Networks systemaribute, Document ID.

contentType String The content type of the EDIINT message or MDN.

Page 98: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 98

stream Object The data InputStream representing the inboundEDIINT message or MDN.

AS2-From String The sender ID from the EDIINT AS2 message/MDN.This should match the sender's Trading Networks externalID.

AS2-To String The receiver ID from the EDIINT AS2 message/MDN.This should match the receiver's Trading Networks externalID.

AS3-From String The sender ID from the EDIINT AS3 message/MDN.This should match the sender's Trading Networks externalID.

AS3-To String The receiver ID from the EDIINT AS3 message/MDN.This should match the receiver's Trading Networks externalID.

From String The sender ID from the EDIINT AS1 message/MDN.This should match the sender's Trading Networks externalID.

To String The receiver ID from the EDIINT AS1 message/MDN.This should match the receiver's Trading Networks externalID.

ReceiptDeliveryOption String The address to which to send an asynchronous MDN,if requested.

Etag String Optional. The unique ID of the Etag header thatidentifies the transaction to be restarted after AS2 messagetransmission fails.

Output Parameters

bizdoc Document The resulting document formaed as an IS document(IData object). For the structure of a business document, seewebMethods Trading Networks Built-In Services Reference.

Usage Notes

For information about how to use this service, see "Viewing and Managing InformationAbout EDIINT Documents and MDNs" on page 81.

Page 99: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 99

wm.EDIINT:restartRestarts transmission of an EDIINT AS2 message from the point at which thetransmission failed.

Input Parameters

internalID String The internal ID of the document that failed tobe sent completely due to a network interruption orother failure.

Output Parameters

None.

wm.EDIINT:retrieveAS3MessageDownloads EDIINT AS3 messages or MDNs from a partner's remote FTP server andsubmits the message to Trading Networks to be unwrapped and decrypted, and to haveits signature authenticated.

The service locates the partner's remote FTP server using the values defined in ISdocument type wm.EDIINT.TPA:EDIINTAS3TPA. If the IS document type specifies that theretrieved file(s) are to be deleted, the service deletes the file(s).

Input Parameters

sender Document Optional. Identification of the partner from whom toretrieve the message.

Note: When sender is not specified, the service will access theremote FTP servers of all partners with whom you have aTrading Partner Agreement.

Parameter Description

id String The partner's external ID.

idTypeDesc String Optional. The partner's externalID type. Default: AS3.

Page 100: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 100

receiver Document Identification of the partner who retrieves themessage.

Parameter Description

id String The partner's external ID.

idTypeDesc String Optional. The partner's externalID type. Default: AS3.

Output Parameters

None.

wm.EDIINT:sendConstructs an outbound EDIINT message according to the configuration of the inputparameters, and then submits the message to Trading Networks.

Input Parameters

type String The SMIME type that you want to use forthe outbound EDIINT message. Specify one of thefollowing:

Value Meaning

plain Neither sign nor encrypt theoutbound EDIINT message.

signed Sign the outbound EDIINTmessage.

encrypted Encrypt the outbound EDIINTmessage.

signedAndEncryptedSign and encrypt the outboundEDIINT message.

getFromProfile Whether to sign and/or encryptthe outbound EDIINT messageusing the value of the SMIME Type

Page 101: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 101

extended field from the receiver'sprofile.

compressed String (optional) Whether the EDIINT message that youare sending is compressed before it is signed and/orencrypted. Specify one of the following:

Value Meaning

true Compress the outbound messagebefore signing and encrypting.

false Do not compress the outboundmessage before signing andencrypting. This is the default.

getFromProfile Whether to compress the outboundmessage using the value of theCompression extended field fromthe receiver's profile.

deliveryMethod String The delivery method you want to use to send theEDIINT document. The wm.EDIINT:send service obtainsthe Trading Networks profile for the receiver (specifiedby the receiverID input parameter) and delivers theEDIINT document to the receiver's system using theinformation specified for the delivery method. Specify adelivery method that is defined in the receiver's TradingNetworks profile.

For EDIINT AS1, specify one of the following:PrimarySMTP (corresponds to the TradingNetworksPrimary E-mail delivery method)SecondarySMTP (corresponds to the TradingNetworksSecondary E-mail delivery method)

For EDIINT AS2, specify one of the following:

PrimaryHTTP

SecondaryHTTP

PrimaryHTTPS

SecondaryHTTPS

For EDIINT AS3, specify AS3.

Page 102: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 102

You can also specify getFromProfile if you want theservice to obtain the delivery method from the DeliveryMethod extended field from the receiver's profile.

Document The payload that you want to send.

Parameter Description

data

contentType The content type to assign to theoutbound message.

stream The java.io.InputStream that youmap from the EDI or XML data.

otherHeaders (optional) The name and value ofthe header for outbound messages.This header information is saved foreach inbound payload documentin Trading Networks in thepayloadMimeHeaders content part.

aachments Document array Any aachments to a message.

Parameter Description

stream The java.io.InputStream for theaachment you want to add.

contentType The content type of the aachment.For example, application/zip ifthe aachment is a zip file.

otherHeaders (optional) The name and value ofthe headers you want to add to theaachments. This information willbe saved in Trading Networks asa content type for both sender andreceiver.

requestMDN String Whether you want the receiver to return an MDN.Specify one of the following:

Value Meaning

Page 103: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 103

none Do not request a return MDN.

synchronousMDN Request a return synchronousMDN.

asynchronousMDN Request a return asynchronousMDN.

getFromProfile Whether to request a return MDNusing the value of the Request MDNextended field from the receiver'sprofile and what type of MDN toreturn.

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 isnone.

Value Meaning

true Request a signed MDN.

false Request a plain (unsigned) MDN.

getFromProfile Whether the MDN is signed usingthe value of the Request SignedReceipt extended field from thereceiver's profile.

senderID Document Identification of the sender of the EDIINTmessage.

Parameter Description

id The sender's external ID. That is, theidentification that you want for thesender in the message.

idTypeDesc Optional. The external ID typefor the sender ID you specified in

Page 104: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 104

id . This is an external ID type asdefined in Trading Networks.

Note: By default, the service uses theappropriate external ID typebased on the value you specifyfor the deliveryMethod parameter.For example, if you specify AS3for the deliveryMethod parameter,the service uses the EDIINT AS3external ID type. Specify a valuefor idTypeDesc only if you want tooverride this default.

receiverID Document Identification of the receiver of the EDIINTmessage.

Parameter Description

id The receiver's external ID. That is,the identification that you want forthe receiver in the message.

idTypeDesc Optional. The external ID type forthe receiver ID you specified inid . This is an external ID type asdefined in Trading Networks.

Note: By default, the service uses theappropriate external ID typebased on the value you specifyfor the deliveryMethod parameter.For example, if you specify AS3for the deliveryMethod parameter,the service uses the EDIINT AS3external ID type. Specify a valuefor idTypeDesc only if you want tooverride this default.

ConversationID String (optional) Conversation ID for the outboundEDIINT message.

The conversationID parameter is an identifier thatlinks all documents that are part of the same businessprocess (also called a conversation). That is, alldocuments in the same business process need to havethe same conversationID . Trading Networks can extractconversationID s from EDI documents and use them

Page 105: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MOdd Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 105

to pass documents to webMethods Process Engineafter Trading Networks performs the actions identifiedby a processing rule. For more information, see thewebMethods Trading Networks Administrator’s Guide foryour release.

In this field, you might want to specify the sameconversation ID as that of the payload that you aresending. Module for EDIINT automatically assigns thesame conversation ID that is assigned here to a returnMDN.

Note: Leave this field blank unless you own a license forwebMethods Process Engine.

TNFlags Document Data to pass as input to thewm.tn.route:routeBizDoc service (for example, TN_parms).

Parameter Description

prtIgnoreDocument String Whether thewm.tn.route:routeBizDoc service invokesthe pub.prt.tn:handleBizDoc service. Setthis parameter to true if the WmPRTpackage is not installed.

Value Meaning

true wm.tn.route:routeBizDocinvokes thepub.prt.tn:handleBizDocservice.

false wm.tn.route:routeBizDocdoes not invoke thepub.prt.tn:handleBizDocservice.

enableAS2Restart String (optional) Whether transmission of an AS2message restarts automatically if the transmission fails.Specify one of the following:

Value Meaning

true Restart message transmission iftransmission fails.

Page 106: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MEven Header

webMethods Module for EDIINT Services

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 106

false Do not restart message transmissionif transmission fails.

enableHTTPChunking

String Enables HTTP chunking.

Value Meaning

true HTTP chunking enabled.

false HTTP chunking disabled.

customHeaders Document Custom headers you can include on yourEDIINT message.

Parameter Description

Name String Specify a name for the customheader.

Value String Specify the information todisplay in the custom header.

Output Parameters

None.

Usage Notes

For information about how to use this service, see "Creating a Client to Submit aDocument Using EDIINT" on page 69 and "Viewing and Managing Information AboutEDIINT Documents and MDNs" on page 81.

Page 107: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 107

Index

AAgreement ID, specifying for AS3 47algorithm, used in EDIINT encryption 11application/edi-consent payload processing 55application/EDIFACT payload pro cessing 55application/edi-X12 payload processing 55application/XML payload processing 55architecture of webMethods EDIINT Module 12AS1, EDIINT version

defined 10delivery methods for 39enabling e-mail exchange 43importance of checking mailbox size 43profile field, for EDIINT 39SMTP, configuring 43specifying inbound e-mail address 40

AS1MDNURL extended profile field for inboundAS1 MDNs 40AS2 restart

purging transactions 96restarting transactions 99

AS2, EDIINT versiondefined 10delivery methods for 40profile field, for EDIINT 40SMTP, configuring 43specifying inbound address 40

AS2MDNURL extended profile field for inboundAS2 MDNs 40AS3, EDI INT version

Trading Partner Agreements ( TPAs), creating 46AS3, EDIINT version

defined 10directories for downloading/uploading 46overview of 23

asynchr onous MDN 17asynchro nous MDN 23asynchronous MDN 11, 73

wm.EDIINT.deliverydeliveryDocument service 23

BBizDoc Envelope

formed by wm.EDIINTsend service 21

bizdoc variable

EDIINT document 16, 21MDN 19, 23

BizDocEnvelopefor MDN 23formed by wm.EDIINT

receive service 16, 19inb ound

EDIINT document 16inbound

document 21MDN 19, 23

built-in servicesEDIINT documents and MDNS 14wm.EDIINT

receive service 15business process

for inbound EDIINT documents 15sample process model to send outbound EDIINTdocuments 26

business-level processingEDIINT 63logic on payloads of EDIINT documents 73payload of EDIINT document 72

CCertificates tab profile, for EDIINT 42clients for inbound processing using EDIINTexchange protocol 14Compression extended profile field 41compression, EDIINT messages 11configuring

to include EDIINT information in profiles 36to process payloads 54to receive inbound EDIINT documents via SMTP44to send outbound EDIINT documents via SMTP45

content handlersEDIINT 15EDIINT documents 14MDNs 14

content typ e, EDII NT 15contentType input variable 56conversa tion ID

in sample process model to send outboundEDIINT documents 26

conversation IDinput parameter of process model 26

Page 108: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 108

MDN 26outbound EDIINT document 26

creating outbound EDIINT message 100

DDecrypt/Encrypt subtab, for EDIINT profile 43definitions

EDIINT 10AS1 10AS2 10AS3 10

Integration Server 13MDNs (message disposition notifications) 11message disposistion notifications (MDNs) 11TPA 46Trading Partner Agreement (TPA) 46WmEDI package 13WmEDIforTN package 13

Deli very Settin g s tab of profile,for EDIINT 39delivering

EDIINT documents 78MDN asynchronously 11, 17MDN synchronously 11, 21wm.EDIINT.delivery

delivery Document service 21Delivery Method extended profile field 41deliveryDocument service 65DES encryption algorithm 41diagram of

EDIINT Module and Integration S erverarchitecture 12outbound EDIINT processing 20, 20

digital signatureverifyi ng f or EDIINT document 43

disablingport when EDIINT packed is disabled 44Trading Networks payload processing 55

document attributesEDIINT MDN Disposition 63EDIINT MDN Original Message 62EDIINT MDN Received MIC 63EDIINT Message Digest 62EDIINT Message ID 62EDIINT Message Type 62EDIINT transport-level processing 62provided for EDIINT processing 62

document recognition, wm.EDIINT.rulesprocessMsg service 23

documentationusing effectively 7

documentsEDIINT 14processing rule for inbound 17, 23

EEDI documents

EDIINT payload 18payload, business-level processing 74sending to EDIINT 19

EDI Module MDNsinbound processing 18outbound processing 21

EDI over the Internet 10EDII NT

document attributes 62SMTP, configuring 43

EDIIN T MDNDisposition document attributes 63

EDIINT 61AS2 features supported by EDIINT Module 11built-in services 14content types 70defined 10deliver y method 39document attributes 62documents 14, 40EDIINT Process

MDN Message processing rule 19Message processing rule 17

EDIINT SendMDN Message processing rule 23Message processing rule 21

EDIINTProcessMessage processing rule 23

exchange protocol 14Execute a Service action 17extended profile fields 40, 63features supported by EDIINT Module 11field group 63including information in profiles 36MDN TN document type 19, 21, 23MDNs 11messages 10MIME messages 21outbound processing 19packaging a docum ent for transport 19

Page 109: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 109

payload, processing of 15processing rules 17processing rules for transport-level processing 63profile fields 37receipts 11S/MI ME messages 21security information 42sending EDI documents to 19sending non-EDI documents to 19services invoked by p rocessing rules 64services to package and transport documents 19Submit payload to TN check box 55TN document types 14, 23, 61, 61transport-l evel processing 63transport-level processing 72, 78User Process Payload Service field 55wm.EDIINT

receive service 16, 23, 72EDIINT documents

acceptable versions (AS1, AS2, AS3) 10attributes 62conversation ID 26created by wm.EDIINT

send s ervice 21cryptographic permutations 11defined 10delivering outbound, prerequisites 78EDIINT Send Message processing rule 21encrypting outbound 43Execute a Service action 21inbound

EDIINT Process Message processing rule 17,23flow 16, 19, 22processing 14User Status 82

outbound 20, 26encryption options 40processing 19User Status 83

packaging for transport 19payload 15posted by HTTP, example of 72processing inbound documents, prerequisites 72processing rule for inbound 17processing rule for outbound 21receivin gencrypted 43S/MIME type 74sample process model of outbound 26

setting S/MIME type for outbound document 78setting up to process payloads 73veritying digital signature 43viewing on Transacation Analysis screen 82

EDIINT ID Match option 39EDIINT MDN 75

entry point 75inbound User Status 83Original MessageID document attributes 62outbound User Status 84posted by HTTP, example of 75processing inbound MDN, prerequisites 75Received MIC document attributes 63TN document type 62viewing on Transacation Analysis screen 82

EDIINT Mess age ID document attribute 62EDIINT Message Digest document attribute 62EDIINT Message Type document attribute 62EDIINT messages

constructing outbound 100receiving 97, 99retrieving AS3 messages 99

EDIINT Mod uleTrading Networks objects 61

EDIINT Modulearchitecture of 12conditions to ignore payload settings 56content handler installed with 15EDIINT TN document types 16overview 10wM.EDIINT:send service 78

EDIINT Process MDN Message processing rule 64EDIINT Process Message processing rule 63, 73

sender requesting MDN 17EDIINT recognizer, setting user status 16, 19, 21EDIINT Send MDN Message processing rule 64,73EDIINT Send Message processing rule 64EDIINT TN document type 16EDIINT transport, s ample process model 26EDIINTAS3

Agreement ID 47IS docume n t type

input parameters 49IS document type 48

output parameters 52EDIINTdocuments

conten t type 15e-mail, EDIINT exchange 43

Page 110: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 110

enabling Tradin g Networks payload processing 55encrypted

EDIINT documents 43S/MIME type 41, 74

encrypting outbound EDIINT documents 43encryption

EDIINT doc umentsspecifying out bo und 40

EDIINT documentsoutbound choices 40

EDIINT messages 11types for trading partners 11wm.EDIINT

send service 21Encryption Algorithm extended pr ofilefield 40entry point for inbound EDIINT MDNs 75errors

payload 74ProcessMDNMsg ERROR 83ProcessMsg ERROR 82SendMDNMsg ERROR 84SendMsg ERROR 83

example ofEDIINT document posted by HTTP 72EDIINT MDN posted by HTTP 75

Execute a Service processing action 17, 19, 21, 23extended profile fields

and EDIINT 14EDIINT field group 63for EDIINT 40

external ID typesEDIINT ID Match option 39EDIINT, specifying how to match 37specifying 37

External IDs tab fields, profile for EDIINT 37

FFTP user root directory 46FTPS port, adding for EDIINT 36FTPUserName extended profile field for outboundAS3 messages and MDNs 42

HHTTP

example of EDIINT document 72example of EDIINT MDN 75se nding MDN 21

HTTP port, adding for EDIINT 36

HTTPS port, adding for EDIINT 36

IIETF, and EDIINT 10IMAP protocol 44inbound EDI documents requesting MDN 21inbound EDIINT documents 15inbound EDIINT message, configuring SMTPsettings 44inbound flow, EDIINT messages 16, 19, 22inbound processing

clients to send EDI documents using EDIINTexchange protocol 14MDNs 18

inboundproce ssingEDIINT documents 14

input var iableswm.EDIINT

send service 100input variables

contentType 56stream 55wm.EDIINT

purgeFiles service 96receive service 97retrieveAS3Message service 99send service 21

wm.EDIINT.restart service 99wm.EDIINT.TPA EDIINTAS3 document type 49

Integration Ser verdefined 13

Integration Serverand EDIINT Module archit ecture 13and EDIINT Module, diagram 12

Internet Engineering Task Force (IETF) 10invoking

wm.EDIINTsend service 21, 26

wm.EDIINT.deliverydeliveryDocument service 23

wm.EDIINT.rulesdeliveryDocument service 21processMDN service 19processMsg service 17, 23processPayload service 17sendMDN service 23sendMsg service 21

IS document type

Page 111: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 111

specifying for input parametersAS3 49specifying output parameters for AS3 52

Kkey length 11

Llogic

to perform transport-le vel processing for inboundEDIINT documents 20to perform transport-level processing for inboundEDIINT documents 15

MMD Ns

wm.EDIINT.deliverydeliveryDocument service 23

MD5 algorithm usage 11MDNs

and wm.EDIINT.rulesproce ssMsg service 73

asynchronous 11, 17, 23automatically sending outbound 21conversation ID assigned 26creating with wm.EDIINT.rules

processMsg service 23defined 11delivering synchronously or asynchronously 73EDIINT 75EDIINT MDN TN document type 19, 21Execute a Service a ction 19Execute a Service action 23HTTP connection of inbound EDIINT document21inbound

AS1 address 40AS2 address 40document 21EDIINT Process MDN Message processingrule 19, 23processing 18wm.EDIINT 19

outbound 21processing rule for inbound 19, 23receipt exchange 10receipt of EDIINT document 73receiving inbound via SMTP 44

sample process model for outbound EDIINTdocuments 26sender

not requesting 17requesting 21

sending outbound via SMTP 45separate transaction 21signed 17SMTP, configuring 43synchronous 11, 21, 23synchronous an d asynchronous 40unsigned 17wm.EDIINT.rules

pr ocessMsg service 23processMDN service 19processMsg service 17, 23sendMDN service 23

message disposition notifications 11messages

EDIINT MIME 21EDIINT S/MIME 21

MIMEmessages 21package 17

modifying profile to include EDIINT information 36

Nnon-EDI documents

EDIINT payload 18payload, business-level processing 74sending to EDIINT 19

Ooutbound choices for EDIINT message encryption11outbound EDIINT message, configuring SMTPsettings 45outbound processing

EDIINT 19, 19EDIINT documents 19MDNs, sending 21

outboundprocessingwm.EDIINT

send service 21output variables

wm.EDIINTpurgeFiles service 97

Overview 30, 30

Page 112: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 112

Ppacka ges

EDI Module 13package a document for transport using EDIINT 19packages

WmEDI 13WmEDIforTN 13

pay loadconditions EDIINT Module ignores settings 56

payloadbusiness-level logic 73business-level process for EDIINT document 63business-level processing 72EDI document 74non-EDI document 74proce ssing by Trading Networks 55S/MIME type affecting processing 74Trading Networks to process 54

payload of EDIINT documentEDI document 18in sample process model 26non-EDI document 18sending to Trading Networ ks 18sending to Trading Networks 15

performing business-level processing on payloadsof EDIINT documents 73plain S/MIME type 41, 74POP3 protocol 44port

adding for FTPS 36adding for HTTP 36adding for HTTPS 36adding for SMTP 44for MDNs via HTTP 40webMethods/Email 44

prerequisites fordelivering outbound EDIINT documents 78processing EDI documents 30, 30processing inbound EDIINT documents 72processing inbound EDIINT MDNs 75

Primary E-mail delivery method for EDIINT AS1 39Primary HTTP delivery method for EDIINT AS2 40Primary HTTPS delivery method for EDIINT AS2 40proces sMDN service 65process model

sa mple outbound EDIINT documents andcorresponding MDN 26

processi ngtransport-level for

inboun d EDIINT documents 15processi ng rules

ExecuteaService ac tion 19processing

business level on payload of EDIINT document63business-level for inbound EDIINT documents 15EDIINT transport-level 78inbound

EDIINT documents 72, 72EDIINT MDNs, prerequisites 75

outbound EDIINT documents, prerequisites 78payloads 54rules 63transport-level for

outbound EDIINT documents 20processing actions, Execute a Service 19processing EDI documents

prerequisites 30, 30processing rul es

EDIINTSend Message 21

processing rulesEDIINT

and user status 16, 21Proc ess Message 64Process MDN Me ssage 19Process Message 17, 23, 63, 73Send MDN Message 23, 64Send MDN Message service 73Send Message 64services 64transport-level processing 63

Execute a Service acti on 17Execute a Service action 21, 23inbound

EDIINT documents 17, 17, 23MDNs 19, 23

MDNs 17and user status 19

outbound EDIINT documents 21payload of non-EDI document 74sender requesting MDNs 17user status

EDIINT 16EDIINT documents 21MDN 19

Page 113: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 113

wm.EDIINT.rulesprocessMsg service 63

ProcessMDNMsg DONE user status 83ProcessMDNMsg DONE/NAK user status 83ProcessMDNMsg ERROR user status 83ProcessMDNMsg IGNORED user status 83ProcessMDNMsg user status 19, 83ProcessMsg DONE user s tatus 82ProcessMsg ERROR user status 82ProcessMsg PAYLOAD user status 82processMsg service 64ProcessMsg user status 16, 82processMsg_persist_Payload service 65processPayload service 65profiles

EDIINT information 36protocol, EDIINT 10purgeFiles service 96purging files

AS2 restart transactions 96

RRC2 128 (128 bits) encryption algorithm 41RC2 40 (40 bits) encryption algorithm 41RC2 64 (64 bits) en cryption algorithm 41receive service 97receiving

EDIINT messages 97encrypted EDIINT documents 43inbound EDIINT message via SMTP 44inbound MDN via SMTP 44

Request MDN extended profile field 42Request Signed Receipt extended profile field 42restart service 99restarting AS2 transactions 99retrieveAS3Message service 99

SS/MIME

EDIINT message 21package 17setting for outbound EDIINT document 78version2 10, 11

S/MIME Type 74, 74affecting payload processing 74encrypted 74extended profile field 41, 73plain 74

samplesprocess model of outbound EDIINT documentsand corresponding MDN 26

Secondary E-mail delivery method for EDIINT AS139Secondary HTTP delivery method for EDIINT AS240Secondary HTTPS delivery method for EDIINT AS240Secure/Multipur pose Internet Mail Extensions 11send service, usage 100sender

not requesting MDN 17requesting MDN 21

asynchronous 23synchronous 23

sendingdocuments to EDIINT 19EDI INT MDNs outbound 21EDIINT documents 78MDN 21outbound

EDIINT documents 20EDIINT message via SMTP 45MDN via SMTP 45

wm.EDIINTsend service 21

sendMDN service 65SendMDNMsg ERROR user status 84SendMDNMsg user status 84, 84SendMsg DONE user status 83SendMsg ERROR user status 83sendMsg service 65SendMsg user status 21, 23, 83SendMsg WAITMDN user st atus 83ser vices

wm.EDIINTreceive service 23

servicesdeliveryDocument service 65packaging and transporting a document, usingEDIINT 19processing rules for EDIINT documents 64processMDN service 65processMsg service 64processMsg_persist_Payload service 65processPayload service 65sendM sg service 65sendMDN service 65

Page 114: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 114

wm.EDIINTreceive service 15, 16, 19, 75send service 21

wm.EDIINT.deliverydeliveryDocument service 21, 23

wm.EDIINT.r ul esprocessMDN service 19

wm.EDIINT.rulesprocessMsg service 17, 17, 23, 63, 73processPayload service 17sendMDN service 23, 23, 73sendMsg service 21

wm.EDIINT:send service 78setting up processing payloads from EDIINTdocuments 73settings, S/MIME type for outbound EDIINTdocument 78SHA-1 hash algorithm 11Sign sub-tab, for EDIINT profile 42signed MDN 17signed S/MIME type 41, 74signedAndEncrypted S/MIME type 41, 74SMTP method, configuring settings to enableEDIINT message exchange 43SMTP port, adding for EDIINT 44SMTP Server field 45stream input variable 55Submit payload to TN check box 55synchronous MDN 11, 21, 23, 73

TTN document types

ED IINT TN 19EDIINT 61EDIINT MDN 62EDIINT MDN TN 23EDIINT TN 16, 21for EDIINT documents 14MDNs 14payload of non-EDI document 74provided for EDIINT processing 61wm.EDIINT

receive service 16, 19sen d service 21

TPA 46, 46Tr ading Networks

EDIINTProcess MDN Message processing rule 19

Trading Networksadding business-level processing for EDIINTdocument payloads 15and EDIINT Module architecture 13EDIINT

Process Message processing rule 17, 23Send MDN Message processing rule 23Send Message processing rule 21

objects prorvided for EDIINT 61pr ocessing payloads 54TPAs 46wm.EDIINT

receive service 17, 19send service 21

wm.EDIINT.rulesprocessMsg service 23

Trading Partner Agreement (TPA), defined 46transport-level processing

logic for inbound EDIINT documents 15logic for outbound EDIINT documents 20

transport-levelprocessingprocessing rules 63

TripleDES encryption algorithm 41

Uunsigned MDN 17User Process Payload Service field 55user status

EDIINT 16EDIINT document 21inbound EDIINT documents 82inbound EDIINT MDNs 83MDN 19, 23outbound EDIINT documents 83outbound EDIINT MDNs 84Pro cessMessage 16ProcessMDNMessage 19SendMsg 21, 23

User Status system attribute, viewing EDIINTdocuments and MDNs 82userFtpRoot directory 46

VValue (external ID) profile field for EDIINT 37viewing EDIINT documents and MDNs 82

WwebMethods EDIINT Module 10

Page 115: webMethods Module for EDIINT Installation and User’s Guide · webMethods Module for EDIINT (Module for EDIINT) adds support for the EDIINT exchange protocol. Documents using the

MIndex

webMethods Module for EDIINT Installation and User’s Guide Version 8.2 SP1 115

webMethods/Email port EDIINT SMTP settings 44wm.EDIINT

purgeFiles service 96input variables 96output variables 97

receive service 15, 16, 16, 19, 23, 97accepting inbound MDN 19and TN document types 19input variables 97processing inbound EDIINT documents 72processing inbound EDIINT MDNs 75Trading Networks 19

restart service 99retrieveAS3Message service 99

input variables 99send service 21, 100

and TN document types 21creates EDIINT document 21in sample process model 26input variables 21, 100packaging document and sending it usingEDIINT 70sending document to EDI module 21Trading Networks 21

wm.EDIINT.deliverydeliveryDocument service 23

delivering EDIINT document to trading partner21

wm.EDIINT.r ulesprocessMsg service

MDNs 23wm.EDIINT.restart service

input variables 99wm.EDIINT.rules

deliveryDocument service 21folder 64processMDN service 19processMsg service 17, 63

invoking wm.EDIINT.rules 17MDNs 17, 23opening MIME or S/MIME package 17outbound MDNs for EDIINT document 73Trading Networks 23

processPayload service 17sendMDN service 23, 73sendMDNservice 23sendMsg service 21

wm.EDIINT:send servicedelivering outbound documents 78

WmEDI package, defined 13WmEDIforTN package, defined 13WmEDIINT port for SMTP 44WmRoot port for SMTP 44