| Register
Thursday, November 20, 2008
SharePoint Forums
SearchForum Home
     
  SharePoint Development  SharePoint Customization  The parameter n...
 The parameter name cannot be empty or bigger than 255 characters.
 
follo
1 posts
5th
Joined
7/4/2008

The parameter name cannot be empty or bigger than 255 characters.
Posted: 04 Jul 08 3:30 AM

Hi All.

I'm writing a java class in order to invoke SharePoint webservices using Axis. I can successfully authenticate and get response from operations like GetUserCollectionFromWeb or GetGroupCollectionFromWeb defined in /_vti_bin/UserGroup.asmx.

When I try to contact the operation GetGroupInfo I receive this error:

Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

<axis2ns1:errorstring xmlns:axis2ns1="_http://schemas.microsoft.com/sharepoint/soap/_"> The parameter name cannot be empty or bigger than 255 characters.</axis2ns1:errorstring>

The soap message I'm sending to the webservice is:

<soap:Envelope xmln:soap="_http://schemas.xmlsoap.org/soap/envelope/_" xmlns:xsd="_http://www.w3.org/2001/XMLSchema_" xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_">
 <soap:Body>
   <GetGroupInfo xmlns="_http://schemas.microsoft.com/sharepoint/soap/directory/_">
     <groupName>HelpGroup</groupName>
   </GetGroupInfo>
 </soap:Body>
</soap:Envelope>

What could be wrong? Any help would be appreciated.

Thanks,

 Alessandro

  SharePoint Development  SharePoint Customization  The parameter n...
(c) 2006 SharePoint Forums   |  Privacy Statement  |  Terms Of Use