This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to pass byte array to RPC procedure  RSS feed

chetan dhumane
Ranch Hand
Posts: 643
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
Boost this thread!