FSDMsg blankUnPad question

2 views
Skip to first unread message

Shin

unread,
Dec 10, 2009, 8:34:51 AM12/10/09
to jPOS Users
Hi,


I'm using FSDMsg with DummySeperator like this schema. I have a
problem when pack msg it will blankUnPad my message but this will
affect my message value. I have checked the code that blankUnPad when
using seperator. Can anybody give me advice that how to solve this
problem

<?xml version="1.0" encoding="UTF-8"?>
<schema>
<field id="MESSAGE" type="BDS" length="1000"/>
</schema>

My original message.
<fsdmsg schema='file:cfg/base'>
MESSAGE:
'600000000008102038010002C000059800000000012101031210017830303132333435363738313233343536373839303132333435004910D15F4800F75C07AB5CACB259F2A5AA6016015C375BCC4CA3ED075F0E744772EF4D29B245EBB76DBBD11423D6FFB9F18D6D67ACB9DD396F20'
</fsdmsg>

after pack value (missing "20")
'600000000008102038010002C000059800000000012101031210017830303132333435363738313233343536373839303132333435004910D15F4800F75C07AB5CACB259F2A5AA6016015C375BCC4CA3ED075F0E744772EF4D29B245EBB76DBBD11423D6FFB9F18D6D67ACB9DD396F'

--Shin
Reply all
Reply to author
Forward
0 new messages