In my application I am calling WCF webservice method to send pictures through base 64 ... of that method An error is taking place as the call:
03-17 12: 02: 13.187: w / system. Er (5822): java.lang.IllegalArgumentException: size & lt; = 0 03-17 12:02: 13.195: W / System.err (5822): java.io.buffferedInputStream on & lt; Init & gt; (BufferedInputStream.java:94) 03-17 December. 02: 13.195: W / System.err (5822): .ksoap2.transport.HttpTransportSE.call Organization (HttpTransportSE.java:226) 03-17 December: 02: 13.195: W / System.err (5822): org. on ksoap2.transport.HttpTransportSE.call (HttpTransportSE.java:114) 03-17 December: 02: 13.195: W / System.err (5822): 02 :: 13.195: com.android.lntproject.SOAPWebservice.Base64ToImage (SOAPWebservice. java: 982) 03-17 December w / System.err (5822): on com.android.mobescan.ImageUtils.getCompressedImagePath (ImageUtils.java:119) 03-17 December: 02: 13.195: W / System.err ( 5822): com.android.mobescan.HomeActivity $ Ound on UploadScan.doInBackgr (HomeActivity.JavaTid 37) 03-17 12: 02: 13.195: W / Systems. Er (5822): at com.android.mobescan Home Activity $ UploadScan.doInBackground (HomeActivity.java:1) 03-17 12: 02: 13.195: W / Systems. ARR (5822): Android.OS.Sync Task $ 2.Coll (Asynchronous TasksJJA 287) 03-17 12: 02: 13.195: W / Systems. Er (5822): On Java. util.concurrent.FutureTask $ Sync.innerRun (FutureTask.java:305) 03-17 December: 02: 13.203: W / System.err (5822): On java.util.concurrent.FutureTask.run (FutureTask.java:137 ) 03-17 12: 02: 13.203: W / Systems. ARR (5822): Android.OS Async Task $ serial Akschencr $ Lkr (async task. Java 30) 03-17 12: 02: 13.203: W / system err (5822): 02 :: 13.203 W / Systemkerr (5822): Javakutil .concurrent.ThreadPoolExecutor java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1076) 03-17 Karun (Thredpul Akspretrkjawa TS December at $ activist 69) 03-17 12: 02: 13.210: W / system . Er (5822): On Java. has been written in the form of:
public soap opera Base64ToImage (string base 64 string, string image name) {easyimeter result = zero; {Try SoapObject Request = New Soapper ("http://tempuri.org/", "Base64ToImage"); Request.addProperty ("base64String", base64String); Request.addProperty ("imgName", imgName); SoapSerializationEnvelope envelope = new SOAP certification envelope (SOPNewel over 11); // soap envelope with version envelope.SetoptputShipObject (request); // set request object envelope.dotNet = true; HTTP TransportationS Android HTTPRSport = New HTTP TransferSe (URL 1); // http // transport // call android htp transportcall ("http://tempuri.org/IService/Base64ToImage", envelope); // response soap object result = (soap-proof) envelope. Gatesresons (); Log.e ("Base64ToImage", result.toString ()); } Hold (exception e) {e.printStackTrace (); } Return results; }
I do not understand what really is on this issue.
Please help! thank you in advanced!
No comments:
Post a Comment