By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,648 Members | 1,528 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,648 IT Pros & Developers. It's quick & easy.

How to convert byte[][] in any other data type ??

P: 1
i am developing a web service..and accessing it through servlet in netbeans.. i want to write service which takes byte[][] as an input and returns byte[][] as output..but in web services as am observing we cant access byte[][]..i mean it consider it as list..so i want to convert byte[][] in any other data type to pass it to we service..u have any suggestions for it??
Mar 16 '12 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Why do you want to use byte[][]? Use Java objects that represent your data (OOP) and JAX-WS together with JAXB will take care of marshaling/unmarshaling for you.
Mar 17 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.