Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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