BizTalk Server Orchestration - Re: BizTalk sending a string message with HTML gives < > instead of &l

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2005 > Re: BizTalk sending a string message with HTML gives < > instead of &l





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 Re: BizTalk sending a string message with HTML gives < > instead of &l
BA

2005-03-18, 5:54 pm

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/d...-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...[vbcol=seagreen]
> 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:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com