Sharepoint and Infopath Interaction: GetUserLoginFromEmail SPWS Me

J

Jonathan Gill

When I try to use the GetUserLoginFromEmail method of the Users and Groups
web service (e.g. http://toplevelsharepointsite/_vti_bin/usergroup.asmx?WSDL)
from SharePoint via web service calls from Infopath and I get the error
listed below:

Does anyone else encounter this or have you and is there a way to fix it?
Does it require editing the manifest file?


The SOAP response indicates that an error occurred on the server:

Server was unable to process request. --> The root element is missing.


GetUserLoginFromEmail Method Documenation on MSDN:
http://msdn2.microsoft.com/en-gb/library/ms995739.aspx

I am passing XML into the service as requested, e.g. <User
Email='(e-mail address removed)'/>, however I have also tried passing
(e-mail address removed) and the same error is occuring.
 
S

S.Y.M. Wong-A-Ton

I think you're missing a <Users> element around your <User ... /> element.
Your XML must look like
<Users>
<User Email='(e-mail address removed)' />
</Users>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top