HTTP adapter
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > HTTP adapter




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    HTTP adapter  
PeterW


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-06 02:54 AM

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





[ Post a follow-up to this message ]



    RE: HTTP adapter  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-06 02:54 AM

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.






[ Post a follow-up to this message ]



    RE: HTTP adapter  
PeterW


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-06 02:54 AM

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 mar
k
> (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
.
>
>





[ Post a follow-up to this message ]



    RE: HTTP adapter  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-16-06 07: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.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register