File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Sending a pdf file to client from server through web service 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 » Mobile » Android
Bookmark "Sending a pdf file to client from server through web service" Watch "Sending a pdf file to client from server through web service" New topic
Author

Sending a pdf file to client from server through web service

Shashank Acharya
Greenhorn

Joined: Mar 20, 2010
Posts: 21

Hello friends,

Can anyone solve my question as I am new to webservice.
My question is

I want to build a web service which when called from client side sends pdf files to client.

Now can some one please solve my error.

Now my web service & code looks likes this.

Code:-

Main Class from which web service is created:-



And Now My Android Code.



Please help me.

Thanks in Advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sending a pdf file to client from server through web service
 
Similar Threads
error while connecting to webservices
android.os.networkonmainthreadexception
Import Problem
Getting Onle One File when getting reponse through ksoap2 web service.
SOAP validateUser