BizTalk Server Applications Integration - XML format for output to external application

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > February 2005 > XML format for output to external application





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 XML format for output to external application
rich

2005-02-20, 6:11 pm

I am outputting an XML document to be processed by a software package
application. The send port maps the data to an XML document and then uses
the default "XMLtransmit" pipeline from MS to write the document to a file
directory.

The first line of the resulting document is "<?xml version="1.0"
encoding="utf-8" ?> ". This expression causes the document to be rejected
by the application.

Is it possible to surpress this XML expression within Biztalk or will I be
required to do post processing of the document after Biztalk outputs the
file?

Thanks

rjt


Tomas Restrepo \(MVP\)

2005-02-20, 6:11 pm

Rich,

> I am outputting an XML document to be processed by a software package
> application. The send port maps the data to an XML document and then uses
> the default "XMLtransmit" pipeline from MS to write the document to a file
> directory.
>
> The first line of the resulting document is "<?xml version="1.0"
> encoding="utf-8" ?> ". This expression causes the document to be

rejected
> by the application.
>
> Is it possible to surpress this XML expression within Biztalk or will I be
> required to do post processing of the document after Biztalk outputs the
> file?


Yes, it is possible. Instead of using the default XMLTransmit pipeline,
create your own custom Send pipeline, add the XMLAssembler component to it,
and then configure on it the schemas of the messages you want to send. Also,
set the "Add XML Declarations" property of the XMLAssembler to false.

Then configure your send port to use your newly created pipeline.

--
Tomas Restrepo
tomasr@mvsp.org


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com