<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Problem adding a web service to the domain model</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Problem adding a web service to the domain model</description>
  <pubDate>Wed, 19 Jun 2013 19:52:19 -700</pubDate>
  <lastBuildDate>Mon, 16 Nov 2009 08:04:03 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1547</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Problem adding a web service to the domain model : Ok, thanks kimj.  Alan Cobb </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5809#5809</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 16-Nov-2009 at 8:04am<br /><br />Ok, thanks kimj.<DIV>&nbsp;</DIV><DIV>Alan Cobb</DIV>]]>
   </description>
   <pubDate>Mon, 16 Nov 2009 08:04:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5809#5809</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : There&amp;#039;s really no security...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5808#5808</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 14-Nov-2009 at 4:15pm<br /><br />There's really no security shown in that particular sample.&nbsp; The "ASP.NET Membership and Roles" and "ASP.NET Profile" samples in that same folder show a bit of a server-side security implementation using both declarative (the RequiresRoles and RequiresAuthentication attributes) and programmatic (using the Principal passed into a method) security implementations.&nbsp; ]]>
   </description>
   <pubDate>Sat, 14 Nov 2009 16:15:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5808#5808</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Hi kimj, &amp;gt;I&amp;#039;m afraid...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5806#5806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 13-Nov-2009 at 4:39pm<br /><br /><P>Hi kimj,</P><P>&gt;I'm afraid your conclusion is true. </P><P>Well, I realize the web-service mapping approach was a bit <BR>of a long shot :).&nbsp; I just wanted to make sure it wasn't <BR>something I was doing wrong.</P><P>Re. your alternatives:</P><P>I had looked at the "300SLV / ASPNET Membership with Registration"<BR>sample you mention, and yes, that would probably be Ok, <BR>for at least part of what I want to do.</P><P>I had started investigating the third option you mention<BR>(treat aspnetdb like any other database and manipulate<BR>it through DF and EF).&nbsp; I may give that a shot.&nbsp; I'd <BR>like to develop an "admin panel" where I can add and <BR>remove users, change their settings, etc.</P><P>One question for you about the "300SLV" sample:<BR>The way the code is written, it in-effect does some <BR>security-sensitive branching based on client-side Silverlight <BR>code.&nbsp; That's Ok in some cases, but if the "Fetch" routine <BR>they call brought back a security-sensitive list of users, <BR>is there a way to add server-side code to only have that <BR>"Fetch" succeed if the current user is for-sure a manager?&nbsp; <BR>Or is that kind of security something inherently built into <BR>the server-side DF code?</P><P>Thanks,<BR>Alan</P>]]>
   </description>
   <pubDate>Fri, 13 Nov 2009 16:39:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5806#5806</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : I&amp;#039;m afraid your conclusion...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5804#5804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 13-Nov-2009 at 3:51pm<br /><br />I'm afraid your conclusion is true. <DIV>&nbsp;</DIV><DIV>I'm not sure what your requirements are, but you might have some alternatives.&nbsp;&nbsp;&nbsp;</DIV><UL><LI>DevForce can use ASP.NET Membership directly for simple login/logout.&nbsp; </LI><LI>You can&nbsp;pretty easily add access to the Membership API itself (and Roles and Profile) using DevForce support for POCO types.&nbsp; We have a sample in the Learning Resources which uses both standard DevForce login support along with user registration implemented via&nbsp;POCO in the "100_Security\Samples\300SLV\CodeCS\ASPNET Membership with Registration" sub-folder.&nbsp; If you use POCO, the provider can use the ASP.NET APIs directly, or the WCF services (or event the corresponding web services).</LI><LI>You can map the database tables in aspnetdb directly using standard EF and the Object Mapper.&nbsp;&nbsp; I'm not sure if direct database access to these tables is recommended, but it's certainly possible.</LI></UL><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 13 Nov 2009 15:51:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5804#5804</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Since the DF-Object Mapper is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5803#5803</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 13-Nov-2009 at 2:16pm<br /><br /><P>Since the DF-Object Mapper is able, within limits, to map a <BR>"regular" WCF Service, I was able to move on to another <BR>level of challenge.&nbsp; (I'm still interested to know if there is <BR>any work-around to get the OM to handle "Silverlight-enabled <BR>WCF Services").</P><P>What I'm attempting to do is the following:</P><P>Background:<BR>Brad Abrams has a blog article and Silverlight sample that <BR>show how to use three, built-in web services exposed by <BR>ASP.NET to manipulate the ASP.NET user/membership/profile system.<BR>See: <a href="http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authenticati&#111;n-profile-and-role-service-in-silverlight.aspx" target="_blank">http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx</A></P><P>What I'm trying to do is to get the DF-Object Mapper to <BR>map those three built-in ASP.NET web services:<BR>&nbsp;&nbsp;&nbsp; AuthenticationService.svc<BR>&nbsp;&nbsp;&nbsp; RoleService.svc<BR>&nbsp;&nbsp;&nbsp; ProfileService.svc</P><P>I am able to get the DF-Object Mapper to map all three <BR>of them (and create service references for them) without <BR>generating any error messages.&nbsp; The problems show up <BR>when I then try to build the solution.</P><P>Each of the web services gets a corresponding, generated <BR>*.Designer.cs class.&nbsp; Each has build errors related to the <BR>generated types.</P><P>For example, the *.Designer.cs class generated for&nbsp; <BR>RoleService.svc has 5 compile errors: <BR>"Cannot implicitly convert type 'string' to 'DomainModel.String'"</P><P>The *.Designer.cs generated for ProfileService.svc <BR>has 168 compile errors.&nbsp; Apparently the OM gets confused because<BR>some of the web service methods use this .NET generic type: <BR>Dictionary&lt;string,object&gt;.&nbsp; In the generated ProfileService.edmx<BR>and *.Designer.cs files that gets turned into the uncompilable <BR>type named "DomainModel.Dictionary`2" (there is a strange <BR>accent character before the "2").</P><P>-------------------------------------------------<BR>So my conclusion is: If I wrote my own web services <BR>and stuck to a limited set of simple types, I might be able to <BR>get this to work.&nbsp; But trying to map arbitrary web services <BR>is not realistic today?&nbsp; True?</P><P>Thanks,<BR>Alan</P>]]>
   </description>
   <pubDate>Fri, 13 Nov 2009 14:16:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5803#5803</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : kimj: Actually the simple method...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5795#5795</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 5:00pm<br /><br /><P>kimj: Actually the simple method in my test web service<BR>was already returning List&lt;String&gt;, the same as yours.</P><P>The problem seems to be that the DF Object Mapper does <BR>not like the "Silverlight-enabled WCF Service".&nbsp; I'm <BR>not sure exactly why.&nbsp; As long as I used a standard <BR>"WCF Service", rather than the "Sliverlight-enabled <BR>WCF Service", the DF Object Mapper had no errors adding it.</P><P>It didn't matter where I put the web service.&nbsp; Even <BR>hosting the SL-enabled one on IIS produced the same <BR>"...Index out of range..." error message from the OM.<BR>Hosting the standard "WCF Service" directly in the <BR>Silverlight-hosting web app worked fine with the OM.</P><DIV>Alan</DIV><DIV>&nbsp;</DIV><DIV>FWIW: Here is the exception and stack trace at the time of the error message</DIV><DIV>from the DF Object Mapper:</DIV><DIV>(I collected this with WinDbg+SOS from the devenv.exe VS process where </DIV><DIV>the&nbsp;OM is running as an Add-In):</DIV><DIV>&nbsp;</DIV><DIV>Exception type: System.ArgumentOutOfRangeException<BR>Message: Index was out of range. Must be non-negative and less than the size of the collection.<BR>InnerException: &lt;none&gt;</DIV><DIV>&nbsp;</DIV><DIV>StackTrace:</DIV><DIV>System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32)<BR>System.Web.Services.Description.PortTypeCollection.get_Item(Int32)<BR>IdeaBlade.VisualStudio.OM.WsSchemaProvider+ServiceInfoHelper.GetServiceOperations()<BR>IdeaBlade.VisualStudio.OM.WsSchemaProvider.SelectSchemaItems()<BR>IdeaBlade.VisualStudio.OM.SchemaProvider.AddNewEdmx(IdeaBlade.ModelGen.DataSourceType, EnvDTE.Project)<BR>IdeaBlade.VisualStudio.OM.ModelGenerator.AddNewEdmx(IdeaBlade.ModelGen.DataSourceType, IdeaBlade.ModelGen.RootWrapper)<BR>IdeaBlade.VisualStudio.OM.App.AppPresenter.AddWebService()<BR>IdeaBlade.VisualStudio.OM.App.AppWindow.AddWebService_Executed(</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Object, System.Windows.Input.ExecutedRoutedEventArgs)</DIV><span style="font-size:10px"><br /><br />Edited by Alan Cobb - 12-Nov-2009 at 7:14pm</span>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 17:00:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5795#5795</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Sorry for all the problems, guys....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5792#5792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 11:37am<br /><br />Sorry for all the problems, guys.&nbsp; Alan, the problem you're seeing might actually be due to the return data of the web method.&nbsp; We do have a fix in current bits for problems encountered when returning an array from a web method.&nbsp; I'd try changing the return type before moving the WCF service around, eg, something like this should work as a return type:<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp; &#091;DataContract&#093;</DIV><DIV>&nbsp;&nbsp; public class AClass {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;DataMember&#093;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public List&lt;string&gt; Strings { get; set; }</DIV><DIV>&nbsp;&nbsp; }</DIV>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 11:37:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5792#5792</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Hi Bob, Thanks for the feedback. Before...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5791#5791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 11:09am<br /><br /><P>Hi Bob,</P><P>Thanks for the feedback.</P><P>Before you responded I had gone a step further and <BR>added a separate "WCF Web Service" project with <BR>its own additional "Silverlight-enabled WCF Service"<BR>to my existing solution.&nbsp; But I get the same error from <BR>the DevForce Object Mapper.</P><P>As you suggest, I'll try going even further and <BR>move the web service out&nbsp;into a completely separate <BR>solution (and maybe even hosted in IIS).</P><P>Thanks,<BR>Alan</P>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 11:09:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5791#5791</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Alan,  Here&amp;#039;s an update...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5790#5790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=599" rel="nofollow">btitular</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 10:58am<br /><br />Alan,<DIV>&nbsp;</DIV><DIV>Here's an update on my environment.</DIV><DIV>&nbsp;</DIV><DIV>In my case, my web service is in it's own seperate solution. I then have the web service running on an IIS server. So when the object mapper comes up, it "sees" the web service up &amp; running.</DIV><DIV>&nbsp;</DIV><DIV>In your case, you're adding the web service to your web project. I think the OM is getting "lost" when it's trying to access the service when it's part of your web project.</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps you out!</DIV><DIV>&nbsp;</DIV><DIV>Bob</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 10:58:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5790#5790</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Bob: Thanks for trying that out. Inspired...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5789#5789</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 10:50am<br /><br /><P>Bob: Thanks for trying that out.</P><P>Inspired by Bob's success I tried again, but now I get a different error :).</P><P>Here are the steps I took:</P><P>I created a fresh DevForce Silverlight Application from the VS2008<BR>template.&nbsp; That creates a client-side SL project and a server-side<BR>web project.&nbsp; (It just displays "Hello DevForce!" at runtime in the <BR>SL client).</P><P>Next I added an Entity Data Model for the NorthwindEF database to <BR>the web project.&nbsp; I include all the tables and all the views.&nbsp; <BR>A Model1.edmx file is successfully generated in the web project.</P><P>Next I add a "Silverlight-enabled WCF Service" to the web project <BR>using the VS2008 template.&nbsp; I add one method to it that returns <BR>a List&lt;String&gt; collection.</P><P>I run the solution without the debugger, so that the DevForce <BR>Object Mapper will be able to talk to the new web service.</P><P>I select the web project in the solution explorer.</P><P>Back in VS I run the DevForce Object Mapper from the Tools menu.<BR>I pick Model / Add Web Service from the main menu.<BR>The Object Mapper successfully discovers my web service.<BR>I press "Ok" on the "Add Service Reference" dialog.&nbsp; It crunches <BR>a little, then the dialog closes and a message appears in the strip at <BR>the bottom of VS saying "Add service reference complete".</P><P>But then the Object Mapper pops up a message box titled <BR>"Add Web Service Error", with the message "Unable to add web service:<BR>Index out of range.&nbsp; Must be non-negative and less than the size <BR>of the collection.&nbsp; Parameter name: index".</P><P>Any idea what is going wrong?</P><P>Thanks,<BR>Alan</P>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 10:50:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5789#5789</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : We haven&amp;#039;t seen the OM freeze...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5788#5788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 8:25am<br /><br />We haven't seen the OM freeze problem before, but thanks for the info.&nbsp; We'll investigate further.]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 08:25:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5788#5788</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Update  I was adding the Domain...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5787#5787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=599" rel="nofollow">btitular</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 12-Nov-2009 at 6:48am<br /><br />Update<DIV>&nbsp;</DIV><DIV>I was adding the Domain models via object mapper to an existing solution <EM>after</EM> I had created my projects for a prism/mvvm implementation.</DIV><DIV>&nbsp;</DIV><DIV>I decided to create a new solution from scratch. Following the steps in the Hello DevForce &amp; User guide, I was able to add a web service to my solution without the object mapper freezing up on me.</DIV><DIV>&nbsp;</DIV><DIV>From now on, I'll be sure to create my domain models first before I start adding the prism components for an application.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 12 Nov 2009 06:48:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5787#5787</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Kimj,  I was getting the same...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5786#5786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=599" rel="nofollow">btitular</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 11-Nov-2009 at 11:16pm<br /><br /><DIV>Kimj,</DIV><DIV>&nbsp;</DIV><DIV>I was getting the same error as Alan. Upon carefully re-reading the section on adding a web service, I realized that I must first select my server side domain model project before attempting to add the web service. </DIV><DIV>&nbsp;</DIV><DIV>I've created a WCF service that has one method that returns a list of custom objects. I've tested the service using a console app and it returns the results that I expect.</DIV><DIV>&nbsp;</DIV><DIV>When I attempt to add the service via the Object Mapper (ex: <a href="http://myserver/myservice/myservice.svc" target="_blank">http://myserver/myservice/myservice.svc</A>&nbsp;with a namespace of MyServiceReference), I can see that that it creates the MyServiceReference.edmx file, adds the&nbsp;service reference&nbsp;file and the VS2008 status bar reads: </DIV><DIV>&nbsp;</DIV><DIV>Add service reference complete. </DIV><DIV>&nbsp;</DIV><DIV>But the Object Mapper tool freezes up - and since it's a modal window, it causes the VS2008 to freeze up as well. I end up having to kill the process via task manager. </DIV><DIV>&nbsp;</DIV><DIV>Any ideas as to why the process freezes?</DIV><DIV>&nbsp;</DIV><DIV>Bob</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 11 Nov 2009 23:16:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5786#5786</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Ok, thanks kimj. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5762#5762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 07-Nov-2009 at 9:51pm<br /><br />Ok, thanks kimj.]]>
   </description>
   <pubDate>Sat, 07 Nov 2009 21:51:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5762#5762</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : When you choose&amp;#034;Add Web Service&amp;#034;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5761#5761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 07-Nov-2009 at 5:25pm<br /><br />When you choose&nbsp;"Add Web Service" from the Model menu, the Object Mapper is supposed to both generate a standard service reference, and generate an EDMX representing only the conceptual model.&nbsp;&nbsp;The EDMX should be generated, even if no methods matched its requirements, and it should show messages for any errors found within the EDMX document.&nbsp; So, if an EDMX isn't being generated, it's hard to say what's going on.&nbsp; I will say that our support for web services within the Object Mapper is not currently particularly robust.<DIV>&nbsp;</DIV><DIV>The requirement for mapped web methods / operations is that they take only primitive types as arguments and that they return a value (either a primitive or a "complex" type).&nbsp; The return type is mapped as an Entity, and any other non-primitive types in the object graph are also mapped as entities.</DIV><DIV>&nbsp;</DIV><DIV>We haven't yet updated our learning resource and documentation for the disappearance of the Google Search service, but thanks for reminding us.&nbsp; We'll have both updated in a coming release.</DIV><DIV>&nbsp;</DIV><DIV>If you need web service support please contact us directly (using the support request form on our web site - <a href="http://www.ideablade.com/CustomerSupportRequest&#070;orm.aspx" target="_blank">http://www.ideablade.com/CustomerSupportRequestForm.aspx</A>) and let us know your requirements.</DIV>]]>
   </description>
   <pubDate>Sat, 07 Nov 2009 17:25:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5761#5761</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : I couldn&amp;#039;t find anything...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5759#5759</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 06-Nov-2009 at 7:05pm<br /><br /><P>I couldn't find anything in the Dev Guide (or elsewhere) that <BR>described exactly what the requirements are for the "web services"<BR>that can be added to a domain model.&nbsp; I would think DF <BR>would be expecting certain types of methods that return <BR>certain types of things.&nbsp; No?</P><P>I'm _guessing_ that the Object Modeler is looking at my <BR>particular web service and not finding what it wants, <BR>so it can't generate a *.EDMX for it?</P><P>Thanks,<BR>Alan</P>]]>
   </description>
   <pubDate>Fri, 06 Nov 2009 19:05:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5759#5759</guid>
  </item> 
  <item>
   <title>Problem adding a web service to the domain model : Are there any samples of a project...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5758#5758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=622" rel="nofollow">Alan Cobb</a><br /><strong>Subject:</strong> 1547<br /><strong>Posted:</strong> 06-Nov-2009 at 4:47pm<br /><br /><P>Are there any samples of a project that has a web service <BR>added to the domain model?&nbsp; When I try that with my local<BR>web service (exposed by the same ASP.NET project) I get <BR>this error message from the Object Mapper:<BR>"Unable to add web service: Could not find the file<BR>'M:\ ...(detail removed)... <BR>\PrismExplorer\ModelExplorer.Explorer\ServiceReference3.edmx'"</P><P>Any idea why the Object Mapper thinks I should have a *.EDMX <BR>corresponding to the web service I'm trying to add?</P><P>BTW: The Dev Guide (p128 about "Mapping a Web Service") <BR>uses as an example a web service that no longer exists :).<BR>The GoogleSearch.wsdl was discontinued in August 2009.<BR>See: <a href="http://googlecode.blogspot.com/2009/08/well-earned-retirement-for-soap-search.html" target="_blank">http://googlecode.blogspot.com/2009/08/well-earned-retirement-for-soap-search.html</A></P>]]>
   </description>
   <pubDate>Fri, 06 Nov 2009 16:47:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1547&amp;PID=5758#5758</guid>
  </item> 
 </channel>
</rss>