Have you tried to use MTOM [1]?

Michele


[1] http://ws.apache.org/axis2/1_3/mtom-guide.html


On 19 Nov 2007, at 23:13, tina-- wrote:


Hello again! I have a second question, in another code.
There is a parameter ReturnTypes, in the invokeBlocking statement, where, as
api says, determines the type of the   response. This parameter is a
mplampla.class (e.g. String.class, INteger.class, other.class). As the api says, the response will be an element of type Object. I want the response to
be an array of arrays of bytes. For example I want response[0] to be a
byte[]. When I cast it, there is an error (cannot cast from Object to
byte[]). When I cast it to String s and then I do s.getBytes(), the index changes. I work with TCP packets, and I see that after casting to String, and getting the bytes, the length of the data of the tcp message is 0, while
it should be >0. Can you please explain me how to do it?
--
View this message in context: http://www.nabble.com/how-to-define-% 22invokeBlocking%22-to-return-you-a-byte-----tf4840139.html#a13847630
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to