May 21, 2009 #1 Canelas Programmer Feb 20, 2008 46 PT Hi everyone. I have a web service client that is returning me this object. How can i use this object? The web service is returning an image bytes for later writing. But i'm not being able to do anything with this. Can anyone help, please? Thanks. Canelas
Hi everyone. I have a web service client that is returning me this object. How can i use this object? The web service is returning an image bytes for later writing. But i'm not being able to do anything with this. Can anyone help, please? Thanks. Canelas
May 22, 2009 1 #2 Diancecht Programmer Jan 8, 2004 4,042 ES Do you mean a serialized object? Maybe you can use ObjectInputStream to deserialize it ... But the best way to go would be to know what the service is done for Cheers, Dian Upvote 0 Downvote
Do you mean a serialized object? Maybe you can use ObjectInputStream to deserialize it ... But the best way to go would be to know what the service is done for Cheers, Dian
May 22, 2009 Thread starter #3 Canelas Programmer Feb 20, 2008 46 PT Hi Dian. This specific method of the web service is designed to return the bytes of an image file, so that the image can be written on the client side. Does this help? I still haven't tried the ObjectInputStream, but i will... Thanks. Upvote 0 Downvote
Hi Dian. This specific method of the web service is designed to return the bytes of an image file, so that the image can be written on the client side. Does this help? I still haven't tried the ObjectInputStream, but i will... Thanks.
May 22, 2009 #4 Diancecht Programmer Jan 8, 2004 4,042 ES And do you know the object type intented to be passed inside the ObjectHolder? Cheers, Dian Upvote 0 Downvote
May 22, 2009 Thread starter #5 Canelas Programmer Feb 20, 2008 46 PT Not really. The documentation only tells me what it is suposed to do. But i'm inclined to believe that it's an array of bytes. I can get the ObjectHolder to be inialized, but i don't seem to get what i want. I'm believing (still not sure) that this is a web service developed in .NET, and i'm not sure that i'll be able to get the intended result in Java. Thanks. Upvote 0 Downvote
Not really. The documentation only tells me what it is suposed to do. But i'm inclined to believe that it's an array of bytes. I can get the ObjectHolder to be inialized, but i don't seem to get what i want. I'm believing (still not sure) that this is a web service developed in .NET, and i'm not sure that i'll be able to get the intended result in Java. Thanks.
May 23, 2009 #6 Diancecht Programmer Jan 8, 2004 4,042 ES Once you get the ObjectHolder, use the value field to retrieve the object inside and use reflection to see what it is Cheers, Dian Upvote 0 Downvote
Once you get the ObjectHolder, use the value field to retrieve the object inside and use reflection to see what it is Cheers, Dian
Jul 13, 2009 Thread starter #7 Canelas Programmer Feb 20, 2008 46 PT I got it. Thanks diancecht. Upvote 0 Downvote
Jul 13, 2009 #8 Diancecht Programmer Jan 8, 2004 4,042 ES Humm, there's a Spanish idiom that says something like "It's never late when things are ok" Glad you got it to work Cheers, Dian Upvote 0 Downvote
Humm, there's a Spanish idiom that says something like "It's never late when things are ok" Glad you got it to work Cheers, Dian