<?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 : Extend Webservice class???</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Extend Webservice class???</description>
  <pubDate>Wed, 10 Jun 2026 14:39:07 -700</pubDate>
  <lastBuildDate>Mon, 15 Jun 2009 10:15:32 -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=1272</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>Extend Webservice class??? : I looked over that 50 times atleast...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4762#4762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1272<br /><strong>Posted:</strong> 15-Jun-2009 at 10:15am<br /><br />I looked over that 50 times atleast and still didn't catch it until I went to copy and paste to show you that I had it the same.&nbsp;Need to get my brain - eye communication checked.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 15 Jun 2009 10:15:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4762#4762</guid>
  </item> 
  <item>
   <title>Extend Webservice class??? : Is &amp;#034;Webservice&amp;#034; the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4761#4761</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> 1272<br /><strong>Posted:</strong> 15-Jun-2009 at 10:10am<br /><br />Is "Webservice" the name of the auto-generated class also?&nbsp; (Note that the s is lowercase in your class.)&nbsp; Is the auto-generated class also in the LOC.CEMS.Model namespace?&nbsp; In order to "extend" the auto-generated class, the fully-qualified type name must be the same, otherwise the compiler generates a new class altogether, which sounds like what you're seeing.]]>
   </description>
   <pubDate>Mon, 15 Jun 2009 10:10:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4761#4761</guid>
  </item> 
  <item>
   <title>Extend Webservice class??? : I have tried that but the class...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4758#4758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1272<br /><strong>Posted:</strong> 15-Jun-2009 at 8:21am<br /><br />I have tried that but the class methods are not visible in the partial class.<DIV>&nbsp;</DIV><DIV>ExecuteQuery is not accessable. In the example it uses ExecuteIEntityQuery which is also not accessable.</DIV><DIV>&nbsp;</DIV><DIV>My Extended Webservice:</DIV><DIV><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">using</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> System;<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">using</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> System.Web.Services;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">using</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> System.Web.Services.Protocols;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">using</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> IdeaBlade.Persistence;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">using</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> IdeaBlade.Persistence.WS;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">using</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> IdeaBlade.Util;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><o:p><strong><FONT size=2>&nbsp;</FONT></strong></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">namespace</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> LOC.CEMS.Model<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><strong><FONT size=2>{<o:p></o:p></FONT></strong></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">public</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">partial</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">class</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">Webservice<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><strong><FONT size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></strong></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><o:p><strong><FONT size=2>&nbsp;</FONT></strong></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&#091;</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">WebMethod</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">&#093;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&#091;</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">SoapHeader</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">(</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #a31515; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">"SecurityHeader"</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">, Direction = </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">SoapHeaderDirection</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">.InOut)&#093;<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">public</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> System.Data.</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">DataSet</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> GetQueryResults(IdeaBlade.Persistence.WS.</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">Query</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> pQueryForQueryId, </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">params</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"> </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">object</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">&#091;&#093; args)<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><strong><FONT size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></strong></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">Query</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">&#091;&#093; mResults = ExecuteQuery&lt;</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">Query</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">&gt;(pQueryForQueryId, </SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: blue; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">string</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">.Empty);<o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><strong><FONT size=2><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: #2b91af; mso-bidi-font-size: 10.0pt; mso-no-proof: yes">…..</SPAN><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><o:p></o:p></SPAN></FONT></strong></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><strong><FONT size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></strong></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><strong><FONT size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></strong></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-no-proof: yes"><strong><FONT size=2>}</FONT></strong></SPAN></P></DIV>]]>
   </description>
   <pubDate>Mon, 15 Jun 2009 08:21:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4758#4758</guid>
  </item> 
  <item>
   <title>Extend Webservice class??? : We apologize. Sometimes posts...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4753#4753</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> 1272<br /><strong>Posted:</strong> 11-Jun-2009 at 2:36pm<br /><br />We apologize.&nbsp; Sometimes posts slip through unnoticed.&nbsp; When you need&nbsp;immediate help with a problem email <a href="mailto:support@ideablade.com" target="_blank">support@ideablade.com</A> directly.<DIV>&nbsp;</DIV><DIV>You&nbsp;can extend the WebService partial class, and be sure to decorate the methods with the &#091;WebMethod&#093; attribute so that the methods are visible.&nbsp; The Web Service Publishing sample application in the 300 Advanced Series of the Instructional Units contains a sample web service with additional web methods in a partial class.</DIV>]]>
   </description>
   <pubDate>Thu, 11 Jun 2009 14:36:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4753#4753</guid>
  </item> 
  <item>
   <title>Extend Webservice class??? : Got to love the quick reply. IdeaBlade...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4752#4752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1272<br /><strong>Posted:</strong> 11-Jun-2009 at 8:25am<br /><br /><P>Got to love the quick reply. IdeaBlade come on.</P>]]>
   </description>
   <pubDate>Thu, 11 Jun 2009 08:25:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4752#4752</guid>
  </item> 
  <item>
   <title>Extend Webservice class??? : Is there a way to add to the Webservice...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4589#4589</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1272<br /><strong>Posted:</strong> 21-May-2009 at 7:29am<br /><br />Is there a way to add to the Webservice class? I tried creating another partial class but the methods I added do not show up in the webservice.<DIV>&nbsp;</DIV><DIV>I am trying to add custom methods. These methods do not return Model entities they return DynamicEntities.</DIV><DIV>&nbsp;</DIV><DIV>As of right now I have to add my methods back in everytime I save the Object Mapper.</DIV>]]>
   </description>
   <pubDate>Thu, 21 May 2009 07:29:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1272&amp;PID=4589#4589</guid>
  </item> 
 </channel>
</rss>