a) I'd use an HTTP sniffer to watch the HTTP traffic and look for the
response. A free tool is Paros Proxy which can be easily configured to
be used by IE as a proxy to show all HTTP traffic going through the
browser.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jeremyfstewart
Sent: Wednesday, November 07, 2007 2:49 PM
To: [email protected]
Subject: [flexcoders] Re: Streaming bytes through a web service


Actually I did a little more research into my issue, and so I wanted to
add a further description:

The web service is returning the image as an attachment, but when the
flex application receives the response it says that it is invalid XML.
The error reads:

RPC Fault faultString="Error #1085: The element type
"053118D593A126E55F0D77CE1332B758" must be terminated by the matching
end-tag "</053118D593A126E55F0D77CE1332B758>"."
faultCode="DecodingError" faultDetail="null"

I have not been able to yet get the response to display so that I can
actually see what is being returned by the web service, but I do know
that we have a JSP application that is able to handle this web service
and the attachment that is sent. I have seen that there are some bugs in
the Flex Bug and Issue Management System around these areas, so I am not
sure if I have hit a bug or something else has occurred.

If anybody has any thoughts on:
a) How I can d! ebug this issue? (For example, getting the response to
show. I have tried using a ResultEvent and then the following
expression: event.message.toString(), which will only show me a result
once a web service without an attachment is called.)
b) Is there a work around that I can do for this error?


Thank you in advance,

Jeremy


--- In [email protected], "jeremyfstewart" <[EMAIL PROTECTED]>
wrote:
>
> Hello,
> 
> I am very new to Flex and Flash for that matter (only a day or two
> working with it), so I do not even know if what I am asking is
> possible. But I am hitting a web service that is returning byte array
> of an image that I want my flex application to stream and then
> display. Is this possible, and if so how?
> 
> Just for clarification, we are trying to do a proof of concept and the
> reason that the content needs to stream for this test is that we! are
> trying to show how we can send content via the we! b servic e to
multiple
> applications without each of the applications having to log into the
> "host" application (the web service does this for us). So in short,
> we do not have access to an URL for the content only the bytes that
> stream to us.
> 
> I hope that was clear.
> 
> Thank you for your help,
> 
> Jeremy
>
 

Reply via email to