Re: Extracting data from Java ByteArrayOutputStream

2010-08-16 Thread Pete Freitag
On Fri, Aug 13, 2010 at 2:03 PM, Jeff Chastain wrote: > >  Pete, > > This does have me an ASCII string of the contents of the byte array. > After a lot of string parsing, I can get the SOAP envelope out and > convert it to XML.  However, the binary images that are also included > here are apparen

Re: Extracting data from Java ByteArrayOutputStream

2010-08-14 Thread Leigh
> the binary images that are also included > here are apparently encoded some how Could they be bas64 encoded? What does the wsdl say about the format of the response elements? ~| Order the Adobe Coldfusion Antholo

Re: Extracting data from Java ByteArrayOutputStream

2010-08-13 Thread Jeff Chastain
Pete, This does have me an ASCII string of the contents of the byte array. After a lot of string parsing, I can get the SOAP envelope out and convert it to XML. However, the binary images that are also included here are apparently encoded some how and I have yet to be able to use any form

Re: Extracting data from Java ByteArrayOutputStream

2010-08-13 Thread Pete Freitag
This should give you the cfhttp response as a string, when you get back a byte array: cfhttp.filecontent.toString("UTF-8") -- Pete Freitag http://foundeo.com/ - ColdFusion Consulting & Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Thu, A

Re: Extracting data from Java ByteArrayOutputStream

2010-08-12 Thread Jeff Chastain
Dave, Per my message earlier this week (http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336189), when I try >  I am working with a SOAP web service in CF 8.0.1 and the filecontent >> attribute of the cfhttp response is a java.io.ByteArrayOutputStream.  If >> I use the toString

Re: Extracting data from Java ByteArrayOutputStream

2010-08-12 Thread Dave Watts
>  I am working with a SOAP web service in CF 8.0.1 and the filecontent > attribute of the cfhttp response is a java.io.ByteArrayOutputStream.  If > I use the toString() method to convert this to text, I can see the XML > response data plus the binary image strings that I was expecting.  The > pro

Extracting data from Java ByteArrayOutputStream

2010-08-12 Thread Jeff Chastain
I am working with a SOAP web service in CF 8.0.1 and the filecontent attribute of the cfhttp response is a java.io.ByteArrayOutputStream. If I use the toString() method to convert this to text, I can see the XML response data plus the binary image strings that I was expecting. The problem