<?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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/49745.aspx</link><pubDate>Mon, 28 Apr 2008 15:11:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:49745</guid><dc:creator>Alex DeJarnatt - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/49745.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=49745</wfw:commentRss><description>&lt;p&gt;I replied off thread as well.&amp;nbsp; Just removing use=&amp;quot;encoded&amp;quot; attribute from the WSDL won&amp;#39;t do it; if the service describes itself as use=&amp;quot;encoded&amp;quot; it won&amp;#39;t be supported in Silverlight (except of course you can always handcraft the SOAP messages).&amp;nbsp; Often internet web service will provide more than one version of the same service; perhaps there&amp;#39;s a newer version that doesn&amp;#39;t use use=&amp;quot;encoded&amp;quot;? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/49631.aspx</link><pubDate>Mon, 28 Apr 2008 07:25:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:49631</guid><dc:creator>jtost</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/49631.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=49631</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Alex,&lt;/p&gt;&lt;p&gt;If you could give me an email I would send you the WSDL. I have checked it and it had use=&amp;quot;encoded&amp;quot;. I have removed all of them and I get no error, but the service does not run properly. My email is jtost [at] activasoft [dot] com.&lt;/p&gt;&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;p&gt;Jordi&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/49280.aspx</link><pubDate>Fri, 25 Apr 2008 15:32:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:49280</guid><dc:creator>Alex DeJarnatt - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/49280.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=49280</wfw:commentRss><description>&lt;p&gt;Our goal with Beta 2 is to support all WS-I Basic Profile compliant services out there.&amp;nbsp; note one potentially significant &amp;quot;gotcha&amp;quot;: the BP prohibits use=&amp;quot;encoded&amp;quot; services and Silverlight 2 will not support them.&lt;/p&gt;&lt;p&gt;If you could send me a pointer to the service you&amp;#39;re using I could try it out with the latest Beta 2 bits and make sure it works..&lt;/p&gt;&lt;p&gt;thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/49227.aspx</link><pubDate>Fri, 25 Apr 2008 07:38:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:49227</guid><dc:creator>jtost</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/49227.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=49227</wfw:commentRss><description>&lt;p&gt;Hi Alex,&lt;/p&gt;&lt;p&gt;Thanks for your help ;) As Michael tells, I use a SOAP web service, basic profile 1.0a, implemented with gSOAP (for some reasons we must use it). We are very interested on implementing some stuff with Silverlight, but our currently web service must be the same. Do you know whether in Beta 2, Silverlight will support more SOAP profiles appart from 1.1? This would be nice :)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks again, and thanks Michael too!!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Jordi&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/49161.aspx</link><pubDate>Fri, 25 Apr 2008 03:05:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:49161</guid><dc:creator>mchlSync</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/49161.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=49161</wfw:commentRss><description>&lt;p&gt;Thanks for your reply, Alex. It&amp;#39;s really great to get the comment from MS.&lt;/p&gt;&lt;p&gt;I have a few mail-conversations with him yesterday.. It&amp;#39;s strange that we won&amp;#39;t get no warning if we re-open the project. I opened the sample that he sent. I got no warning. So, I took the screenshot and sent them back to him. He said that he doesn&amp;#39;t get any warning now. (maybe, VS is counting how many time we open VS 2008&amp;nbsp; :D ) So, he tried to remove the reference the re-add the web-service to his project. then, he got the warning again. He also said that he is using a SOAP web service implemented with gSOAP (that generate Profile 1.0a )&lt;/p&gt;&lt;p&gt;Anyway, As you said, we should probably ignore those warnings. :) &lt;/p&gt;&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/49126.aspx</link><pubDate>Thu, 24 Apr 2008 23:25:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:49126</guid><dc:creator>Alex DeJarnatt - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/49126.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=49126</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can ignore those warnings, they shouldn&amp;#39;t be getting generated at all.&amp;nbsp; I am working on getting rid of them right now, actually... &lt;img src="http://silverlight.net/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Yes, there are some known issues in Beta 1 consuming amazon and other internet web services, and sharepoint web services for that matter.&amp;nbsp; Believe me, we are well aware of the issue. :)&amp;nbsp; For Beta 1 your best bet to get started is to use a WCF or asmx web service hosted in the same project that is hosting the silverlight control.&amp;nbsp; This stuff is def. better in Beta 2.&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/48946.aspx</link><pubDate>Thu, 24 Apr 2008 09:36:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:48946</guid><dc:creator>jtost</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/48946.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=48946</wfw:commentRss><description>&lt;p&gt;Hi Michael, thanks for your help.&lt;/p&gt;&lt;p&gt;Yes, mscorlib has thi path: C:\Program Files\Microsoft Silverlight\2.0.30226.2\&lt;br /&gt;So, it seems to be ok.&lt;/p&gt;&lt;p&gt;I send to your mail a sample project ;) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Jordi&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/48939.aspx</link><pubDate>Thu, 24 Apr 2008 09:25:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:48939</guid><dc:creator>mchlSync</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/48939.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=48939</wfw:commentRss><description>&lt;p&gt;I notice that three people (including you) reported about this warning in this forum.. I would like to take a look at this. Could you please sample project and send it to me? You can reach me with this email mchlsync AT gmail DOT com. &lt;/p&gt;&lt;p&gt;The only one that I noticed is that the version of mscorlib seems wrong. It should be 2.0.5.0. That dll is located under this directory&amp;nbsp; C:\Program Files\Microsoft Silverlight\2.0.30226.2\&lt;/p&gt;&lt;p&gt;Could you please check whether you are referencing the wrong one or not? Go to Solution Explorer. Open &amp;quot;Reference&amp;quot;&amp;nbsp; node of Silverlight project. Select &amp;quot;mscorlib&amp;quot; library. Choose &amp;quot;Open in Object Browser&amp;quot;. Please take a look at the selection in Object browser.. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/48935.aspx</link><pubDate>Thu, 24 Apr 2008 09:04:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:48935</guid><dc:creator>jtost</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/48935.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=48935</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;I don&amp;#39;t get the errors, but I get two warnings. I get them with any webservice, and that didn&amp;#39;t happen with WPF projects.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Warning 1&lt;br /&gt;===================&amp;nbsp;&lt;/p&gt;&lt;p&gt;Custom tool warning: Removing unsupported type System.Windows.Controls.OpenFileDialog&lt;br /&gt;System.TypeLoadException: Could not load type &amp;#39;System.Security.SecuritySafeCriticalAttribute&amp;#39; from assembly &amp;#39;mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39;.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly&amp;amp; lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType&amp;amp; attributeType, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; ctorHasParameters, Boolean&amp;amp; isVarArg)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.CustomAttribute.IsCustomAttributeDefined(Module decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.CustomAttribute.IsDefined(RuntimeType type, RuntimeType caType, Boolean inherit)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.IsDefined(Type attributeType, Boolean inherit)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.ServicesProxy.WcfSilverlightCodeGenerationExtension.WsdlImporting(WsdlImporter importer)&lt;/p&gt;&lt;p&gt;Warning 2&lt;br /&gt;
=================== &lt;/p&gt;&lt;p&gt;Custom tool warning: Removing unsupported type System.Windows.Browser.HttpUtility&lt;br /&gt;System.TypeLoadException: Could not load type &amp;#39;System.Security.SecuritySafeCriticalAttribute&amp;#39; from assembly &amp;#39;mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;#39;.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeInstArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInstCount)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly&amp;amp; lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType&amp;amp; attributeType, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; ctorHasParameters, Boolean&amp;amp; isVarArg)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.CustomAttribute.IsCustomAttributeDefined(Module decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Reflection.CustomAttribute.IsDefined(RuntimeType type, RuntimeType caType, Boolean inherit)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.IsDefined(Type attributeType, Boolean inherit)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.VisualStudio.ServicesProxy.WcfSilverlightCodeGenerationExtension.WsdlImporting(WsdlImporter importer)&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/48927.aspx</link><pubDate>Thu, 24 Apr 2008 08:40:12 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:48927</guid><dc:creator>jtost</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/48927.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=48927</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;I&amp;#39;m getting the same problem as you. I have generated the WSDL with gSOAP. I have found this on gSOAP docs: &amp;quot;&lt;b&gt;The toolkit follows the WS-I Basic Profile 1.0a compliance recommendations.&lt;/b&gt;&amp;quot;&lt;/p&gt;&lt;p&gt;Anybody knows how make it run? :S&lt;/p&gt;&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Jordi&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/35749.aspx</link><pubDate>Tue, 11 Mar 2008 03:59:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:35749</guid><dc:creator>devin.brown</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/35749.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=35749</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m glad somebody&amp;#39;s making progress!&amp;nbsp; Yes, the asmx service you have set up does work, but my specific problem involves consuming a php web service that is configured with WSDL 1.1.&amp;nbsp; It seems like we still have the problem of consuming WSDL 1.1 type services.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/35743.aspx</link><pubDate>Tue, 11 Mar 2008 03:37:52 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:35743</guid><dc:creator>mchlSync</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/35743.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=35743</wfw:commentRss><description>&lt;p&gt;I haven&amp;#39;t tried with Amazon webservice. but I have tested with normal asp.net web service. It&amp;#39;s working fine. Please take a look this post. &lt;br /&gt;&lt;a href="http://michaelsync.net/2008/03/10/silverlight-2-beta1-database-operations-with-aspnet-web-service-in-silverlight-2"&gt;Silverlight 2 (beta1) - Database Operations with ASP.NET Web Service in Silverlight 2&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/35740.aspx</link><pubDate>Tue, 11 Mar 2008 03:31:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:35740</guid><dc:creator>devin.brown</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/35740.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=35740</wfw:commentRss><description>&lt;p&gt;Well, it looks like this thread confirms all my findings so far.&amp;nbsp; Hopefully the silverlight team will have this fixed up soon... &lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/34819.aspx</link><pubDate>Fri, 07 Mar 2008 21:35:28 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:34819</guid><dc:creator>queequac</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/34819.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=34819</wfw:commentRss><description>&lt;p&gt;Hm, must realy depend on the kind of webservice (profile, version, types, whatever...)&lt;/p&gt;
&lt;p&gt;Using an alternative amazon webservice for my testing purposes went well. Compiles and works fine. The used wsdl: &lt;a href="http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl"&gt;http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;So I would be really interested in the extaxct requirements for webservices in Silverlight. Is it only the previously mentioned SOAP 1.1 basic profile, or are there any further hurdles? Is there any official statement?&lt;/p&gt;
&lt;p&gt;But whatever the concrete&amp;nbsp;restrictions/limiations are, right now I cannot promote Silverlight&amp;nbsp;for projects at my company,&amp;nbsp;because associated wsdls we rely on&amp;nbsp;are also generating incompatible source code. :(&lt;/p&gt;</description></item><item><title>Re: How to call a web service from Silverlight 2.0 project</title><link>http://forums.silverlight.net/forums/thread/34658.aspx</link><pubDate>Fri, 07 Mar 2008 14:33:59 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:34658</guid><dc:creator>CraigN</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/34658.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=34658</wfw:commentRss><description>&lt;p&gt;Well I tried it out my side and got the same result as you. It seems the Web service proxy code generator for Silverlight projects doesn&amp;#39;t match the Silverlight framework. I&amp;#39;ve tried adding every logical assembly reference but still no luck. :(&lt;/p&gt;&lt;p&gt;Looking at the WSDL file I notice that the soap:address refers to &amp;quot;soap2&amp;quot; which makes me think it might not be SOAP 1.1 BP. Anyone who knows more about SOAP/WSDL able to comment?&lt;/p&gt;</description></item></channel></rss>