It is working once i change it to XMLEnocder:
ByteArrayOutputStream fos = new ByteArrayOutputStream();
try {
XMLEncoder encoder = new XMLEncoder(fos);
encoder.writeObject(response);
encoder.flush();
return fos.toString();
}
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |