03-18-05 10: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:
>
[ Post a follow-up to this message ]
|