Click here to Skip to main content
Licence CPOL
First Posted 24 Oct 2007
Views 23,688
Downloads 1,044
Bookmarked 14 times

Consume Web Service to Orchestration

By | 24 Oct 2007 | Article
Consume web service to Orchestration and pass value to that web service through XML receive port

Introduction

Consume web service to Orchestration, that accepts input from BizTalk (XML file):

  • Here I make a web service accept a number and return their sum
  • Consume that web service to Orchestration (Add web reference)
  • Pass value from XML Receive port to WS
  • Invoke Web service by using web port and get output
  • Sending output by XML send port

Background

I make an assumption that you know how to:

  • Make a web service
  • Add web references on BTS
  • Basic Schema generation
  • Property promotion on schema
  • Schema Mapping

Using the Code

Web Service Output to Out XML Mapping

Screenshot - Map_WSOutToOutXml.jpg

Orchestration

Add configuration port and on port, type select web service port type. It will automatically create an appropriate request and response port.

Screenshot - Orchestration.jpg

Expression Shape

Here you need to assign input message value to Web service request message.

Screenshot - Expression.jpg

Points of Interest

Initially promoted field was not coming on Expression shape. To solve this, I give full name like projectname.schemaname.propertyschema.promoted field.

History

  • 24th October, 2007: Initial post

This is one of my very first articles, so if you find some pitfalls please send me email at thawait.himanshu@gmail.com.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

thawait.himanshu

Technical Lead
www.igatepatni.com
United States United States

Member

Himanshu Thawait is from Pune INDIA, He is Currently Working with iGatePatni Americas Inc., As a Tech Lead
 
Himanshu has more than 8+ yrs of experience in the IT industry working on Microsoft Technologies. He is involved in various project activities like System Architecture, Design, and Development. Technical experience most specifically ASP.NET, WCF and Webservices, Biztalk 2006, Design Pattern , C# and .NET framework
He has strong knowledge of Enterprise Business Application Domain

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralMy vote of 3 PinmemberPradeep Nilugal20:16 18 Sep '11  
QuestionQuery PinmemberNileshxp1021:11 3 Oct '10  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 25 Oct 2007
Article Copyright 2007 by thawait.himanshu
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid