This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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