Use of unconstructed "DocumentOut" message - resolve how???
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Use of unconstructed "DocumentOut" message - resolve how???




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Use of unconstructed "DocumentOut" message - resolve how???  
H


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-15-04 04:52 PM

I have created an Orchestration with two Schemas DocumentIn and DocumentOut.
I have then used a transformation shape and a Mapper to transform the messag
e DocumentIn to DocumentOut.
I have then attempted to use a Classlibrary Class Method that takes in two X
ML arguments (DocumentIn and DocumentOut (messages)).  The method transfers 
elements from DocumentIn and recreates/extends the DocumentOut with items fr
om DocumentIn that could no
t be mapped.  This is then returned as a new XmlDocument.  The Class method 
is marked as [Serializable].  When I run the Class Method isolated from 
BizTalk everything works fine, however when I implement the Class Method in 
BizTalk I get "use of unconstru
cted message 'DocumentOut'"  when trying to build the Orchestration.  Error 
refers to the Construct Message Shape with a MessageAssignment Shape with th
e code "DocumentOut = MsgMgmt.AssignMsgPayLoad(DocumentIn, DocumentOut)".

Who do I resolve this?  I realize I there must be missing some really simple
 concept I am missing here but the message does not give a reason why and I 
cannot find anything currently on the web.

Cheers,

H





[ Post a follow-up to this message ]



    Re: Use of unconstructed "DocumentOut" message - resolve how???  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-16-04 12:44 AM

you are trying to use the documentout message as a parameter to your method,
that's what it is complaining about since you are not out of the construct
shape yet.  You might be able to get away with having a second construct
shape and documentout2.  Then call your method passing in documentout and
gettting back documentout2.  Keep in mind that messages should be immutable
in BTS so once you create a message, any changes should cause a new message
to be created.

matt


"H" <anonymous@discussions.microsoft.com> wrote in message
news:A2829101-E3A8-4638-BB5D-65756B1170A0@microsoft.com...
> I have created an Orchestration with two Schemas DocumentIn and
DocumentOut.
> I have then used a transformation shape and a Mapper to transform the
message DocumentIn to DocumentOut.
> I have then attempted to use a Classlibrary Class Method that takes in two
XML arguments (DocumentIn and DocumentOut (messages)).  The method transfers
elements from DocumentIn and recreates/extends the DocumentOut with items
from DocumentIn that could not be mapped.  This is then returned as a new
XmlDocument.  The Class method is marked as [Serializable].  When I run 
the
Class Method isolated from BizTalk everything works fine, however when I
implement the Class Method in BizTalk I get "use of unconstructed message
'DocumentOut'"  when trying to build the Orchestration.  Error refers to the
Construct Message Shape with a MessageAssignment Shape with the code
"DocumentOut = MsgMgmt.AssignMsgPayLoad(DocumentIn, DocumentOut)".
>
> Who do I resolve this?  I realize I there must be missing some really
simple concept I am missing here but the message does not give a reason why
and I cannot find anything currently on the web.
>
> Cheers,
>
> H







[ Post a follow-up to this message ]



    Re: Use of unconstructed "DocumentOut" message - resolve how???  
H


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-16-04 04:13 PM

Thanks, my problem centered around the immutable nature of messages.  The me
ssage could have been more meaningful especially as the Orchestration Design
er shows everything is ok and only fails on build.

H





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:27 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register