getFromValidationMap
Retrieves the appropriate "From" validation map. The "From" validation map is the validation map associated with the connection's "From" document flow definition. Steps of the action can call this method to obtain the validation map associated with an incoming document. The "From" validation maps can be uploaded from the Community Console.
public byte[] getFromValidationMap(Context context, BusinessDocumentInterface document)
getToValidationMap
Retrieves the appropriate "To" validation map. The "To" validation map is the validation map associated with the connection's "To" document flow definition. If the steps of the action are transforming an incoming business document into another business document, they can call this method to obtain the validation map associated with the transformed document. The "To" validation maps can be uploaded from the Community Console.
public byte[] getToValidationMap(Context context, BusinessDocumentInterface document)
getTransformationMap
Retrieves the appropriate transformation map associated with the connection. When you create the participant connection in the Community Console, you can select the transformation map that you want to use for the connection.
public byte[] getTransformationMap(Context context, BusinessDocumentInterface document)
getDTDOrXSD
Retrieves the appropriate XSD or DTD file. When you want to validate the document against more than one schema, the action steps can call this method to obtain the schemas one by one.
All the schemas for an XML document are loaded in WebSphere Partner Gateway. To validate a document using the parser, you need its schema. This first schema references additional schemas, which are also loaded in WebSphere Partner Gateway. To obtain these schemas, pass the schema name to getDTDOrXSD
public byte[] getDTDOrXSD(string dtdOrXsdName)