aspose file tools*
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
Author

Axis problem returning byteArray

Thomas Beaujard
Greenhorn

Joined: Jan 31, 2007
Posts: 12
Hello,

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,

Thom
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis problem returning byteArray