<?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"
	>
<channel>
	<title>Comments on: WSS 3.0 Web Service Quick Reference</title>
	<atom:link href="http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/</link>
	<description>Treading water in a sea of man-made confusion.</description>
	<pubDate>Mon, 01 Dec 2008 21:28:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Saurabh k. Tripathi</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-14532</link>
		<dc:creator>Saurabh k. Tripathi</dc:creator>
		<pubDate>Tue, 25 Nov 2008 04:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-14532</guid>
		<description>Hi srinivas,
put your coad in try catch block(see the code below)...that'll give you exact error.
try
        {
            user.AddUserToRole(roleName, "saurabh_kunapalli2.mi", "RED001\\saurabh_kunapalli2.micr", "saurabh@kunapalli2.microsoftonline.com", "Some Notes");
            txt_AddUserToRole.Text = "user added successfully";
            
        }
        catch(System.Web.Services.Protocols.SoapException ex)
        {
           txt_AddUserToRole.Text = ex.Detail.OuterXml;
        }</description>
		<content:encoded><![CDATA[<p>Hi srinivas,<br />
put your coad in try catch block(see the code below)&#8230;that&#8217;ll give you exact error.<br />
try<br />
        {<br />
            user.AddUserToRole(roleName, &#8220;saurabh_kunapalli2.mi&#8221;, &#8220;RED001\\saurabh_kunapalli2.micr&#8221;, &#8220;saurabh@kunapalli2.microsoftonline.com&#8221;, &#8220;Some Notes&#8221;);<br />
            txt_AddUserToRole.Text = &#8220;user added successfully&#8221;;</p>
<p>        }<br />
        catch(System.Web.Services.Protocols.SoapException ex)<br />
        {<br />
           txt_AddUserToRole.Text = ex.Detail.OuterXml;<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinivas reddy</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-12713</link>
		<dc:creator>srinivas reddy</dc:creator>
		<pubDate>Thu, 06 Nov 2008 12:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-12713</guid>
		<description>iam trying to add a user to a list using addRoleToUser() method in usergroup.asmx.
group.AddUserToRole(roleName, "Amarnath", vertex\srinivas.t, "", userNotes);

Here iam getting the Soap Server Exception. Guide me in this issue.</description>
		<content:encoded><![CDATA[<p>iam trying to add a user to a list using addRoleToUser() method in usergroup.asmx.<br />
group.AddUserToRole(roleName, &#8220;Amarnath&#8221;, vertex\srinivas.t, &#8220;&#8221;, userNotes);</p>
<p>Here iam getting the Soap Server Exception. Guide me in this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gala</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-101</link>
		<dc:creator>Gala</dc:creator>
		<pubDate>Thu, 24 May 2007 12:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-101</guid>
		<description>I am trying to make AddPermission method of Permissions web service to work. My code creates Document Workspace (using DWS web service) and then it has to give permissions to two groups that exists on parent site. I am using masks that are marked on msdn as obsolete, maybe that's why my code is working, but group appears with strange permission that says "Auto-generated ..." and group's users don't have access to it.
Have you worked with permissin web service? or possible know how to force document workspace created with DWS service to have inherited from parent site permissions.</description>
		<content:encoded><![CDATA[<p>I am trying to make AddPermission method of Permissions web service to work. My code creates Document Workspace (using DWS web service) and then it has to give permissions to two groups that exists on parent site. I am using masks that are marked on msdn as obsolete, maybe that&#8217;s why my code is working, but group appears with strange permission that says &#8220;Auto-generated &#8230;&#8221; and group&#8217;s users don&#8217;t have access to it.<br />
Have you worked with permissin web service? or possible know how to force document workspace created with DWS service to have inherited from parent site permissions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-100</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 13 Apr 2007 01:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-100</guid>
		<description>Hi,

(WSS 3.0)

I'm trying to use the Document Workslace.CreateFolder service.

When I attempt to add a web reference to this in VS.NET 2005, I see the following error:
The document at the url http://localhost:48386/_vti_bin/DWS.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Root element is missing.'.
- Report from 'http://localhost:48386/_vti_bin/DWS.asmx' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.

Any idea how to make this behave?

I'm expecting to be able to add the web reference then use it as described in the SDK:
string strResult = "";
                strResult =
                    dwsWebService.CreateFolder("http://servername:34399/sites/S1/ERPODocs/RL34567");
                if (IsDwsErrorResult(strResult))
                {
                    int intErrorID = 0;
                    string strErrorMsg = "";
                    ParseDwsErrorResult(strResult, out intErrorID, out strErrorMsg);
                    MessageBox.Show
                        ("A document workspace error occurred.\r\n" +
                        "Error number: " + intErrorID.ToString() + "\r\n" +
                        "Error description: " + strErrorMsg,
                        "DWS Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                else
                {
                    MessageBox.Show
                        ("The folder was successfully created.",
                        "Create Folder", MessageBoxButtons.OK,
                        MessageBoxIcon.Information);
                }
            }
            catch (Exception exc)
            {
                MessageBox.Show("An exception occurred.\r\n" +
                    "Description: " + exc.Message,
                    "Exception", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }

THanks in  advance for any assistance,
Paul</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>(WSS 3.0)</p>
<p>I&#8217;m trying to use the Document Workslace.CreateFolder service.</p>
<p>When I attempt to add a web reference to this in VS.NET 2005, I see the following error:<br />
The document at the url <a href="http://localhost:48386/_vti_bin/DWS.asmx" rel="nofollow">http://localhost:48386/_vti_bin/DWS.asmx</a> was not recognized as a known document type.<br />
The error message from each known type may help you fix the problem:<br />
- Report from &#8216;DISCO Document&#8217; is &#8216;Root element is missing.&#8217;.<br />
- Report from &#8216;http://localhost:48386/_vti_bin/DWS.asmx&#8217; is &#8216;The document format is not recognized (the content type is &#8216;text/html; charset=utf-8&#8242;).&#8217;.<br />
- Report from &#8216;WSDL Document&#8217; is &#8216;The document format is not recognized (the content type is &#8216;text/html; charset=utf-8&#8242;).&#8217;.<br />
- Report from &#8216;XML Schema&#8217; is &#8216;The document format is not recognized (the content type is &#8216;text/html; charset=utf-8&#8242;).&#8217;.</p>
<p>Any idea how to make this behave?</p>
<p>I&#8217;m expecting to be able to add the web reference then use it as described in the SDK:<br />
string strResult = &#8220;&#8221;;<br />
                strResult =<br />
                    dwsWebService.CreateFolder(&#8221;http://servername:34399/sites/S1/ERPODocs/RL34567&#8243;);<br />
                if (IsDwsErrorResult(strResult))<br />
                {<br />
                    int intErrorID = 0;<br />
                    string strErrorMsg = &#8220;&#8221;;<br />
                    ParseDwsErrorResult(strResult, out intErrorID, out strErrorMsg);<br />
                    MessageBox.Show<br />
                        (&#8221;A document workspace error occurred.\r\n&#8221; +<br />
                        &#8220;Error number: &#8221; + intErrorID.ToString() + &#8220;\r\n&#8221; +<br />
                        &#8220;Error description: &#8221; + strErrorMsg,<br />
                        &#8220;DWS Error&#8221;, MessageBoxButtons.OK, MessageBoxIcon.Error);<br />
                }<br />
                else<br />
                {<br />
                    MessageBox.Show<br />
                        (&#8221;The folder was successfully created.&#8221;,<br />
                        &#8220;Create Folder&#8221;, MessageBoxButtons.OK,<br />
                        MessageBoxIcon.Information);<br />
                }<br />
            }<br />
            catch (Exception exc)<br />
            {<br />
                MessageBox.Show(&#8221;An exception occurred.\r\n&#8221; +<br />
                    &#8220;Description: &#8221; + exc.Message,<br />
                    &#8220;Exception&#8221;, MessageBoxButtons.OK, MessageBoxIcon.Error);<br />
            }</p>
<p>THanks in  advance for any assistance,<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WSS 3.0 Web Service Reference Guide &#171; CJ</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-96</link>
		<dc:creator>WSS 3.0 Web Service Reference Guide &#171; CJ</dc:creator>
		<pubDate>Mon, 19 Feb 2007 12:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-96</guid>
		<description>[...] 3.0 Web Service Reference&#160;Guide Filed under: Office 12 &#8212; CJ @ 9:31 pm   I found this on Glen&#8217;s site. Kudos to [...]</description>
		<content:encoded><![CDATA[<p>[...] 3.0 Web Service Reference&nbsp;Guide Filed under: Office 12 &#8212; CJ @ 9:31 pm   I found this on Glen&#8217;s site. Kudos to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WSS 3.0 Web Service References &#171; CJ</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-95</link>
		<dc:creator>WSS 3.0 Web Service References &#171; CJ</dc:creator>
		<pubDate>Mon, 19 Feb 2007 11:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-95</guid>
		<description>[...] 3.0 Web Service&#160;References Filed under: Office 12 &#8212; CJ @ 9:31 pm   I found this on Glen&#8217;s site. Kudos to [...]</description>
		<content:encoded><![CDATA[<p>[...] 3.0 Web Service&nbsp;References Filed under: Office 12 &#8212; CJ @ 9:31 pm   I found this on Glen&#8217;s site. Kudos to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-99</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 24 Jan 2007 14:13:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-99</guid>
		<description>i discovered the problem that there is no access to the permissions of items/folders. Any ideas to this topic?</description>
		<content:encoded><![CDATA[<p>i discovered the problem that there is no access to the permissions of items/folders. Any ideas to this topic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: glenc</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-98</link>
		<dc:creator>glenc</dc:creator>
		<pubDate>Mon, 22 Jan 2007 16:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-98</guid>
		<description>To the best of my knowledge this method has some parameters that might effect this.  First off, you can choose to specify a view and if you specify a view which filters the contents that would explain what's happening.

Second, there's a query options parameter (I think that's what it's called) that lets you specify additional options.  For example, if your list has folders, there is an option here to traverse all folders.  Without providing that parameter you would not get any items in sub folders.

Lastly, there's an item limit parameter and I'm not positive about this but I believe if you pass null it will default to 100.  Again - not sure about that one but you could try providing an insanely huge number and see if that fixes your problem.</description>
		<content:encoded><![CDATA[<p>To the best of my knowledge this method has some parameters that might effect this.  First off, you can choose to specify a view and if you specify a view which filters the contents that would explain what&#8217;s happening.</p>
<p>Second, there&#8217;s a query options parameter (I think that&#8217;s what it&#8217;s called) that lets you specify additional options.  For example, if your list has folders, there is an option here to traverse all folders.  Without providing that parameter you would not get any items in sub folders.</p>
<p>Lastly, there&#8217;s an item limit parameter and I&#8217;m not positive about this but I believe if you pass null it will default to 100.  Again - not sure about that one but you could try providing an insanely huge number and see if that fixes your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boss</title>
		<link>http://blog.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-97</link>
		<dc:creator>Boss</dc:creator>
		<pubDate>Mon, 22 Jan 2007 13:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogtmp.glenc.net/2006/11/24/wss-30-web-service-quick-reference/#comment-97</guid>
		<description>Great work Glen,

  We tried the GetListItems method of the webservices lists.asmx,but we are not able to retrive all the items. there is a change in the method which takes 7 args in moss where as 6 args in wss2.0.could u please help us in retrieving all the items thro the above method with an example.</description>
		<content:encoded><![CDATA[<p>Great work Glen,</p>
<p>  We tried the GetListItems method of the webservices lists.asmx,but we are not able to retrive all the items. there is a change in the method which takes 7 args in moss where as 6 args in wss2.0.could u please help us in retrieving all the items thro the above method with an example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
