Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass byte array to RPC procedure

chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to convert my image file to byte array to pass it to the RPC procedure.
And then vice versa to save it into the database.
Note I am using Apache XML-RPC not axis and developing it on Android

But im getting the error.
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: No method matching arguments: java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Byte

Method at server

Method calling at client

getBytesFromFile Method
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic