Identification of Document - Custom Over EBMS
Inbound : Ideally Custom Document Plugin identify the document based on Xpath Expression and value. In the EBXML world the identification is based on action name of the incoming document. To provide this flexibility oracle B2B tries to Identify the document, based on the Xpath expression if present, else identify based on the incoming action name.
Outbound : Along with the typical Identification of Agreement based on From, To , DocType and Revision, it can also be Identified based on From,To and Action_Name where the Action_Name has to be mapped against the business Action Name.
actionName=ACTION:
By setting the above AQ (ACTION_NAME for jms) property, TPA identification can be done using business action instead of document type and revision. This is typical use case in ebms
Example :
from = Acme
to = GlobalChips
payload = Acme_850.xml
actionName=ACTION:Process_850
Tuesday, December 25, 2007
Identification of Document - Custom Over EBMS
Posted by
Ramesh Nittur
at
9:40 PM
0
comments
Friday, August 31, 2007
Handling Positional Flat file
Apart from the capability of Handling XML file and Traditional EDI file based on various XML and EDI Standard, Oracle AS B2B also provides an option to Handle positional Flat File.
In 10.1.2.0.2 Positional EDI Document can be processed using Custom Document Plugin and following are the steps for the same.
1. Apply the latest B2B patch on 10.1.2.0.2 Installation.
2. Add the parser into registryValidator.xml
<Item
Name="SchemaFile">D:/Oracle/midtier/ip/oem/edifecs/XEngine/config/schema/IDoc_parser_40_2_char_delim.ecs</Item>
For EANCOM Based positional Flat file
There is a need to edit the registryValidator.xml to include the EANCOM parser schema. Open the eancom.ecs file that you have generated using B2B Document Editor in step 3 and Goto Tools->Generate Parser Schema. Save the parser schema for this eancom.ecs file as eancomparser.ecs . Copy this file to ORACLE_HOME/ip/oem/edifecs/XEngine/config/schema directory. Then edit $ORACLE_HOME/ip/oem/edifecs/XEngine/config/registryValidator.xml to include this eancomparser.ecs. For example,
<Item Name="SchemaFile">$ORACLE_HOME/ip/oem/edifecs/XEngine/config/schema/eancomparser.ecs</Item>
3. Design the ecs file in spec builder depending on the Positional Flat file.
4. As part of Document protocol Revision Override the Document Protocol parameter by specifying the ImplementationClass as oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin
5. Provide the IDOC Ecs file as part of the Document definition Parameter along with start position and End position.
6. Run the End to End test.
Posted by
Ramesh Nittur
at
7:08 PM
2
comments
Labels: B2B Document Editor, Custom, Positional Flat File