next ...
File outputfile = new File("C:\\" + "output_document.pdf");
FileOutputStream fileResponseOutputStream = new FileOutputStream(outputfile);
fileResponseOutputStream.write(doc);
fileResponseOutputStream.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
/************************************************
SOAP SEND MESSAGE METHOD
************************************************/
cid:file1
/************************************************
SOAP RESPOND MESSAGE
************************************************/
112
Client application runs on a tomcat Server, and lifecycle product are deployed on a jboss server. Both are on the same machine.
thanks.
P.S: Sorry for my english.