Re: Extract Binary File(pdf) from SOAP Attachment

2004-03-09 Thread Daniel Zhang
Thanks, Scott! -Daniel Scott Nichol wrote: With SOAP 2.3.1, one uses the SOAPContext class to access attachments, and the SOAPContext instance is obtained from SOAPHTTPConnection. This means doing roughly SOAPHTTPConnection shc = new SOAPHTTPConnection() ... Call call = new Call(); call.setTra

Re: Extract Binary File(pdf) from SOAP Attachment

2004-03-09 Thread Scott Nichol
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 09, 2004 10:49 AM Subject: Re: Extract Binary File(pdf) from SOAP Attachment I am using Apache SOAP 2.3.1. Thanks. - Daniel Scott Nichol wrote: >Since you mention javax.xml.soap.AttachmentPart, I wonder if you are

Re: Extract Binary File(pdf) from SOAP Attachment

2004-03-09 Thread Daniel Zhang
Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. - Original Message - From: "Daniel Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 4:21 PM Subject: Extract Bina

Re: Extract Binary File(pdf) from SOAP Attachment

2004-03-08 Thread Scott Nichol
filtered to accept only mail from specific mail lists. - Original Message - From: "Daniel Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 4:21 PM Subject: Extract Binary File(pdf) from SOAP Attachment Our client sent us a SOAP file in w

Extract Binary File(pdf) from SOAP Attachment

2004-03-08 Thread Daniel Zhang
Our client sent us a SOAP file in which they packaged pdf files as AttachmentPart. Basically if you open the file, it has the following structure: Boundary_value Content-Type: application/pdf Content-Id: pdfnameA %PDF-1.4 ...pdf content... %%EOF Boundary_value Content-Type: application