| Nallasivan 2005-10-24, 10:31 am |
| I have an orchestration with one send port and one receive port.
The receive port has 2 receive locations.
One is MSMQ adapter with HIPAA receive pipeline(using HIPAADasm) and another
one is HIPAA adapter with pass-through pipeline. I am receiving the HIPAA
file through MSMQ adapter.
When a User is uploading a 834 file using C# a application, the C#
application reads the stream and converts as a message and sent it to a
Message Queue using the C# application. At that time I set the label for the
message as userID using the C# application.
In my biztalk project, The MSMQ adapter always watching the MessageQueue. If
the 834 message comes, It receives the message. The HIPAA accelerator
converts the 834 message to XML. In the orchestration, I get the userid by
using
varUserId = msgin(MSMQ.Label);
and then pass the XML message and userid to a C# DLL to do some DB
operations with the help of the userID.
If the 834 file is correct, it works works well. I have updated the DB also.
If the 834 file has some wrong data or wrong schema, It doesnt come inside
to the orchestration. So I cant able to get the userid from the message
label. Even It fails I need to do some operations with DB using the UserID.
But now I cant able to get the user id. Please help me.
Please give me a good solution.
I also try with WMI event watcher. But I cant able to get the userID.
Please help me.
|