Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mapping issue

Status
Not open for further replies.

zash74

Programmer
Feb 21, 2005
5
US
Hi,
I am having issue in transformation of xml in orchestration. When i click on map file and run "test map" i got output file. On the other hand when i use that same map with same input xml file in an orchestration and use transform block for mapping. I got error message i.e. "Root element missing" in HAT. When i debug the orchestration i found that after transformation my destination message that i use to send to send port is null and has no data. Does anybody know why it runs thru test map and not thru orchestration.

This is the error i m getting:

There was a failure executing the send pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLTransmit" Source: "XML assembler" Send Port: "C:\connect\%MessageID%.xml" Reason: The root element is missing.

Any help greatly appreciated.
thnx
ZA
 
Set your Pipeline to PassThrough just for Testing, and have a File Adapter drop that Message! Then you can have a look at the Result of the Message! Sounds to me like either you are sending invalid Xml or your Message does not validate against a schema!

Try to validate the Output result against your schema!

Stephan
 
Did you get that working? Is your result Document validating against your schema?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top