I've tried Googling the problem and got nothing helpful, and this is my first time trying to use a web service, so bear with me.
I'm trying to follow an approximation of the steps found here.
The difference is that instead of getting the name of the current SharePoint user, I want to get the total list of users. I thought GetUserCollection would be the way to go.
However, on the screen in the wizard for "Set Sample Value," I can't seem to figure out what counts as valid data for tns:userLoginNamesXml, which is the only parameter.
Please help me figure out what to enter - or if there's another approach I should be taking.
I'm using InfoPath 2003 and SharePoint 2007 WSS.
Thanks,
Rae
Edit:
I forgot to add the actual details of the error!
"InfoPath was unable to create a schema from the results of the Web service call."
Under "Details" it says:
"The SOAP response indicates that an error occurred on the server:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
Data at the root level is invalid. Line 1, position 1."
Another Edit:
If there's a better way to get a list of users, let me know...I want to put this list in a dropdown and if GetUserCollection does not have a repeating field, this isn't going to work anyway. Thanks!