on 03-07-2008 10:59 AM
Hi experts
Can anybody please tell me how to create a single message from one
xsd file(Imported in EXternal Definition) having multiple messages
I get the dialog box as :
Imported scheme has multiple global elements. Select the global element to be used in the source or target message
so i have to select one message from list and create many mappings, While i want only one mapping for one xsd.
Points would be rewarded for help for sure.
Edited by: Hemant Chahal on Mar 7, 2008 4:30 PM
Please make one message as global and reimport the xml file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemant,
I think after doing the validations in xsl your xslt program is reading the value only.I think this is the problem in your scenario.Thus it is truncating the node name (xml tags). Thus instead of using statement <xsl:value-of select="."/> you can use <xsl:copy-of select="."> which restroes the node as well as its value.
Just check it out.
Hope this will help you
Sushama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemant,
when you import your XSD file in your External Definition, choose the option All elements contained.
then choose this External Definition in your message mapping..........then i think you will have one mapping for your one external definition.
Regards,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi hemant,
try to nest the messages,
<?xml version="" namespace="">
<main>
<m1>
<m2>
<m3>
</m3>
</m2>
</m1>
</main>
or just edit the XSD with the data types included in just one <main> tag
suppose u have <main><m1>....</m1></main>
make it as <main>.....</main>
create all elements under on tag name.
hope this should work.
Thanks & Regards,
Rama Krishna
Edited by: rama krishna talluri on Mar 7, 2008 12:07 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.