BizTalk Server - can't display HTML with HTTP adapter

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > September 2004 > can't display HTML with 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 can't display HTML with HTTP adapter
TalkBiz

2004-08-30, 5:53 pm

hi,

I convert XML to HTML using an XSL transformation and send this HTML file
using HTTP adapter (BTTSHttpReceive.dll).

The problem is that this HTML is displayed as XML in the browser ! When I
see the code source, it is HTML !

I tried everything in the message Assignment to have "HTTP.contentype =
text/HTML" but it doesn't work.

Have you any idea to solve this ? Must I customize the HTTP adapter ?

thanks,
TalkBiz
Stefan Thurow

2004-09-02, 6:18 pm

Hmm, I'm not sure what your excact scenario is, but if you are trying to post
something to BizTalk through a Web browser using a two-way request-response
port, then you can set the content-type in the HTTP transport properties of
your receive location. It's called 'Return content type'.

Cheers

Stefan

"TalkBiz" wrote:

> hi,
>
> I convert XML to HTML using an XSL transformation and send this HTML file
> using HTTP adapter (BTTSHttpReceive.dll).
>
> The problem is that this HTML is displayed as XML in the browser ! When I
> see the code source, it is HTML !
>
> I tried everything in the message Assignment to have "HTTP.contentype =
> text/HTML" but it doesn't work.
>
> Have you any idea to solve this ? Must I customize the HTTP adapter ?
>
> thanks,
> TalkBiz

TalkBiz

2004-09-02, 6:18 pm

Stefan,

I just found the solution myself and I came across this newsgroup
to post it and I found your reply ! I found the "content-type" property in
biztalk Explorer clicking on the "..." of the URL property belonging to the
HTTP receive location.

Thanks for your answer. It confirms that our team is in the right
path.

- Paniny

"Stefan Thurow" wrote:
[vbcol=seagreen]
> Hmm, I'm not sure what your excact scenario is, but if you are trying to post
> something to BizTalk through a Web browser using a two-way request-response
> port, then you can set the content-type in the HTTP transport properties of
> your receive location. It's called 'Return content type'.
>
> Cheers
>
> Stefan
>
> "TalkBiz" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com