<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.silverlight.net/forums/14.aspx</link><description>The perfect forum for asking the basic questions. No question too simple!</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/69088.aspx</link><pubDate>Tue, 08 Jul 2008 07:54:14 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69088</guid><dc:creator>rishu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69088.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=69088</wfw:commentRss><description>&lt;p&gt;Hi Allen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply. It would be great if we can get support for SOAP fault messages in the release.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dheeraj&lt;/p&gt;</description></item><item><title>Re: How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/69065.aspx</link><pubDate>Tue, 08 Jul 2008 06:27:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69065</guid><dc:creator>Allen Chen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69065.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=69065</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Yes it&amp;#39;s not supported currently. I cannot give you assurance at this point&amp;nbsp;as to if&amp;nbsp;it&amp;#39;ll be supported in future release. But we&amp;#39;ll keep listening to the feedbacks and add more and more features in the future.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item><item><title>Re: How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/69042.aspx</link><pubDate>Tue, 08 Jul 2008 03:50:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69042</guid><dc:creator>rishu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69042.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=69042</wfw:commentRss><description>&lt;p&gt;Hi Allen,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply. It seems that currently there is no support for SOAP faults in silverlight. corret me if I am wrong. &lt;/p&gt;
&lt;p&gt;If this is the case then is there any plans to provide this in the future release? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards&lt;/p&gt;</description></item><item><title>Re: How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/68676.aspx</link><pubDate>Mon, 07 Jul 2008 05:08:25 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68676</guid><dc:creator>Allen Chen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68676.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=68676</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Please refer to:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://silverlight.net/forums/p/17944/60019.aspx#60019"&gt;http://silverlight.net/forums/p/17944/60019.aspx#60019&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item><item><title>Re: How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/67779.aspx</link><pubDate>Thu, 03 Jul 2008 12:14:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67779</guid><dc:creator>rishu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67779.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=67779</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your reply. &lt;/p&gt;
&lt;p&gt;The service I am consuming &amp;nbsp;is modeled in such a way that when there is no matching record for a given input parameter it returns a fault message . &lt;/p&gt;
&lt;p&gt;How can I handle this fault message in silverlight.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;rishu&lt;/p&gt;</description></item><item><title>Re: How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/67765.aspx</link><pubDate>Thu, 03 Jul 2008 11:11:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67765</guid><dc:creator>pbromberg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67765.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=67765</wfw:commentRss><description>&lt;p&gt;Not having a matching value at the server for a given parameter is an expected business condition and should not throw an exception. So if you are getting an exception at the server for this, you should be returning either a null object for the response, or an appropriate message response depending on your scenario. In other words, don&amp;#39;t rely on exceptions for expected business logic.&lt;/p&gt;</description></item><item><title>How to get a meaningful message from web service response exception</title><link>http://forums.silverlight.net/forums/thread/67752.aspx</link><pubDate>Thu, 03 Jul 2008 10:17:56 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67752</guid><dc:creator>rishu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/67752.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=14&amp;PostID=67752</wfw:commentRss><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I am trying to consume a web service. This service has some input parameters. It is working fine when the input parameter has a corresponding value in the backend and I am getting correct response. But when I pass some value as input parameter which does not have a corresponding value in the backend then Web service response is exception message .the message is something like &amp;quot; For the given value supplied , there is no matching record&amp;quot;. I tested this in an external tool. &lt;/p&gt;
&lt;p&gt;But when I try this in silverlight, I get the exception as &amp;quot;&amp;nbsp;&amp;nbsp;Message&amp;nbsp;&amp;quot;The remote server returned an unexpected response: (404) Not Found.&amp;quot;&amp;nbsp;string&amp;quot;. In the result object in my webservice invocation complete method it says:- &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;quot;-&amp;nbsp;&amp;nbsp;Result&amp;nbsp;&amp;#39;e.Result&amp;#39; threw an exception of type System.Reflection.TargetInvocationException&amp;#39;&amp;nbsp;a2xCall.a2xProxies.OpportunityReadConfirmationMessage0001 {System.Reflection.TargetInvocationException}&lt;br /&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The stack trace is as follows:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;StackTrace&amp;nbsp;&amp;quot;&amp;nbsp;&amp;nbsp; at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at a2xCall.a2xProxies.ManageOpportunityIn02Client.ManageOpportunityIn02ClientChannel.EndRead(IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at a2xCall.a2xProxies.ManageOpportunityIn02Client.a2xCall.a2xProxies.ManageOpportunityIn02.EndRead(IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at a2xCall.a2xProxies.ManageOpportunityIn02Client.EndRead(IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at a2xCall.a2xProxies.ManageOpportunityIn02Client.OnEndRead(IAsyncResult result)\r\n&amp;nbsp;&amp;nbsp; at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)&amp;quot;&amp;nbsp;string&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can anyone help me how can I get the actual exception message instead of &amp;quot;404 not found&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;rishu&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>