Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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
Lasagna is spaghetti flvored cake. Just like this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!