Re: BizTalk sending a string message with HTML gives < > instead of < >
From: BA (biztalk.architect_at_gmail.com)
Date: 03/18/05
- Next message: BA: "Re: Biztalk 2004: HTML file output and "output escaping""
- Previous message: James Denning: "Re: Promoted Properties XPath"
- In reply to: Siva Gowrishetti: "RE: BizTalk sending a string message with HTML gives < > inste"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Mar 2005 16:27:10 +0100
One of the community members Gavin was so kind as to post a working
solution:
(I cant believe how close I was, thanks for the help!)
I did the same think for creating XML files. Here's what I did:
1) Created an assembly based on :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebi
z_prog_email_ibad.asp
I changed the namespace to match the MSDN example -
Microsoft.XLANGs.CustomFormattersSDK
Install it in the GAC.
2) In my orchestration project, added a reference to the
Microsoft.XLANGs.CustomFormattersSDK dll.
- Create a msg in my orchestration of type RawString, same for the port
type.
- Assign the Rawstring class instance to my msg
- In my message assignment expression:
RawOutMsg = new
Microsoft.XLANGs.CustomFormattersSDK.RawString("<HTML><BODY>Hello
world</BODY></HTML>")
3) I used the PassThru pipeline for the file port.
4) Sent it.
"Siva Gowrishetti" <SivaGowrishetti@discussions.microsoft.com> wrote in
message news:FD434588-271E-45D1-906E-AC3E87C5AAD9@microsoft.com...
> Did you try content type as "application/x-www-form-urlencoded" at the
> port
> level?
>
> Note BizTalk uses "utf-16" as encoding.
>
>
> Siva
>
>
> "BA" wrote:
>
>> As anyone had to deliver an HTML document?
>>
>> How do you do it? I get my tags replaced and the document is seen in the
>> browser as HTML source code and not the resulting page.
>>
>> HTML gives < > instead if < and > --no tags are produced
>>
>> I've tried ASCII and UTF-8 encoding in the pipeline with no result
>>
>> The dbmon shows HTML as the result but it doenst reach the file that way.
>>
>> Any assistance would be greatly appreciated.
>>
>>
>>
>>
- Next message: BA: "Re: Biztalk 2004: HTML file output and "output escaping""
- Previous message: James Denning: "Re: Promoted Properties XPath"
- In reply to: Siva Gowrishetti: "RE: BizTalk sending a string message with HTML gives < > inste"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|