Home Page › Forums › BizTalk 2004 – BizTalk 2010 › message part has not been initialized in construct statement › Re: message part has not been initialized in construct statement
Hi,
I’m a newbie to Biztalk. I wanted to call a web service and so I had added reference to the web service but the XSD files for this web service are not generated. So, I decided to use Construct Message and Message Assignment shape to initialize my web request message from my incoming message data.(And then Send shape should send the Request Message to Request operation of web port.)
I’m trying to assign to my Web Request message in the message assignment shape with this expression:
WebRequest_doc.input_xml = InboundDoc.input_xml;
Where
WebRequest_doc is a message created in Orchestration View under messages with ‘Message Type’ pointing to request Type Name of web method. input_xml ‘s Object Type = Message part with Type = System.String and ‘Message Body part = false’
And InboundDoc is a message created in Orchestration View under messages with following Schema
<?xml version=”1.0″ encoding=”utf-16″ ?>