On Tue, 05 Sep 2006 11:54:40 -0400, Henry Minsky <[EMAIL PROTECTED]>
wrote:
> If I understand your question, you would like to get back the raw content
> that was delivered from the backend server in a 4xx response, as string
> data in the dataset at the client?
>
Yes, I would like to be able to retrieve the content from the 4xx
response. For example, the web service might return a 403 and include the
following in the response:
<result>
<failure>
<errorCode>10</errorCode>
<message>You do not have permission to access foo</message>
</failure>
</result>
or something similar. Of course, Laszlo should be able to work with any
error response, even if it isn't XML.
>
> [...] I have filed a placeholder bug for this to investigate further.
>
> http://www.openlaszlo.org/jira/browse/LPP-2607
>
Thanks!
>
>
>
> On 9/5/06, James Howe <[EMAIL PROTECTED]> wrote:
>>
>> [...]
>>
>> It seems, however, that when I make the request through my dataset, I
>> never see the information which was returned by the web service. When
>> an error occurs I use the getErrorString method on dataset to retrieve
>> the
>> error message. The message I get back is 'data source error for
>> http://... HTTP Status Code: xxx'. [...]
>
>
--
James Howe
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user