File transfer between web services

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › File transfer between web services

Viewing 1 reply thread
  • Author
    Posts
    • #22654

      Hi all,

      i have 2 web services(not generated by biztalk web services publishing wizzard) and i am need to transfer file(.doc or .rtf) from 1st service to 2nd.
      Is there any way to do this using soap adapter only?

    • #22666

      Should be possible, how is the file transported in the web service payload. Does it use MIME, MTOM or hopefully not DIME. Is the file Base64 encoded into the Xml Soap body?

      • #22671

        This scenario is under delevopment, and it is necessary to undersand could this be performed using biztalk soap adater only. Web services will be oriented to biztalk compatibility, so the way they receive data is not important. At the moment it is necessary to understand what cases soap adapter supports. In future integration will be expanded, so it is necessary  that all actions are performed with biztalk built-in tools. Base64 encoding could fit only if BizTalk can decode the document without any programming or external additions.

        • #22676

          If you are retrieving the file from an non-Biztalk web service and sending to another non-Biztalk web service then the easiest way would be to Base64 encode the file stream into an Xml node of the Soap message. Biztalk would not need to decode this data, just send it to the other web service that would decode the base64 back to a file stream.

          Alternatively you could use the WCF Adapter and MTOM to move the file payload. This would be more complicated but faster – smaller messages and no base64 encoding/decoding.

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