Link to home
Create AccountLog in
Avatar of zohar_amir
zohar_amir

asked on

WBXML with JAXB

Hello,
I currently have a server that uses JAXB to parse client XML requests. I would like the clients to use WBXML (mobile clients), but keep using JAXB. Is there any way JAXB can parse WBXML, or do I have to parse the requests in 2 steps (WBXML->XML->JAXB classes)? If 2 steps are required, how do I do the first step (is there a Java built-in WBXML parser? if not, is there a recommended one?)?
Thanks,
Zohar.
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

>>or do I have to parse the requests in 2 steps (WBXML->XML->JAXB classes)?

Worst-case scenario, in theory, is that you could do an xsl  transform
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of zohar_amir
zohar_amir

ASKER

And the best case scenario...? ;)
If push comes to shove, what can I use to do such an XSL transformation (I don't think I like writing such a thing myself too much)?
> what can I use to do such an XSL transformation

a xbxml parser would seem a better approach
Best case scenario would be in-built support ;-) Next best case scenario would be to find a SAXFilter that can take one form and filter to the other
what is XBXML?
> what is XBXML?

a typo ;) sorry
see the wbxml parser above
As I did not get a real solution, can I only give some points to 'objects'?