Get xml value from Biztalk orchestration message
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 > Get xml value from Biztalk orchestration message




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

    Get xml value from Biztalk orchestration message  
Luca


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


 
07-29-04 10:50 PM

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()='Node
2'
and namespace-uri()='http://My_Project.OTA_Schema1]/@*[local-name()='Att
ribute1'
and namespace-uri()='']");

But if i debug with HAT variable_1 is empty.
Why?

Tnk Luca





[ Post a follow-up to this message ]



    RE: Get xml value from Biztalk orchestration message  
Tatyana Yakushev [MSFT]


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


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:34 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