<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Web Service Stumper: &quot;Ambiguous Type&quot;</title>
	<atom:link href="http://www.csharp411.com/web-service-ambiguous-type-question/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/web-service-ambiguous-type-question/</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Tue, 07 Sep 2010 15:50:57 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: hide your ip</title>
		<link>http://www.csharp411.com/web-service-ambiguous-type-question/comment-page-1/#comment-5652</link>
		<dc:creator>hide your ip</dc:creator>
		<pubDate>Fri, 27 Aug 2010 15:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/web-service-ambiguous-type-question/#comment-5652</guid>
		<description>I would think that if you ran Counter strike through a Proxy, you would get booted for lag. If you&#039;ve been kicked out of their servers, they are probably using your computer Id which you can&#039;t change and you would still not be able to get in.</description>
		<content:encoded><![CDATA[<p>I would think that if you ran Counter strike through a Proxy, you would get booted for lag. If you've been kicked out of their servers, they are probably using your computer Id which you can't change and you would still not be able to get in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan</title>
		<link>http://www.csharp411.com/web-service-ambiguous-type-question/comment-page-1/#comment-3604</link>
		<dc:creator>Ethan</dc:creator>
		<pubDate>Mon, 13 Oct 2008 15:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/web-service-ambiguous-type-question/#comment-3604</guid>
		<description>Exactly what happened on my part. I have resolved mine by serializing changing the parameter of the method in my webservice from object to string and serialize it. it&#039;s true it&#039;s ambigous coz the service and the UI both use the datamodel entity (on my part).

so from:

[WebMethod]
public string GetContact(ContactList contactList)

to:

[WebMethod]
public string GetContact(string contactList)

and from the calling UI, i serialiaze the object to string and inside the webmethods, deserialize it! And you&#039;re done!</description>
		<content:encoded><![CDATA[<p>Exactly what happened on my part. I have resolved mine by serializing changing the parameter of the method in my webservice from object to string and serialize it. it's true it's ambigous coz the service and the UI both use the datamodel entity (on my part).</p>
<p>so from:</p>
<p>[WebMethod]<br />
public string GetContact(ContactList contactList)</p>
<p>to:</p>
<p>[WebMethod]<br />
public string GetContact(string contactList)</p>
<p>and from the calling UI, i serialiaze the object to string and inside the webmethods, deserialize it! And you're done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timm</title>
		<link>http://www.csharp411.com/web-service-ambiguous-type-question/comment-page-1/#comment-81</link>
		<dc:creator>Timm</dc:creator>
		<pubDate>Mon, 21 Jan 2008 18:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/web-service-ambiguous-type-question/#comment-81</guid>
		<description>After conversing with Microsoft tech support and a couple of MVPs, it appears there is currently no way for a C# web servce client to bind to a specific DLL in the web service &quot;bin&quot; folder.

Thus, the solution is to re-architect the project.  I removed the proxy definition for DataService (that inherits from SoapHttpClientProtocol) from shared.dll, and moved it into a separate client.dll.  My application client.exe references client.dll, and since client.dll is not uploaded to the web services &quot;bin&quot; folder, there is no ambiguity.</description>
		<content:encoded><![CDATA[<p>After conversing with Microsoft tech support and a couple of MVPs, it appears there is currently no way for a C# web servce client to bind to a specific DLL in the web service "bin" folder.</p>
<p>Thus, the solution is to re-architect the project.  I removed the proxy definition for DataService (that inherits from SoapHttpClientProtocol) from shared.dll, and moved it into a separate client.dll.  My application client.exe references client.dll, and since client.dll is not uploaded to the web services "bin" folder, there is no ambiguity.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
