Length of the instance file

Home Page Forums BizTalk 2004 – BizTalk 2010 Length of the instance file

Viewing 1 reply thread
  • Author
    Posts
    • #17474

      Hi,

      I am doing map from source schema to a destination schema. One field of the destination schema should contain the content length of the instance file of the source schema. Pls let me know how can I do this?  Thanks in advance.

      Rgds,
      -Gopi

    • #17479

      Gopi,

      in a map, I don't think you have direct access to the incoming document size. Here are the options as I see them:

      – use a functoid to somehow get the file size (details depend on your app)

      – use a pipeline component to inject the size of the file into the XML of the message (you need to have a suitable field in the incoming message schema

      – get the information in an orchestration and inject it into the XML. You could pass the XML out to an assembly which could get the size and inject it for you.

      John D.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.