|
Home > Archive > BizTalk Server Orchestration > November 2004 > Problem with Biztalk mapper
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problem with Biztalk mapper
|
|
|
| I had mapping scenario in where I am having 3 input xml file and 1 output xml file, which I can easily specify in the mapping component in the orchestration. The problem is when it opens the mapper. It shows that it had 3 input xml’s but only shows fiel
ds of first input xml and the other two as empty. When I go back to the orchestration and try to click on the transform component it says that the signature of the map file has changed, some arguments that you specify may not be valid. I believe it is pos
sible to have multiple input file and one output file, Am I missing something?.
Thanks
Amit
| |
| Tan Bao Nguyen 2004-07-09, 3:33 pm |
| Is the issue resolved?
Regards,
Tan Nguyen
Microsoft BizTalk Server
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------[vbcol=seagreen]
xml file, which I can easily specify in the mapping component in the
orchestration. The problem is when it opens the mapper. It shows that it
had 3 input xml’s but only shows fields of first input xml and the other
two as empty. When I go back to the orchestration and try to click on the
transform component it says that the signature of the map file has changed,
some arguments that you specify may not be valid. I believe it is possible
to have multiple input file and one output file, Am I missing something?.
Thanks
Amit
[vbcol=seagreen]
| |
| Tan Bao Nguyen 2004-07-09, 3:33 pm |
| Amit,
Did you change the schemas or namespaces afterward?
Regards,
Tan Nguyen
Microsoft BizTalk Server
This posting is privided "AS IS" with no warranties, and confers no rights.
--------------------[vbcol=seagreen]
xml file, which I can easily specify in the mapping component in the
orchestration. The problem is when it opens the mapper. It shows that it
had 3 input xml’s but only shows fields of first input xml and the other
two as empty. When I go back to the orchestration and try to click on the
transform component it says that the signature of the map file has changed,
some arguments that you specify may not be valid. I believe it is possible
to have multiple input file and one output file, Am I missing something?.
Thanks
Amit
[vbcol=seagreen]
| |
| JonathanWu 2004-11-17, 1:17 pm |
| I am pretty sure the problem you encountered is due to the namespace#rootElement collision. If you are using the same namespace for those 3 inbound xml documents and these documents also have the same root element, you will run into this problem exactly as you described. You need to make sure the definition of your xml namespaces will always allow BizTalk to derive a unique type. The simple solution to your problem could be:
1. use a dinstinct namespace name for each inbound document schmea; or
2. use a distinct root element name in each schema.
One common scenario you will run into this problem is when you use the schemas generated by the SQL Adapters invoking the stored procedures. If you let the stored procedure to return "FOR XML RAW" and you have the same namespaces for these stored procedures generated schemas, then BizTalk mapper will not be able to import the rest of schemas since there's a type collision after importing the first schema. You will have these collisions if you define your namespace to be: http://mynamespace.
InputMessagePart_0: http://mynamespace#row
InputMessagePart_1: http://mynamespace#row
InputMessagePart_2: http://mynamespace#row
Go to my blog to find more information:
http://biztalkshow.blogspot.com
Jonathan Wu |
|
|
|
|