correlation
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 > correlation




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

    correlation  
Suresh.A


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


 
12-21-04 10:51 PM

Problem
---------------

I have two receiving ports which has to corelate with each other.
Both are polling into one shared folder into share point. My requirement is
such that if i have got one file in the first port, i have to correlate with
that other port such that it should take one specific file.

If I have got "xyz2004.xml" on port 1 , then I should get
"xyz2003.xml" on the next port 2. pls notice, the  year has changed to 2003
(ie previous year file).

Is there any way so that I can correlate this ??




thanks yar

Suresh.A







[ Post a follow-up to this message ]



    RE: correlation  
Stephen W. Thomas


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


 
12-22-04 07:46 AM

Hello.

It sounds like you have a Convoy scenario.  i.e. multiple receives in a
races condition.  If this is the case I do not think it is possible to
correlate on the items you want to do without some additional effort.

You might want to check out Charles’ blog on flexible correlation:
http://geekswithblogs.net/cyoung/articles/17364.aspx

That might give you some ideas that are more straight forward then what I am
thinking…

I would look at using a pre processing Orchestration on the received files
that will assign them some unique token id based on the type of correlation
it should belong to.

Example – Orchestration 1 would set a property on the message like:
abc2004.xml belongs to Token: 123
abc2003.xml belongs to Token: 123
bcd2004.xml belongs to Token: 124
bcd2003.xml belongs to Token: 124

You could make the logic as complex or simple as needed in a .net component.
Just pass in the received file name.  You might have to have some table to
store past values and Tokens.  Then, set up a Convoy to take in messages
based on the Token.

Hope this helps.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas


"Suresh.A" wrote:

> Problem
> ---------------
>
>           I have two receiving ports which has to corelate with each other
.
> Both are polling into one shared folder into share point. My requirement i
s
> such that if i have got one file in the first port, i have to correlate wi
th
> that other port such that it should take one specific file.
>
>          If I have got "xyz2004.xml" on port 1 , then I should get
> "xyz2003.xml" on the next port 2. pls notice, the  year has changed to 200
3
> (ie previous year file).
>
>          Is there any way so that I can correlate this ??
>
>
>
>
> thanks yar
>
> Suresh.A
>
>





[ Post a follow-up to this message ]



dotsuresh is offline     Re: RE: correlation  
dotsuresh


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


Click Here to See the Profile for dotsuresh Click here to Send dotsuresh a Private Message Find more posts by dotsuresh Add dotsuresh to your buddy list
 
12-22-04 08:29 AM

Hi Stephen,

  Thanks for your reply. 

  Currently I am working on the Convoy scenario.

  I am using  biztalk share point adapter for taking the file from sharepoin
t.

    After comparison with the file which I got through the second port I hav
e to place back the file into sharepoint itself, So I have put a send shape 
after the second receive. 

   Now what is happening after comparision with the second file, while sendi
ng back the second file to sharepoint, that section is  not working. 

   currently the file is beging deleted. and the Orchestration goes hang.
 
   I am attaching the Orchestration file with this.. pls change the extentio
n to ".odx"

once again thanks for your reply.


Suresh.A




[ Post a follow-up to this message ]



    Re: correlation  
Stephen W. Thomas


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


 
12-23-04 01:53 AM

Hello.

I did not see anything that stood out as being wrong.

What is the exact error message you are getting when the Orchestration hangs
?

Also, if you want to send me the full solution with schema and sample file I
can take a better look at it.  Just send it to
swthomas@NOSPAMbiztalkgurus.com.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas


"dotsuresh" wrote:

>
> Hi Stephen,
>
> Thanks for your reply.
>
> Currently I am working on the Convoy scenario.
>
> I am using  biztalk share point adapter for taking the file from
> sharepoint.
>
> After comparison with the file which I got through the second port
> I have to place back the file into sharepoint itself, So I have put a
> send shape after the second receive.
>
> Now what is happening after comparision with the second file, while
> sending back the second file to sharepoint, that section is  not
> working.
>
> currently the file is beging deleted. and the Orchestration goes
> hang.
>
> I am attaching the Orchestration file with this.. pls change the
> extention to ".odx"
>
> once again thanks for your reply.
>
>
> Suresh.A
>
>
>    +----------------------------------------------------------------+
>    |           Attachment filename: rsuiorchestration.txt           |
>    |Download attachment: http://www.webservertalk.com/attach...1903
066 |
>    +----------------------------------------------------------------+
>
>
> --
> dotsuresh
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message658981.html
>
>





[ Post a follow-up to this message ]



dotsuresh is offline     Re: Re: correlation  
dotsuresh


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


Click Here to See the Profile for dotsuresh Click here to Send dotsuresh a Private Message Find more posts by dotsuresh Add dotsuresh to your buddy list
 
12-23-04 11:36 AM

Hi Stephen, 

  I have send the full solution file to your swthomas@NOSPAMbiztalkgurus.com
 mail address. Sill I am getting 
  

  Uncaught exception terminated service RSUIBiztalk.RSUIOrchestration(a5e9cd
1e-939b-d42a-31fc-85f7477c423a), instance 3e3d07c7-ac63-4ef4-a505-ad79736678
a0

A failure occurred while evaluating the distinguished field Status against t
he message part data. The message part data does not contain at least one of
 the nodes specified by the XPath expression (listed below) that corresponds
 to the distinguished field. The cause for this error may be that the messag
e part data has not been initialized or that the message part data does not 
conform to the message part schema. Ensure that the message part data is ini
tialized correctly.
XPath expression: /*[local-name()='myFields' and namespace-uri()='http://sch
emas.microsoft.com/office/infopath/2003/myXSD/2004-10-20T14-08-44']/*[local-
name()='Status' and namespace-uri()='http://schemas.microsoft.com/office/inf
opath/2003/myXSD/2004-10-20T14-08-44']
        
Exception type: XPathUpdateException
Source: Microsoft.XLANGs.Engine
Target Site: Void SetDistinguishedField(System.String, System.Object)
Help Link: 
Additional error information:



For more information, see Help and Support Center at http://go.microsoft.com/fwlin
k/events.asp.

Thanks for your help 

Suresh




[ Post a follow-up to this message ]



    Re: correlation  
Suresh.A


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


 
12-24-04 10:49 PM

Hi Stephen,
I have send the solution file again.
I am able assign the correlation set values. But still I am not getting
the expected result.
Expecting a positive responce from you..

once again thanks for your help

Suresh.A

"Stephen W. Thomas" wrote:
[vbcol=seagreen]
> Hello.
>
> I didn’t get the email.  Did you remove the NOSPAM part?
>
> I think the problem is when you are setting the Property in the Message
> Assignment shape.  Does that field exist in that XML document?  If not, yo
u
> will get this error.  If I remember correctly, it actually has to have a
> value in it in order to update it.  It just can not exist and be blank.
>
> Take a look at that and let me know.
>
> Stephen W. Thomas
> http://www.geekswithblogs.net/sthomas
>
>
>
> "dotsuresh" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:16 PM.      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