on 09-10-2010 8:13 AM
Hi,
Can you help me on this? I have a tranformation step in my BPM that combines a request and response message of a previous Send step to create a Source message for the next Send step. However, on my transformation step, I got the mapping error in workflow log: Interface mapping http://gl.euhreka.com/learning/skillsoft/catalogSy.YGLXI_OM_MergeRequestAndHandleResponseAB_To_PollF... (SWCV=DF8549309ECE11DFB58DF3570A341E0F) not found
Do you have any idea about this error? My mapping program is working fine. I also checked if the container elements assigned to the transformation steps are correct.
Can you suggest of other way on how can I achieve on merging 2 messages (request and response) and set it to the Request for another send step?
Thanks,
Jenny
Hi Ninad,
How can I execute an operation mapping outside BPM? My mapping is dependent on the source and target message of the Send step prior to the transformation step. I don't know how could I modify my source messages to reflect the root-tag so it would be a valid xml format. I think I'm lost.
Do you have any suggestion on how could I fix it?
Please advice.
Regards,
Jenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenny ,
I think the problem can be with the XSLT mapping ( not sure can be used in BPM or cannot )
Can you run the senario without XSLT mapping ( just run once with 1:1 mapping )and check if it works .
If you are doing a merger I think you can do using a normal multi mapping as well .
Can you tell why do you need XSLT mapping ?
If you are using a message mapping then what I told before ( outside BPM ) can be worked out requiring design changes
Regards
Ninad
Hello,
I already solved the problem. The namespace and Operation mapping name is too long that's why it cannot be located at runtime.
After the rename, another error appeared.
"Incorrect XML format after mapping: Root-Tag expected instead of Messages"
There are no useful information on the trace:
<?xml version="1.0" encoding="utf-8" ?>
- <MappingTrace>
<Trace level="1" type="T">Mapping http://test YGLXI_OM_Merge , Software Component Version DF8549309ECE11DFB58DF3570A341E0F</Trace>
<Trace level="1" type="T">Mapping Step 1 , Type XSLT , Program PollForReport_Merge</Trace>
<Trace level="2" type="T">Call XSLT processor with stylsheet PollForReport_Merge.xsl.</Trace>
<Trace level="2" type="T">Returned form XSLT processor.</Trace>
</MappingTrace>
Here is myXSLT program:
<?xml version='1.0' encoding='utf-8' ?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:template match="/">
<YGLXI_MT_PollForReportRequest>
<customerID>
<xsl:value-of select="//customerID"/>
</customerID>
<customerPassword>
<xsl:value-of select="//customerPassword"/>
</customerPassword>
<reportIDHandle>
<xsl:value-of select="//reportHandle"/>
</reportIDHandle>
</YGLXI_MT_PollForReportRequest>
</xsl:template>
Here is my source message:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:YGLXI_MT_InitiateFullCourseListingRequest xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
<customerID>ZZZ</customerID>
<customerPassword>XXX</customerPassword>
<reportFormat>VVV</reportFormat>
<mode>VCC</mode>
<userName>CC</userName>
</ns1:YGLXI_MT_InitiateFullCourseListingRequest>
</ns0:Message1>
<ns0:Message2>
<ns1:YGLXI_MT_InitiateFullCourseListingResponse xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
<reportHandle>SADA</reportHandle>
</ns1:YGLXI_MT_InitiateFullCourseListingResponse>
</ns0:Message2>
</ns0:Messages>
I tested my program in Operation mapping and it is working. How come it is not in BPM?
Thanks,
Jenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all check if your BPM has no errors by pressing F7 button. Secondly check if the message interfaces added in the Interface Mapping are correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenny,
In the transformation step, what is the source message and target message?
Is the source message nothing but merging of request and respone messages and target message is a different structure?
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.