question

fredc-8436 avatar image
0 Votes"
fredc-8436 asked ColinDijkgraaf commented

biztalk pdf file

I am receiving a pdf file in biztalk and I need to convert it to base64 string and send to the destination system.
What should be the ideal way to do this and I have created an orchestration as there would be some business logic as well based on the file name of the incoming pdf.

biztalk-server
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That depends on your definition of ideal. There are multiple different ways you can do it
1) In a map with a functoid
2) In a send pipeline
3) From an expression shape in an Orchestration or by calling a pipeline in an orchestration

1 Vote 1 ·

Hello Colin

By ideal i mean considering the performance since it would be pdf files.

Also what do you mean by (In a map with a functoid). How can this be done in the map?

Thank you.

0 Votes 0 ·

Have a look at this thread. The other option would be for the functoid to call a helper class.


0 Votes 0 ·

For performance, if I was just sending the raw PDF, I would do it in a custom pipeline component, that could do it with streaming, as to reduce memory impact of large files.

0 Votes 0 ·

0 Answers