Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Biztalk Accelerator Hl7 > Encoding proble...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 19 Topic 655 of 672
Post > Topic >>

Encoding problem with custom send pipeline

by Benoit.Sauve2@[EMAIL PROTECTED] Jul 31, 2008 at 12:30 PM

Hi!

I have an issue with the encoding of french characters with Biztalk
2006 R2 and HL7 accelerator 2.0.

I created a custom receive pipeline and I configured the encoding
charset to Western Europe (1252). The message arrives good and I
stucked the xml representation of msh and body in a sql server
database.

Then I have an orchestration that takes the message from the database
and then transform the xml into HL7 inside the orchestration.

The problem is when it enters in the first custom pipeline component,
all the characters are still ok but when I passed thourgh the
assembler, then I lose french characters for '?'. I can see it in a
custom pipeline component that I use in the coding stage.

Here is the call to the pipeline in the orchestration in a construct
shape:

// the xml_doc is different for msh and body
// Here the message is perfect
res_labo_final.MshSegments = xml_doc;
res_labo_final.BodySegments = xml_doc;
res_labo_final.ZSegments = "";

res_labo_final(BTAHL7Schemas.MessageClass) = "MessageClass2X";
res_labo_final(BTAHL7Schemas.MessageEncoding) = 1252;
res_labo_final(BTAHL7Schemas.SegmentDelimiter2Char) = true;
res_labo_final(BTAHL7Schemas.ParseError) = false;
res_labo_final(BTAHL7Schemas.MSH1) = 124;
res_labo_final(BTAHL7Schemas.MSH2) = "^~\\&";
res_labo_final(BTAHL7Schemas.MSH3_1) = "RR_Intrf";
res_labo_final(BTAHL7Schemas.MSH5_1) = "LabMicRes";

msg_HL7_pipeline = new
Microsoft.XLANGs.Pipeline.SendPipelineInputMessages();
msg_HL7_pipeline.Add(res_labo_final);

msg_result = null;
Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(EnvoiDCIOrchestrastion.Pipeline_send_DCI),
msg_HL7_pipeline, msg_result);

// Here some characters are replaced by '?'

Somebody have an idea why it does that ?

Thanks a lot

Benoit
 




 19 Posts in Topic:
Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-07-31 12:30:30 
Re: Encoding problem with custom send pipeline
"Eric Stott" &l  2008-08-01 01:55:58 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-01 05:34:03 
Re: Encoding problem with custom send pipeline
"Eric Stott" &l  2008-08-03 02:25:57 
Re: Encoding problem with custom send pipeline
Tom Canter - Neudesic <  2008-08-04 07:11:20 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-04 07:43:17 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-04 07:43:35 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-04 07:46:44 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-04 08:08:37 
Re: Encoding problem with custom send pipeline
"Eric Stott" &l  2008-08-04 11:33:29 
Re: Encoding problem with custom send pipeline
"Eric Stott" &l  2008-08-07 12:55:53 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-04 08:19:41 
Re: Encoding problem with custom send pipeline
"Eric Stott" &l  2008-08-06 14:54:34 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-04 14:45:03 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-07 07:49:57 
Re: Encoding problem with custom send pipeline
"Eric Stott" &l  2008-08-07 10:23:40 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-08 12:31:18 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-12 07:10:21 
Re: Encoding problem with custom send pipeline
Benoit.Sauve2@[EMAIL PROT  2008-08-19 11:49:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 10:56:22 CST 2008.