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.
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.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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)?
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
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
ASKER
what is XBXML?
> what is XBXML?
a typo ;) sorry
see the wbxml parser above
a typo ;) sorry
see the wbxml parser above
ASKER
As I did not get a real solution, can I only give some points to 'objects'?
Worst-case scenario, in theory, is that you could do an xsl transform