• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing image as byte[] to webservice

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

iam passing image in byte[] to the webservice,my andriod code is



and the webservice code in .net is:




iam getting exception in logcat:




can anybody tell me where am i going wrong??
thanks


 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have added these two lines when removed my exception

new MarshalBase64().register(envelope); //serialization
envelope.encodingStyle = SoapEnvelope.ENC;


but the image is still not inserted into the database
any suggestion
help would be appreciated..
thankyou


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic