BizTalk Server General - Unexpected end of document

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > July 2005 > Unexpected end of document





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 Unexpected end of document
Bill

2005-07-07, 5:52 pm

Hi,

I am trying somethings simple:
1) drop an xml doc in a folder
2) apply a map to the doc
3) receive the doc in another folder

I have created a receive port and location for 1 and a send port with a
filter that filters on BTS.ReceivePortName and an outbound map.

Now the map is tested in Visual Studio and both in- and outbound docs are
validated. Everything is working fine

When I try Biztalk Server I get this:

The Messaging Engine failed while executing the outbound map for the message
going to the destination URL "c:\DataConvOut\%MessageID%.xml" with the
Message Type "MasterData". Details:"Unexpected end of document. It is not a
new document and the dissassembly is incomplete. "

If I remove the map from the send port the file is moved ok, so is there a
problem with my map ??? I have tried using the same map in an orchestration.
Then it works fine and i am able to accomplice the simple task.

Google has nothing on this so I'm blank.

Best regards,

Bill
Tomas Restrepo \(MVP\)

2005-07-07, 5:52 pm

Bill,

> I am trying somethings simple:
> 1) drop an xml doc in a folder
> 2) apply a map to the doc
> 3) receive the doc in another folder
>
> I have created a receive port and location for 1 and a send port with a
> filter that filters on BTS.ReceivePortName and an outbound map.
>
> Now the map is tested in Visual Studio and both in- and outbound docs are
> validated. Everything is working fine
>
> When I try Biztalk Server I get this:
>
> The Messaging Engine failed while executing the outbound map for the
> message
> going to the destination URL "c:\DataConvOut\%MessageID%.xml" with the
> Message Type "MasterData". Details:"Unexpected end of document. It is not
> a
> new document and the dissassembly is incomplete. "
>
> If I remove the map from the send port the file is moved ok, so is there a
> problem with my map ??? I have tried using the same map in an
> orchestration.
> Then it works fine and i am able to accomplice the simple task.


Out of curiosity: what pipelines are you specifying on the receive and send
ports?


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Bill

2005-07-08, 2:47 am

Default XMLTransmit and -Receive

/Bill

"Tomas Restrepo (MVP)" wrote:

> Bill,
>
>
> Out of curiosity: what pipelines are you specifying on the receive and send
> ports?
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>

Tomas Restrepo \(MVP\)

2005-07-08, 7:47 am

Hi Bill,

> Default XMLTransmit and -Receive


Have you tried changing the send pipeline to passthru?


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Bill

2005-07-08, 7:47 am

Then the file is moved, but the map is not applied. I've seen this before
allways with the error below. Now the error is not generated.

/Bill

"Tomas Restrepo (MVP)" wrote:

> Hi Bill,
>
>
> Have you tried changing the send pipeline to passthru?
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>

Tomas Restrepo \(MVP\)

2005-07-09, 5:48 pm

Bill,

> Then the file is moved, but the map is not applied. I've seen this before
> allways with the error below. Now the error is not generated.


Have you tried doing it the other way? (put the passthrough on the receive,
and the XmlTransmit on the send)


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Bill

2005-07-13, 6:00 pm

Hi Tomas

Same result - the file is moved but not transformed.
PassThrough on the receive loacation (no map) and XmlTransmit on Send Port
(filter and map). It very odd!!

/Bill

"Tomas Restrepo (MVP)" wrote:

> Bill,
>
>
> Have you tried doing it the other way? (put the passthrough on the receive,
> and the XmlTransmit on the send)
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>
>

Tomas Restrepo \(MVP\)

2005-07-13, 6:00 pm

Bill,

> Same result - the file is moved but not transformed.
> PassThrough on the receive loacation (no map) and XmlTransmit on Send Port
> (filter and map). It very odd!!


Very odd indeed. If you want (and can), send me the solution and I'll try it
here to see if I can repro it...


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com