Two Laptop Bag*
The moose likes Web Services and the fly likes How to pass byte array to RPC procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to pass byte array to RPC procedure" Watch "How to pass byte array to RPC procedure" New topic
Author

How to pass byte array to RPC procedure

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

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


http://www.androcid.com/
 
wood burning stoves
 
subject: How to pass byte array to RPC procedure
 
Similar Threads
how to encrypt data into an image
Convert image to raw binary data
Using streams
Obtaining the contents of a binary file
Cannot Figure Out This Syntax Error