Talk About Network

Google





Software > Biz Talk SDK > Re: Custom Disa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 562 of 648
Post > Topic >>

Re: Custom Disassember Pipeline on SQL Request Response Pipeline P

by =?Utf-8?B?VGl6?= <Tiz@[EMAIL PROTECTED] > Dec 14, 2006 at 08:49 AM

Well, it is working now by promoting/writing all the context items of the 
incoming message, as well as the message type:

          For i = 0 To (pInMsg.Context.CountProperties - 1)
                Dim strName As String = ""
                Dim strNamespace As String = ""
                Dim propertyValue As Object = Nothing
                propertyValue = pInMsg.Context.ReadAt(i, strName, 
strNamespace)
                If pInMsg.Context.IsPromoted(strName, strNamespace) Then
                    outMsg.Context.Promote(strName, strNamespace, 
propertyValue)
                    'System.IO.File.WriteAllText("c:\abf\output\Promoted"
& 
i & ".txt", strName & " " & strNamespace & " " & propertyValue.ToString)
                Else
                    outMsg.Context.Write(strName, strNamespace,
propertyValue)
                    'System.IO.File.WriteAllText("c:\abf\output\Written" &
i 
& ".txt", strName & " " & strNamespace & " " & propertyValue.ToString)
                End If
            Next

The PROBLEM now is that the Receive shape only processes the first message

in the Batch.  All the messages do get dequeued by the receive shape, but
all 
but the first message disappear.  I tried to set the receive shape as 
'Activate = True', but I received errors when I compiled the application. 
  
I can not locate the non-processed messages in the administration/Hat
tool.  
They seem to just be gone.
Any help would be appreciated!
"Jan Eliasen" wrote:

> On Wed, 13 Dec 2006 09:19:03 -0800, Tiz
> <Tiz@[EMAIL PROTECTED]
> wrote:
> 
> >The problem comes with routing the message back to the appropriate ****t

> >after I have intercepted it.  I have promoted the "MessageType"
property 
> >(along with trying numerous other), and it always fails. 
> My best bet would be that you have a case-error in either the
> namespaceURI or the rootelement?
> I mean, some character is in lower case instead of upper case or the
> other way around.
> 
> -- 
> eliasen, representing himself and not the company he works for.
> 
> Private blog: http://blog.eliasen.dk
> 
> Private email: jan@[EMAIL PROTECTED]
>
 




 6 Posts in Topic:
Custom Disassember Pipeline on SQL Request Response Pipeline Pro
=?Utf-8?B?VGl6?= <Tiz@  2006-12-13 09:19:03 
Re: Custom Disassember Pipeline on SQL Request Response Pipeline
Jan Eliasen <eliasen@[  2006-12-13 22:10:59 
Re: Custom Disassember Pipeline on SQL Request Response Pipeline
=?Utf-8?B?VGl6?= <Tiz@  2006-12-13 13:49:00 
Re: Custom Disassember Pipeline on SQL Request Response Pipeline
=?Utf-8?B?VGl6?= <Tiz@  2006-12-14 08:49:01 
Re: Custom Disassember Pipeline on SQL Request Response Pipeline
Jan Eliasen <eliasen@[  2006-12-14 18:06:33 
Re: Custom Disassember Pipeline on SQL Request Response Pipeline
=?Utf-8?B?VGl6?= <Tiz@  2006-12-14 14:15: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 4:07:19 PST 2009.