Hi --  Okay,  I figured out my problem.  I had set the mtom-enabled property on 
the server, but I did not set it on the client side.
When I set it to false on the server side, I can get my bytes correctly.

Now I just have to figure out how to set mtom-enabled on the client side

Betty

  ----- Original Message ----- 
  From: Betty Chang 
  To: [email protected] 
  Sent: Tuesday, March 20, 2007 3:23 PM
  Subject: [xfire-user] How do I return a byte[] back from server to client?


  Hi --

  I use the XFireSpringServlet, and I cannot seem to ever return an object that 
returns a byte[] for one of its properties.  I keep getting a byte length of 0. 
 I can return a String[] okay, so I thought I would try returning a Byte[],  
but then my generated stubs (from WsGenTask)  includes a 
  ArrayOfByte.java which ends up in the package java.lang,  which causes 
problems because java.lang is  not an allowed package name.

  Any clues?

  Thanks

  Betty

Reply via email to