07-21-04 01:53 AM
I haven't tried this, so I don't know it will work on the response or if it
is only used for a solicit-response port, but, try this:
MyMessage(HTTP.ContentType) = "text/html";
Matt
"darin dimitrov" <darin_dimitrov@hotmail.com> wrote in message
news:2b32e7c2.0407200726.4a78e78d@posting.google.com...
> Hello,
>
> I have a request-response receive adapter which is bound to the
> HTTP protocol. I am using the default BTSHTTPReceive.dll ISAPI. I
> receive a XML file, make some transformations in my orchestration and
> prepare a message which in fact represents a HTML page. Then I route
> this message to the response part of my adapter via a PassThru
> pipeline.
>
> The problem I encounter is that the BTSHTTPReceive.dll ISAPI
> always sets the Content-Type to text/xml and my HTML page cannot be
> well displayed in the browser. I tried using the microsoft's SDKUtils
> method : SetContentType (as shown in
>
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebiz_prog_email_kqel.asp[
/url])
> but it didn't change anything, although I can succesfully send html
> emails with this method. Is there any way to set the Content-Type of
> the BTSHTTPReceive.dll ISAPI to text/html when used in a
> request-response receive adapter?
[ Post a follow-up to this message ]
|