This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sending a pdf file to client from server through web service
 
Similar Threads
android.os.networkonmainthreadexception
Getting Onle One File when getting reponse through ksoap2 web service.
Import Problem
error while connecting to webservices
SOAP validateUser