How To: Post XML with string data from an Recieved Flat File that has been transformed.

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › How To: Post XML with string data from an Recieved Flat File that has been transformed.

Viewing 1 reply thread
  • Author
    Posts
    • #18281

      Hello Gurus,

       

      I am very new to BizTalk. I'm under the gun, learning BizTalk as fast as I can. I am looking for some guidance

       I'm well along in the development of this. I am modifying an existing BT2006 application. It currently recieves a flat file and maps it to an XML file and posts it to a web service.

      I have modified it to now map the incoming file to another flat file in different format and send it to a File Port, using the FlatFileAssembler in a pipeline, saving it to a folder.

       What I would like to do now is take the newly created flat file and place it as string data inside an XML CDATA and post it to a webservice.  I for the life of me don't see how to do this through my options in orchestration.

      I'm not sure how to proceed, any recommendations? I'm not looking for a complete walkthrough, just pointing me in the correct direction would be just fine.

    • #18311

      Hello,

       My IT manager got in touch with Scott Colestock. He gave me some valuable advice, which I will share here. It looks like I need to call the pipeline from within orchestration. When I call Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline, I pass a message of type RawString ( a custom class available from MS samples ) as the 3rd paremeter, which will give me access to the flatfile as a string later in my orchestration where I can the build the new message that will be posted via HTTP.

       Now I just need to figure out how post this XML to a site and validate that it was received ( using HTTP Post and checking the error codes ) This doesn't sound like anything special, but I'm new and I'll have to research it and read the documentation. If anyone wishes to shortcut that and let me know where specifically to look, that would be greatly appreciated.

       Many thanks goes to Scott, it looks like I'll get on the correct path.

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