File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis problem returning byteArray Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis problem returning byteArray" Watch "Axis problem returning byteArray" New topic

Axis problem returning byteArray

Thomas Beaujard

Joined: Jan 31, 2007
Posts: 12

I'm using Axis 1.4.
I have a document style web service which returns a byteArray (actually a pdf file).
When I invoke the web service, I get the following error:

org.apache.axis.encoding.ser.BeanPropertyTarget set Could not convert java.lang.Byte to bean field 'CONTENT', type [B

Does anyone have encounter similar problem?

Thanks in advance,

Consider Paul's rocket mass heater.
subject: Axis problem returning byteArray
Similar Threads
For Web Service, if I have WAS and RAD, do I still need Axis ?
Jar gets deleted
Axis 1.1 setup on Java Web Services Dev Pack 1.3
is it compulsory to throw remote exception?.