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
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,

I agree. Here's the link:
subject: Axis problem returning byteArray
It's not a secret anymore!