<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Flex&amp;SAP Exceptions handling. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/flex-sap-exceptions-handling/m-p/4869535#M1138461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have deployed a Web Service application in our WAS 7.10 SP6.&lt;/P&gt;&lt;P&gt;Our application is a standard java 5 app with annotations (ejbs exposed as web services).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a web service call operation returns a java exception (any kind of exception), WAS returns http 500 to the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;http 500 cannot be interpreted by a flex client (2.0, 3.0 no matter which version) because of an interaction between browser and flex runtime issue. Flex code can only obtain an i/o error when http 500 is returned by the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual way to solve this problem is to create a filter that transforms http 500 to http 200, but we don't know how to implement a filter for web services http responses in WAS 7.1 or 7.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other solutions involve using Adobe proxy, but in our case we can't use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other solution to this matter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2008 18:01:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-01T18:01:50Z</dc:date>
    <item>
      <title>Flex&amp;SAP Exceptions handling.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flex-sap-exceptions-handling/m-p/4869535#M1138461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have deployed a Web Service application in our WAS 7.10 SP6.&lt;/P&gt;&lt;P&gt;Our application is a standard java 5 app with annotations (ejbs exposed as web services).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a web service call operation returns a java exception (any kind of exception), WAS returns http 500 to the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;http 500 cannot be interpreted by a flex client (2.0, 3.0 no matter which version) because of an interaction between browser and flex runtime issue. Flex code can only obtain an i/o error when http 500 is returned by the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The usual way to solve this problem is to create a filter that transforms http 500 to http 200, but we don't know how to implement a filter for web services http responses in WAS 7.1 or 7.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other solutions involve using Adobe proxy, but in our case we can't use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other solution to this matter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 18:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flex-sap-exceptions-handling/m-p/4869535#M1138461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T18:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Flex&amp;SAP Exceptions handling.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/flex-sap-exceptions-handling/m-p/4869536#M1138462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't mind coding the SOAP handling yourself you can use the [as3httpclientlib project|http://github.com/gabriel/as3httpclient/tree/master] which is a nearly fully implemented httpclient that uses sockets to work.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The socket config can sometimes be a bit tricky to get setup but if you control the servers in question it's possible.  This isn't a perfect solution but in this case Adobe is a bit behind what the browser do ( which is not pass 500s to plugins ) so they are a bit stuck in what they can provide to the player then on to the framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-d&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 14:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/flex-sap-exceptions-handling/m-p/4869536#M1138462</guid>
      <dc:creator>former_member10945</dc:creator>
      <dc:date>2008-12-02T14:39:41Z</dc:date>
    </item>
  </channel>
</rss>

