Problems deserialize Message Queue (Modified)

SethB

New Member
I am making a WCF service with MSMQ, the service sends an instance of the Person class, this instance is the content of the message from the queue. When mansaje is sent to the queue is serialized in a way that does not remain as an XML structure, otherwise as binary serialized in a message. I would like to know how to serialize the message so that it is not in binary and can be deserialized as xml or deserialize the message in binary.00 01 00 01 04 02 23 6E ......#n65 74 2E 6D 73 6D 71 3A et.msmq:2F 2F 6C 6F 63 61 6C 68 //localh6F 73 74 2F 70 72 69 76 ost/priv61 74 65 2F 6D 69 63 6F ate/mico6C 61 03 07 56 02 0B 01 la..V...73 04 0B 01 61 06 56 08 s...a.V.44 0A 1E 00 82 99 36 68 D...??6h74 74 70 3A 2F 2F 74 65 ttp://te6D 70 75 72 69 2E 6F 72 mpuri.or67 2F 49 50 72 6F 63 65 g/IProce73 61 72 52 65 67 69 73 sarRegis74 72 6F 73 2F 50 72 6F tros/Pro63 65 73 61 72 52 65 67 cesarReg69 73 74 72 6F 44 0C 1E istroD..00 82 99 23 6E 65 74 2E .??#net.6D 73 6D 71 3A 2F 2F 6C msmq://l6F 63 61 6C 68 6F 73 74 ocalhost2F 70 72 69 76 61 74 65 /private2F 6D 69 63 6F 6C 61 01 /micola.56 0E 40 10 50 72 6F 63 [email protected] 73 61 72 52 65 67 69 esarRegi73 74 72 6F 08 13 68 74 stro..ht74 70 3A 2F 2F 74 65 6D tp://tem70 75 72 69 2E 6F 72 67 puri.org2F 09 01 69 29 68 74 74 /..i)htt70 3A 2F 2F 77 77 77 2E p://www.77 33 2E 6F 72 67 2F 32 w3.org/230 30 31 2F 58 4D 4C 53 001/XMLS63 68 65 6D 61 2D 69 6E chema-in73 74 61 6E 63 65 40 08 [email protected] 70 65 72 73 6F 6E 61 _persona40 06 43 65 64 75 6C 61 @.Cedula99 07 31 32 33 34 35 36 ?.12345637 40 06 4E 6F 6D 62 72 [email protected] 99 06 52 6F 62 65 72 e?.Rober74 40 0E 50 72 69 6D 65 [email protected] 41 70 65 6C 6C 69 64 rApellid6F 99 07 53 70 65 6E 63 o?.Spenc65 72 40 0F 53 65 67 75 [email protected] 64 6F 41 70 65 6C 6C ndoApell69 64 6F 99 04 48 61 6C ido?.Hal6C 40 09 44 69 72 65 63 [email protected] 69 6F 6E 99 15 55 6E cion?.Un69 74 65 64 20 53 74 61 ited Sta74 65 2C 20 46 6C 6F 72 te, Flor69 64 61 01 01 01 01 ida....
 
Back
Top