Click here to Skip to main content
13,257,236 members (50,400 online)
Click here to Skip to main content
Add your own
alternative version


16 bookmarked
Posted 24 Oct 2007

Consume Web Service to Orchestration

, 24 Oct 2007
Rate this:
Please Sign up or sign in to vote.
Consume web service to Orchestration and pass value to that web service through XML receive port


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


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


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.


  • 24th October, 2007: Initial post

This is one of my very first articles, so if you find some pitfalls please send me email at


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


About the Author

Himanshu Thawait
Technical Lead Cognizant
United States United States
Himanshu Thawait is from Pune INDIA, He is Currently Working with Cognizant. As a Technical Designer

Himanshu has more than 9+ yrs of experience in the IT industry working on Microsoft Technologies. He is involved in various project activities like designing the system and technical architecture,leading technical front and doing core development.He also has strong knowledge of Enterprise Business Application Domain.

Technical experience :C#, ASP.NET MVC 4 @Razor, WCF and Webservices, Biztalk 2010/2009/2006R2 with EDI(HIPPA).

You may also be interested in...


Comments and Discussions

GeneralMy vote of 3 Pin
Pradeep Nilugal18-Sep-11 21:16
memberPradeep Nilugal18-Sep-11 21:16 
QuestionQuery Pin
Nileshxp103-Oct-10 22:11
memberNileshxp103-Oct-10 22:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 | Terms of Use | Mobile
Web02 | 2.8.171114.1 | Last Updated 25 Oct 2007
Article Copyright 2007 by Himanshu Thawait
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid