Passing binary files in webservices
i need send binary files in webservice. have read ws-atach need can used non .net clients. can it? have example?
thankss
___________________
hip hop
de chiste
thankss
___________________
hip hop
de chiste
you can send binary files base64 strings.
dim b() byte = system.convert.frombase64string(webservice.getfileasbase64string())
dim bmp bitmap = bitmap.fromstream(new io.memorystream(b, 0, b.length)
on webservice end might do
dim b() byte
return system.convert.tobase64string(b)
or can create class binary array , serialize class webservice.
dim b() byte = system.convert.frombase64string(webservice.getfileasbase64string())
dim bmp bitmap = bitmap.fromstream(new io.memorystream(b, 0, b.length)
on webservice end might do
dim b() byte
return system.convert.tobase64string(b)
or can create class binary array , serialize class webservice.
Archived Forums A-B > ASMX Web Services and XML Serialization
Comments
Post a Comment