It got solved by changing the client to
public static void getResumeContent(
String resumeId) throws AxisFault {
System.out.println("Resume ID is getResumeContent --"+resumeId);
try {
ResumeServiceStub rs = new ResumeServiceStub();
rs = new ResumeServiceStub("http://localhost:1234/axis2/services/ResumeService");
GetResumeContent grc = new GetResumeContent();
grc.setResumeId(resumeId);
GetResumeContentResponse grcr = rs.getResumeContent(grc);
DataHandler handler = grcr.getContent();
InputStream is = handler.getInputStream();
writeToFile("abc.pdf", is);
}catch(IOException io) {
io.printStackTrace();
}
}
thank you