Creating SOAP Header Schemas in BizTalk 2006 (Part 3)

Now we are go to create an Orchestration that can send a request to a Web Service that can process a SOAP Header "see Creating SOAP Header Schemas in BizTalk 2006 (Part 2) ":

1) You have to define a schema , the schema type of it is Property and the target namespace is http://schemas.microsoft.com/BizTalk/2003/SOAPHeader "see Creating SOAP Header Schemas in BizTalk 2006 Article Part(1)" ,
but you have to add a Child Field Element its name exactly the name of SOAP header class in the web service that will Process the SOAP Header

2)Now put your send , receive , assignment , and send-receive port to the web service that process the SOAP Header , as shown in the below image :


3) The Important part here is in the Assignment shape; let us check the code inside it:

msgRequest(SOAPHeader) = "HELLO AM IN HEADER ";

*msgRequest : is a message of type web messages type ,which is the type of the web service tha process the SOAP header type


*SOAPHeader : The Schema that we have define


*"HELLO AM IN HEADER " : the vlaue that will be send to the web service


Now Congratulations, you can now Biztalking ...: D

2 Response to "Creating SOAP Header Schemas in BizTalk 2006 (Part 3)"

  1. Anonymous Says:
    April 14, 2009 at 8:20 AM

    Can you tell me how to retrieve the soap header value if it is aleady assigned in by the client and we want to use it in orchestration to access another webservice with same credential.
    you can send the reply at jitbiswal@yahoo.com

  2. U3 says:
    May 14, 2009 at 2:06 AM

    You mean that you want to implement the SOAPHeader the same as the client header