Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

receiving pdf as attachment at client end  RSS feed

 
lokesh jain
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I am working in an application. On server side, I am accepting filename, username and password and if all the information is correct, then i am returning a pdf file. My client is contacting the web service and on client side, i have written a program, which makes a SOAP Request comprising of filename, username and password and in return I need to bring the pdf file, as attachment, created at Server side.
This is the server side code

After this , I want to receive the pdf file saved at D:/myfiles/lucky.pdf as attachment at client end, so that I can save it as well. Can you please help me with the code?
The code after this code I have written is :


However I am not sure if it is correct.
Please help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!