We help IT Professionals succeed at work.
Get Started

Soap via xmlhttp - getting a binary attachment to show up in a browser?

565 Views
Last Modified: 2010-08-05
Hi,
Using soap can I get at a binary attachment (pdf) and display it in my browser?

Like here:

DOCUMENT RETREIVAL SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body><ns1:getDocumentDataResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:EPO-OpenPatentServices-documentData">
    <return xsi:type="xsd:string">...
    </ns1:getDocumentDataResponse>
  </soapenv:Body>
</soapenv:Envelope>
------=_Part_3970_439955563.1154620895019
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Id: <EP   1000000PAFP .pdf>
Content-Location: EP   1000000PAFP .pdf

%PDF-1.3
%....
3 0 obj
<<
/Linearized 1
/O 5
/H [ 626 215 ]
/L 34212
/E 33889
....
Comment
Watch Question
Top Expert 2007
Commented:
This problem has been solved!
Unlock 1 Answer and 12 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE