BizTalk Server Orchestration - HTTP adapter

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2006 > HTTP adapter





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 HTTP adapter
PeterW

2006-01-13, 9:54 pm

I create a message and generate an XmlDocument.

I send it to an endpoint on a remote system using the HTTP adapter.

The message arrives at the other end but throws an exception as it contains
an unprintable character before the opening '<' of the xml declaration.

I thought that this must be an encoding issue, so repeated the above but
explicitly defined the XmlDeclaration to use Encoding.UTF-8 ( should make no
difference as this is the default). recompiled and redeployed. Indeed we
have the same problem still.

I attempted to use a pass through map and use the map to omit the xml
declaration. Still the same problem.

I have a look at the schemas which are UTF-8 and when I open them in a text
editor they do indeed show UTF-8 as the encoding. When I open them in the
Biztalk editor they show as UTF-16 but do not make any actual change to the
actual underlying schema document which remains UTF-8.

Why is the document arriving at the other end with something in front of the
opening angle bracket?

How can I suppress this?

cheers

--
PeterW
WenJun Zhang[msft]

2006-01-13, 9:54 pm

Hi Peter,

If it's failed before the '<' opening of xml declaration, it's most likely
the problem is caused by the following BOM issue. Do you have patched your
biztalk 2004 up-to-date? Has service pack 1 been installed yet?

885897 FIX: The BizTalk Server HTTP Adapter pre-appends the byte order mark
(BOM) to request messages in BizTalk Server 2004
http://support.microsoft.com/defaul...kb;EN-US;885897

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

This posting is provided "AS IS" with no warranties, and confers no rights.

PeterW

2006-01-13, 9:54 pm

WenJun

Right on the money.

I got the hotfix and problem has gone away.

Thank you.

cheers
--
PeterW


""WenJun Zhang[msft]"" wrote:

> Hi Peter,
>
> If it's failed before the '<' opening of xml declaration, it's most likely
> the problem is caused by the following BOM issue. Do you have patched your
> biztalk 2004 up-to-date? Has service pack 1 been installed yet?
>
> 885897 FIX: The BizTalk Server HTTP Adapter pre-appends the byte order mark
> (BOM) to request messages in BizTalk Server 2004
> http://support.microsoft.com/defaul...kb;EN-US;885897
>
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>

WenJun Zhang[msft]

2006-01-16, 2:48 am

You are welcome Peter. I'm glad to hear the information helped.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com