Talk About Network

Google





Software > Biz Talk Orchestration > RE: How do you ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 7 Topic 4112 of 4234
Post > Topic >>

RE: How do you search the contants of a response message for a string?

by =?Utf-8?B?U3R1IEI=?= <StuB@[EMAIL PROTECTED] > May 1, 2008 at 07:22 AM

Hi, 

Can you confirm where in your orchestration you are doing this?

Assuming that it is in an expression shape, I believe that you are unable
to 
make use of the functions/methods of the string type within the expression

shape, so MyString.IndexOf is not likely to work (at least this is the
case 
with BT 2004).  

To make use of the string functions/methods I created a helper class that 
did some of the basic jobs for me.

see 
http://www.eggheadcafe.com/forumarchives/biztalkorchestration/Jun2005/post23246451.asp
for another take on it.

Cheers
Stu.

"Kevin S" wrote:

> Assume my response message has the identifier myMessage.
> 
> I have created a variable (myXMLDoc) of type System.Xml.XmlDo***ent
> and assigned it as follows.
> 
> myXMLDoc = myMessage
> 
> I have created a variable (myStr) of type System.String and assigned
> it as follows.
> 
> myStr = myXMLDoc
> 
> I know want to use string manipulation
> 'XOGResponseState.IndexOf(srchString)' but am getting the message
> 'distinguished types cannot be referenced with the dot operator'.
> 
> Distinguished types are new to me and I haven't had too much success
> looking for information on their purpose and use.
> 
> Can anyonew explain what is happening here and if I am using the best
> method to achieve my goal?
> 
> Thanks.
>
 




 7 Posts in Topic:
How do you search the contants of a response message for a strin
Kevin S <SearleK@[EMAI  2008-04-29 05:42:05 
RE: How do you search the contants of a response message for a s
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-04-29 06:05:00 
Re: How do you search the contants of a response message for a
Kevin S <SearleK@[EMAI  2008-04-29 06:29:52 
Re: How do you search the contants of a response message for a s
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-04-29 08:23:00 
RE: How do you search the contants of a response message for a s
=?Utf-8?B?U3R1IEI=?= <  2008-05-01 07:22:01 
RE: How do you search the contants of a response message for a s
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-05-01 08:15:01 
RE: How do you search the contants of a response message for a s
=?Utf-8?B?U3R1IEI=?= <  2008-05-01 08:28:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 3:31:28 PST 2009.