This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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,

wood burning stoves
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?.