Step – By – Step Simple Approach for XSLT Mapping
ScenarioScenario is simple File to File, with xslt mapping. This will send student data after massaging to the target location.
Input XML
Design Part in Integration Builder (Design)
Step 1.
First step is to create your Namespaces for this particular scenario.
Step 2.
Now Create Data Type for your scenario. That is source and target. Follow these screen shots.
Source Data type
Target data Type
Step 3:
Creation of Message type for Data Type
MT_Student
MT_Student_Result
Step 4.
Creation of Message Interfaces
MI_Student
MI_Student_Result
" Step 5.
Now go to, Message objects and using Imported Archives, import your xslt Mapping. It should be in .zip / .jar file.
XSLT Mapping
xsltMapStudToResult.xsl
Step 6.
Now, we need to create Interface mapping that is actual mapping between sources to target. Follow these screen shot to complete your design part.
Now activate the Change List and you are done with design part.
To test your XSLT mapping, go to Test tab in Display Interface mapping and provide data to see the desired result. See below:
Click on execute to run this, which is shown in red.
Move to Integration builder (Configuration)
Step 7.
Now create a communication channel for your Business system for receiver and sender.
CC_XSLT_FILESND
CC_XSLT_FILERCV
Step 8.
Create sender agreement.
Step 9.
Create receiver agreement.
Step 10.
Create receiver determination and also with the help of this step you will create Interface determination.
" alt="" border="" hspace="" vspace="" width="" height="" align="" />
Interface Determination
Now we are done with configuration part. And activate these to run your scenario.
Put your input file at target location that you have provided in Communication channel.
Now go to sxmb_moni and look for your message.
Output XML.