07-29-04 10:50 PM
I don't know if your approach should work or not.
I just want to say that it may be better to promote the field as distinguish
ed field, then it will be easily accessibly in orchestration and you don't h
ave to hard-code the
XPath.
(There are 2 ways to promote field: as property field and as distinguished f
ield. Property field is accessible from most biztalk parts and can be used f
or correlation, routing
etc. Distinguished field are similar to property field but it is accessibly
only from orchestration and can not be used in correlation, routing etc)
Thanks,
Tatyana
--------------------
>From: prollo@libero.it (Luca)
>Newsgroups: microsoft.public.biztalk.orchestration
>Subject: Get xml value from Biztalk orchestration message
>Date: 29 Jul 2004 08:53:28 -0700
>Organization: http://groups.google.com
>Lines: 14
>Message-ID: <3d9f225e.0407290753.bab3a@posting.google.com>
>NNTP-Posting-Host: 80.116.219.49
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1091116408 3486 127.0.0.1 (29 Jul 2004 15:53:28
GMT)
>X-Complaints-To: groups-abuse@google.com
>NNTP-Posting-Date: Thu, 29 Jul 2004 15:53:28 +0000 (UTC)
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.
phx.gbl!newsfeed00.sul.t-online.de!t-online.de!fr.ip.ndsoftware.net!
proxad.net!postnews2.google.com!not-for-mail
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.orchestration:7450
>X-Tomcat-NG: microsoft.public.biztalk.orchestration
>
>Hi,
>how can i estract a value from xml message stored into a biztalk
>message?
>I've tried with a expression scope with the following code:
>variable_1 = xpath(Message_1,"/*[local-name()='RootNode' and
>namespace-uri()='http://My_Project.Schema1']/*[local-name()='Node1'
>and namespace-uri()='http://My_Project.OTA_Schema1]/*[local-name()='Nod
e2'
>and namespace-uri()='http://My_Project.OTA_Schema1]/@*[local-name()='At
tribute1'
>and namespace-uri()='']");
>
>But if i debug with HAT variable_1 is empty.
>Why?
>
>Tnk Luca
>
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Note: For the benefit of the community-at-large, all responses to this mess
age are best directed to the newsgroup/thread from which they originated.
[ Post a follow-up to this message ]
|