rajparmar

Is there a way to add/create a SEND or RECEIVE Message in the orchestration based on Schema and NOT PORT

for example I have below (send Message)>>

Schema1Request :

<LOGIN>

<UID/>

<PWD/>

</LOGIN>

I get below response (receive Message)>>

Schema2Response:

<RESULT>

<SUCCESSFUL>true</SUCCESSFUL>

</RESULT>

I keep getting this error >> use of unconstructed message 'Schema1RequestInstance'

THERE IS NO SEND or RECEIVE (attached line) PORT associated with the send Message!

THX




Re: BizTalk R2 General BizTalk 2006 : create message from schema in Orchestration - and NOT FROM PORT ? Biztalk Server 2006;

Richard Hallgren

I'm not really sure I totally understand your problem. I do however think you should read this article on how to create messages inside orchestration as that is kind of tricky and your error indicates that you have problems there. Make sure you understand what it means that messages are immutable in BizTalk and why that is so.

Richard Hallgren

http://www.richardhallgren.com






Re: BizTalk R2 General BizTalk 2006 : create message from schema in Orchestration - and NOT FROM PORT ? Biztalk Server 2006;

rajparmar

I have actually solved the problem by creating Expression that would use XMLDocument from which to create Message in orchestration.

Reference link that helped me is >>

firstly, http://topxml.com/BizTalk/rn-290998_message-part-has-not-been-initialized-in-construct-statement.aspx

specific text >> QUOTED BELOW>>

That is one way of doing it. There are others:
http://objectsharp.com/cs/blogs/matt/archive/2004/11/09/1009.aspx
http://www.traceofthought.net/PermaLink,guid,c1164c59-72e2-49e2-be7a-47e4e8dc46d4.aspx

http://blogs.charteris.com/blogs/valerym/archive/2006/11/28/The-Power-Of-Love-To-_2E002E002E00_-Undocumented-APIs-_2800_Part-1_2900_.aspx

You can't declare an XmlDocument inside your expression shape. You
need to have it as a variable declaed on the orchestration view like
all other variables and messages.

and Secondly http://objectsharp.com/cs/blogs/matt/archive/2004/11/09/1009.aspx

THX
RAJ






Re: BizTalk R2 General BizTalk 2006 : create message from schema in Orchestration - and NOT FROM PORT ? Biztalk Server 2006;

rajparmar

I used #3; Actually its funny, I read same article you'd mentioned without me knowing it... SMALL WORLD.