converter - Asn.1 development tools, CDR convert to XML using Java -


i try decode cdr file convert xml

i've installed java compiler on pc. used link http://www.asnlab.org/asndt/overview.html

i tried decode cdr file, not working properly.

it show first 19 records correctly, , gives me error, tried 2 different cdr files. , both of them shows 19 records.

1st file gives me error:

record 20 org.asnlab.asndt.runtime.error.asnruntimeexception: can not invoke method 'valueof()' 794995 @ org.asnlab.asndt.runtime.conv.reflectionenumeratedconverter.toobject(ed:40) @ org.asnlab.asndt.runtime.type.enumeratedtype.i(mc:126) @ org.asnlab.asndt.runtime.type.implicittype.i(xc:152) @ org.asnlab.asndt.runtime.type.settype.i(gb:191) @ org.asnlab.asndt.runtime.type.settype.i(gb:158) @ org.asnlab.asndt.runtime.type.implicittype.i(xc:152) @ org.asnlab.asndt.runtime.type.choicetype.i(hc:183) @ org.asnlab.asndt.runtime.type.sequencetype.i(xb:221) @ org.asnlab.asndt.runtime.type.sequencetype.i(xb:46) @ org.asnlab.asndt.runtime.type.implicittype.i(xc:152) @ org.asnlab.asndt.runtime.type.asntype.i(bb:354) @ org.asnlab.asndt.runtime.type.bytebuffer.decode(fc:18) @ org.asnlab.asndt.runtime.type.asntype.decode(bb:338) @ test.main(test.java:20)

and 2nd file gives me error:

record 20 org.asnlab.asndt.runtime.error.invalidtagexception 229505 @ org.asnlab.asndt.runtime.type.asntype.i(bb:369) @ org.asnlab.asndt.runtime.type.bytebuffer.decode(fc:18) @ org.asnlab.asndt.runtime.type.asntype.decode(bb:338) @ test.main(test.java:20)

i dont understand problem asn.1 definition or not?

this question best asked of vendor of asn.1 tool using. possibility try other asn.1 tools such 1 of listed @ itu-t asn.1 project page (http://www.itu.int/itu-t/asn1/links/index.htm). there free online asn.1 compiler , encoder/decoder try @ http://asn1-playground.oss.com. free online tool can give detailed analysis of cdr give idea of wrong.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -