axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georgi Yonchev <g.yonc...@bers-soft.com>
Subject Re: Axis2 byte[] transfer/serialization bug ?!
Date Tue, 24 Jul 2007 11:51:47 GMT
Georgi Yonchev wrote:
> Thilina Gunarathne wrote:
>   
>>> and Deepal, yes works fine, but try it with larger byte[] size,
>>> with larger, in the payload goes array from bytes ?!
>>> not encoded in base64 ..
>>>       
>> Not clear what you meant?... Do they go as native binary in the form
>> of an attachment or inside the soap body...
>>
>> Thanks,
>> Thilina
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>     
> inside in the soap body, the bytes are not encoded in base64, is
> represented like integers
> this is a part of the xml :
>
> <ns:byteData>9</ns:byteData><ns:byteData>102</ns:byteData><ns:byteData>111</ns:byteData><ns:byteData>110</ns:byteData><ns:byteData>116</ns:byteData><ns:byteData>45</ns:byteData><ns:byteData>115</ns:byteData><ns:byteData>105</ns:byteData><ns:byteData>122</ns:byteData><ns:byteData>101</ns:byteData><ns:byteData>58</ns:byteData><ns:byteData>32</ns:byteData><ns:byteData>49</ns:byteData><ns:byteData>48</ns:byteData
>   
>> <ns:byteData>112</ns:byteData><ns:byteData>116</ns:byteData><ns:byteData>59</ns:byteData><ns:byteData>13</ns:byteData><ns:byteData>10</ns:byteData><ns:byteData>9</ns:byteData><ns:byteData>102</ns:byteData><ns:byteData>111</ns:byteData><ns:byteData>110</ns:byteData><ns:byteData>116</ns:byteData><ns:byteData>45</ns:byteData><ns:byteData>119</ns:byteData><ns:byteData>101</ns:byteData><ns:byteData>105</ns:byteData><ns:byteData>103</ns:byteData><ns:byteData>104</ns:byteData><ns:byteData>116</ns:byteData><ns:byteData>58</ns:byteData><ns:byteData>32</ns:byteData><ns:byteData>110</ns:byteData><ns:byteData>111</ns:byteData><ns:byteData>114</ns:byteData><ns:byteData>109</ns:byteData><ns:byteData>97</ns:byteData><ns:byteData>108</ns:byteData><ns:byteData>59</ns:byteData><ns:byteData>13</ns:byteData><ns:byteData>10</ns:byteData><ns:byteData>125</ns:byteData><ns:byteData>13</ns:byteData><ns:byteData>10</ns:byteData><ns:byteData>46</ns:byteData><ns:byteData>99</ns:byteData><ns:byteData>111</ns:byteData><ns:byteData>110</n
>>     
> s:byteData><ns:byteData
>
> 2000
>
>   
>> 116</ns:byteData><ns:byteData>101</ns:byteData><ns:byteData>110</ns:byteData>
>>     
>
> this happens only when i set the byte[] in Complex return object
>
> class Result{
>     private byte[] bytes;
>     set..
>     get..
> }
>
> and the call likes:
> public Res test(){
>     ..set byte[] in res
>     return res;
> }
>
> if the call is :
> public byte[] test(){
>     ..
> }
> everything goes well...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>   



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message