File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 JavaScript Promises Essentials this week in the JavaScript 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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass byte array to RPC procedure