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.