Answered by:
Soap Envelope

Question
-
Hi,
I need to publish a soap envelope, so for this I created a soap body ( as a normal schema ) but how can I can I create a soap header and publish it as I am using BizTalk 2006 r2.
Thanks,
Sudheer
Tuesday, April 13, 2010 6:01 AM
Answers
-
It might help
http://technet.microsoft.com/en-us/library/bb259987(BTS.20).aspx
Thanks, Raja
Its about extracting the SOAP header from the WCF message.
If you need a custom SOAP header depends what adapter & service you are using. If you are using in SOAP(.asmx services) you can see the following blog posts.
HowTo define a Custom Soap Header in BizTalk. Expose it, Consume it , even map them..
SOAP Headers with Consumed Web Services on MSDNFor WCF adapter http://msdn.microsoft.com/en-us/library/bb246026.aspx
Abdul Rafay - MVP & MCTS BizTalk Server
blog: http://abdulrafaysbiztalk.wordpress.com/
Please mark this as answer if it helps.- Proposed as answer by Raja.Kumaravel Tuesday, April 13, 2010 7:15 AM
- Marked as answer by Andrew_ZhuModerator Tuesday, April 20, 2010 7:01 AM
Tuesday, April 13, 2010 6:51 AM -
Hi Varun,
You can access SOAP headers via pipeline components or orchestration.
Regards,
Steef-Jan Wiggers
MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalk- Marked as answer by Andrew_ZhuModerator Tuesday, April 20, 2010 7:01 AM
Friday, April 16, 2010 3:04 PMModerator
All replies
-
Tuesday, April 13, 2010 6:06 AM
-
It might help
http://technet.microsoft.com/en-us/library/bb259987(BTS.20).aspx
Thanks, Raja
Its about extracting the SOAP header from the WCF message.
If you need a custom SOAP header depends what adapter & service you are using. If you are using in SOAP(.asmx services) you can see the following blog posts.
HowTo define a Custom Soap Header in BizTalk. Expose it, Consume it , even map them..
SOAP Headers with Consumed Web Services on MSDNFor WCF adapter http://msdn.microsoft.com/en-us/library/bb246026.aspx
Abdul Rafay - MVP & MCTS BizTalk Server
blog: http://abdulrafaysbiztalk.wordpress.com/
Please mark this as answer if it helps.- Proposed as answer by Raja.Kumaravel Tuesday, April 13, 2010 7:15 AM
- Marked as answer by Andrew_ZhuModerator Tuesday, April 20, 2010 7:01 AM
Tuesday, April 13, 2010 6:51 AM -
Hi,
For BizTalk Server 2006 R2 you will find information MSDN SOAP Headers with Published WCF Services and surrounding links. Posts by U3 can help (3 parts) and samples for BizTalk Server 20006 R2.
Regards,
Steef-Jan Wiggers
MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalkTuesday, April 13, 2010 11:15 AMModerator -
I am using WCF-WSHTTP adapter. I created a normal schema with all the header elements I needed under a root node element. Then I have created a property schema and assigned this above root node element under the property schema. But how can i generate a full instance (Soap Header and Soap Body) in a single XML format.
Also how can I route or use these header elements in the orchestration (EX. I need to eneter these header values into a database) . I know for normal schema elements i will either make the field which is to be inserted into a database as distinguished or by using a XPATH, but my question is how to read values from the soap header elements? Any Ideas?
Thanks,
varun
Friday, April 16, 2010 3:00 PM -
Hi Varun,
You can access SOAP headers via pipeline components or orchestration.
Regards,
Steef-Jan Wiggers
MCTS BizTalk Server
http://soa-thoughts.blogspot.com/
If this answers your question please mark it accordingly
BizTalk- Marked as answer by Andrew_ZhuModerator Tuesday, April 20, 2010 7:01 AM
Friday, April 16, 2010 3:04 PMModerator