can't display HTML with 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 > can't display HTML with HTTP adapter




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

    can't display HTML with HTTP adapter  
TalkBiz


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


 
08-30-04 10: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





[ Post a follow-up to this message ]



    RE: can't display HTML with HTTP adapter  
Stefan Thurow


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


 
09-02-04 11:18 PM

Hmm, I'm not sure what your excact scenario is, but if you are trying to pos
t
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 fi
le
> 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





[ Post a follow-up to this message ]



    RE: can't display HTML with HTTP adapter  
TalkBiz


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


 
09-02-04 11: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 p
ost
> something to BizTalk through a Web browser using a two-way request-respons
e
> port, then you can set the content-type in the HTTP transport properties o
f
> your receive location. It's called 'Return content type'.
>
> Cheers
>
> Stefan
>
> "TalkBiz" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:51 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