BizTalk Server Orchestration - using strings in a message assignment *Problem*

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > October 2005 > using strings in a message assignment *Problem*





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author using strings in a message assignment *Problem*
Namshub

2005-10-24, 10:31 am

I've receive a string from a MSMQ which looks like below and is of type
system.string. (having be passed through as a xmlreceive pipeline) (MSMQ
puts the following around the string <xml version="1.0"?> <string> ....
data .... </string> )

123456*abcdef*12adfg*sdfghj*123456*123**
*

I'm unable to find the "substring" in any of the namespaces. In vb/c# its
within the system.string namespace but this not available within the
autocomplete help.
I need parts of these values for some message routing. I'm unable to get
the information out. I do have a Schema built for this message format, but
how do i convert it to this type of document? in order to use XPath.

So I can use substring and I have no idea how to convert it to an xml schema
based document. I find it strange that you can build and concatanate string
but you can't remove parts of a string.

Can anyone help???????

Please!

Ric


anand kumar

2005-10-24, 10:31 am

Hi,
I haven't checked the System.String in orchestration. But if that is the
case, you can write a simple .NET dll, register it in GAC and invoke a DLL
method from the orchestration that will give you a substring.

Thanks
Anand


"Namshub" wrote:

> I've receive a string from a MSMQ which looks like below and is of type
> system.string. (having be passed through as a xmlreceive pipeline) (MSMQ
> puts the following around the string <xml version="1.0"?> <string> ....
> data .... </string> )
>
> 123456*abcdef*12adfg*sdfghj*123456*123**
*
>
> I'm unable to find the "substring" in any of the namespaces. In vb/c# its
> within the system.string namespace but this not available within the
> autocomplete help.
> I need parts of these values for some message routing. I'm unable to get
> the information out. I do have a Schema built for this message format, but
> how do i convert it to this type of document? in order to use XPath.
>
> So I can use substring and I have no idea how to convert it to an xml schema
> based document. I find it strange that you can build and concatanate string
> but you can't remove parts of a string.
>
> Can anyone help???????
>
> Please!
>
> Ric
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com