attached is an image file which i convert to byte array and writes back the byte array to a image file . it works fine . the value of the converted byte array is [B@5bc79255.
same file is attached ina n incident in HP service manager. and am using java wo connect trhough web service and download the attachment file as byte array and write to a image file . in this situation i face problem. this byte array which i retrieve from HPSM through the webservice function provided by them is [B@6e0e048a
as you can see values are also different. but surprisingly when i write [B@6e0e048a in to a image file , the size of the file is sero and nothing is there inside the file !!! where as if i convert the same file as byte array and writes back in to some image file its reproduced correctly!!