Link to home
Start Free TrialLog in
Avatar of kdschool
kdschool

asked on

Sharepoint 2010Soap Connection Error

The sever admin gave me this url to use soap to connect to some data I need in sharepoint 2010.  i replaced teh servername with my sharpoint FQD.  I am using select so it should return the values and I can also select GetUserProfileByGUID or several other values that represent field.  The port defaults to what they set it o.

http://servername/_vti_bin/userprofileservice.asmx?WSDL

I get this error message. "The sever returned a non specific error when trying to get data from the datasource.  Check the format of your query and try again. If the problem perisist contact your administrator."

here is the code view when trying to view in web part.

<content>
                                    <div>
                                          <SharePoint:SoapDataSource runat="server" id="SoapDataSource1" AuthType="None" WsdlPath="http://team.web.safety.com/_vti_bin/userprofileservice.asmx?WSDL" SelectUrl="http://team.web.safety.com/_vti_bin/userprofileservice.asmx" SelectAction="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetUserProfileByIndex" SelectPort="UserProfileServiceSoap" SelectServiceName="UserProfileService">
                                                <SelectCommand>
                                                <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
                                                <soap:Body>
                                                <GetUserProfileByIndex xmlns="http://microsoft.com/webservices/SharePointPortalServer/UserProfileService">
                                                <index></index>
                                                </GetUserProfileByIndex>
                                                </soap:Body>
                                                </soap:Envelope>
                                                </SelectCommand>
                                          </SharePoint:SoapDataSource>
                                    </div>
                                    </content>
Can someone tell me why this is happening and how to fix it and if its' on my side or their side?
ASKER CERTIFIED SOLUTION
Avatar of Arnold Layne
Arnold Layne
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial