Flat File to string inside Orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Flat File to string inside Orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #12188

      Hi,

      I have a problem inside my ochestration. I receive an XML file, transform it into a positional flat file and then I should send it to a web service which accepts it as string. The last step is the problem.

      I’ve done it sending XML as string following an article by Matt Meleski (Passing an XML Instance to a Web Service Method via a BizTalk 2004 Orchestration Web Port) and everything goes perfect.

      I supose it’s like calling the flat file assembler inside the orchestration or something like that, but I can’t figure out how.

      Thank you in advance,
      Paula

    • #12189

      Thank you for your answer. I’ve been trying to do some experiments these days 😉

      I’ve tried to use Loopback adapter from El Grego ([url]http://geekswithblogs.com/gwiele/archive/2004/11/10/14737.aspx[/url])

      I had no luck, the send pipeline it’s configured with a Flat File Assembler and the receive one is pass through and expects a System.Xml.XmlDocument. The problem is that it’s trying to validate it and fails. I’m a bit confused now.

      Probably I will try tomorrow to make a dummy orchestration and call it from the first one.

      • #12190

        That is very hard to do with Biztalk 2004. I have tried to do exactly what you wanted with no luck.

        You might want to try writing the flat file to the file system. Then, having another process picks it up using the pass through pipeline. Then, receive it as a message of type XmlDocument (it works – kind of strange through) and then pass that to the web service.

        You can do this in 2006 – but that doesn’t help you now.

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