Featured post
java - Looking for ideas for Multipart Form Handling on Web Service -
i'm playing around writing web service runs on android handles uploading photos. writing server, , not have control on client.
inside of message small soap message, , binary data. trying figure out if there's library can parsing of 2 pieces. apache commons fileupload looked obvious choice, however, seems heavily intertwined servlet libraries, , don't know if it's possible (or if it's idea) put j2ee infrastructure on phone.
parsing myself doesn't seem bad. i'm not familiar raw http layers/protocol, looks the boundary delimiter string given in content type header. if find , index past those, should able find 2 halves of multi-part message need deal with. @ least that's seem think after looking @ wireshark trace of client talking real server.
any thoughts appreciated.
-kevin
- Get link
- X
- Other Apps
Comments
Post a Comment