on 11-26-2007 5:08 AM
Dear all,
Message mapping:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:EMP_DETAILS xmlns:ns0="http://ehro.eds.com/PSPC/JDBCrec">
<EMP>
<FirstName>SRINIVASA</FirstName>
<LastName>POTHARAJU</LastName>
<ENO>1</ENO>
<Sal>121222</Sal>
<desg>MANAGER</desg>
</EMP>
</ns0:EMP_DETAILS>
When I tried the mapping in styllus studio:
<?xml version='1.0' ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://ehro.eds.com" >
<xsl:template match="/">
<ns1:EMP_DETAILS_R xmlns:ns1="http://ehro.eds.com/PSPC/JDBCrec">
<xsl:for-each select="ns0:EMP_DETAILS/EMP">
<EMP>
<Ename>
<xsl:value-of select="concat(FirstName,'|',LastName)"/>
</Ename>
<Sal>
<xsl:value-of select="Sal"/>
</Sal>
<Desg>
<xsl:value-of select="desg"/>
</Desg>
<Empno>
<xsl:value-of select="ENO"/>
</Empno>
</EMP>
</xsl:for-each>
</ns1:EMP_DETAILS_R>
</xsl:template>
</xsl:stylesheet>
I could not able to see the contents of the receiver,when tested through Interface mapping->Test .
Let me know the error.
Are there any tips do do the same.
thanks,
srini
Hi Srini,
you define a namespace with prefix ns1 but in your for-each X-Path expression you used prefix ns0.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>
Hello sreeni,
As per what i am getting from you, is not sufficient to ans this qst. Will you please check whether there any error happening by pressing F7 key after the msg mapping and later. There also exists a chance to have bugs.
I don't find any probs from the xml output format that you added later. <b> Just give me more info after the mapping [check (F7) and the result of the execution] </b>.
reply soon
</i>
Regards
Vinod V Pillai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi srini,
>> Do the configuration and check the output, may be interface testing comes up with a bug.
check your messege status in Runtime Monitoring (both in Adapter Engine and Integration engine.
you can check the pipeline progress in SXI_MONI too. check the status there and tell the error what is exactly shown.
get me your status
regards,
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.