on 11-17-2011 12:01 AM
Hi Guys,
1. I like to create data type from a XML file structure, which contains the data structure ?
2. How to create custom node function in graphical mapping editor ?
Thanks
Sam
Hi Sam,
1. I like to create data type from a XML file structure, which contains the data structure ?
ans) Please follow this link http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/
2. How to create custom node function in graphical mapping editor ?
ans) Mark has already mentioned the method s to create UDF. If you wanna write Node functions yourself then try going through this articke
http://wiki.sdn.sap.com/wiki/display/XI/UDFExecutionType-ContextandQueue.
If the page is not shown please add a dot (.) in the end of the above URL.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
1. I like to create data type from a XML file structure, which contains the data structure ?
XML fields will need to be taken note of to see which is repeating or not. You can also load the XML into a third-party tool such as Altova XML Spy and then generate an XSD from there. You will need to import the XSDs into PI under external definitions. However, this does not guarantee business interoperability, as such, it is always best to ask the provider for the XSDs or WSDL. It will also save you a lot of time from guessing which fields are needed or not.
2. How to create custom node function in graphical mapping editor ?
In your graphical mapping editor, on the lowest left corner, there is an icon there that says Create New Function. You must take into account their return types:
1. Single Values = String
2. Queue/Context (no return type) thus resultList is used.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.