BizTalk Gurus

Reply to: How to pass XML document as string parameter to Scripting Functoid

Write your reply below. Click the "Post" button to submit your message.
Anonymous wrote the following post at Mon, Jul 6 2009 5:56 AM:

Hello,

I have a problem. I want to pass XML document as parameter to Scripting Functoid. Where I run this code I get a null variable.

I want pass strTmp which is document

<POLISY xmlns="http://E.M.P.FD">
 <HEADERINFO>
  <RaportDateCreate>2009-06-08T11:57:25</RaportDateCreate>
 </HEADERINFO>
  <POLISA>
      <NUMER>A0/DOK/I/00006/2009</NUMER>
  </POLISA>
  <POLISA>
      <NUMER>A0/DOK/I/00007/2009</NUMER>
  </POLISA>
</POLISY>

[IN EXPRESSION EDITOR]

strTmp = xmlTmpDocOut.InnerText.ToString();

strXmlTmp = "<HashString><strcontractNo>"+strcontractNo+"</strcontractNo>";

strXmlTmp = strXmlTmp + "<xmlDoc>"+strTmp+"</xmlDoc>";

strXmlTmp = strXmlTmp + "<pass></pass></HashString>";

[IN Scripting Functoid]

PARAMETER

/*[local-name()='<Schema>']/*[local-name()='HashString']/*[local-name()='xmlDoc']

When I want to get a parameter value I get null.

Where is an error.

Please HELP.

Paul.

 

Quote
 
Description:    

:




 
SPAM Control: Type BIZTALK2009 exactly as shown:
This is to stop SPAM to this forum. Only Anonymous Users see this.