1SYNC Module Version 6.5 SP2.September 2008 | Understanding and using webMethods 1SYNC Module | Installing and Using 1SYNC Module | webMethods 1SYNC Module Services | wm.ip.sync.services:sendRequests
 
wm.ip.sync.services:sendRequests
Wm1SYNC. Sends request business documents to 1SYNC using webMethods Module for EDIINT.
The wm.ip.sync.services:sendRequests service is the most fundamental service in the Wm1SYNC package. Each sendXXDocument service is built upon, and calls internally, the wm.ip.sync.services:sendRequests service.
Services Built Upon wm.ip.sync.services:sendRequests
The wm.ip.sync.services:sendRequests service sends request business documents to 1SYNC using Module for EDIINT.
This service performs the following actions:
1. Checks for the conversationID.
2. Creates the 1SYNC envelope.
3. Validates the 1SYNC envelope (if you have the ValidateOutput TPA parameter set to "True".)
4. Recognizes the 1SYNC envelope as a 1SYNC Request TN document type in webMethods Trading Networks. For a list of the TN document types created in Trading Networks when you install 1SYNC Module, see Defining TN Document Types.
5. Persists the 1SYNC envelope in the Trading Networks transaction store as a 1SYNC Request TN document type.
6. Calls wm.ip.sync.transport:send to send the request business document to 1SYNC.
The wm.ip.sync.transport:send service calls the wm.EDIINT:send service, which is a built-in service provided with Module for EDIINT that handles EDIINT transport. As an acknowledgement to the request received, 1SYNC returns an MDN, which is received by Module for EDIINT. Module for EDIINT recognizes the MDN using the EDIINT MDN TN document type, saves the MDN to the Trading Networks database, and processes the MDN. 1SYNC then sends back a response business document. Module for EDIINT recognizes the response business document using the EDIINT TN document type, saves the response business document to the Trading Networks database, and processes the response business document, which sends the MDN to 1SYNC.
Input Parameters
basic
IDataContains senderGLN, receiverGLN, representing GLN, conversationID, agreementID, schemaLocation, and generateDocumentId. For more information on this Input Type, see wm.ip.sync.common.rec:BasicInfo document type in Developer.
envelope
IDataSends 1SYNC documents.
Output Parameters
bizdocID
String Unique ID for the business document created in Trading Networks. bizdocID is internal to Trading Networks. Following is the query forbizdocID:bizdoc[0]/InternalID[0]