BizTalk Server - Preparing the xml for biztalk

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > April 2005 > Preparing the xml for biztalk





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 Preparing the xml for biztalk
NEWS

2005-04-04, 5:50 pm

Hi,

When I prepare the xml file for biztalk, I hope to utilize the
DataSet.WriteXml(), but the for any dbnull values, writexml will not even
write the element tag with null. How can we make sure every fields in the
dataset are in the xml file?

Thanks,

Jason


Jon Fancey

2005-04-07, 7:48 am

Hi Jason,

Depending on what you're doing you might not need them. If you are concerned
about firing the message into biztalk then what you need on the biztalk side
is the schema. If you use DataSet.GetXmlSchema instead it will give you what
you need (i.e. all elements from your dataset whether null or not). You can
then pull this into biztalk and send your GetXml'd DataSet message into
biztalk just fine. Don't forget to set a target namespace on your schema
after you have though (and add it to your GetXml'd message root element) to
ensure a subscription can match.

Jon.

"NEWS" wrote:

> Hi,
>
> When I prepare the xml file for biztalk, I hope to utilize the
> DataSet.WriteXml(), but the for any dbnull values, writexml will not even
> write the element tag with null. How can we make sure every fields in the
> dataset are in the xml file?
>
> Thanks,
>
> Jason
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com