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?
kdschoolAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BobHavertyComhCommented:
Without anything from the log files, this part seems odd. Just a first guess.

AuthType="None"

Seems like you probably need an authentication method, usually windows auth if this is only supposed to be accessed within your domain. If this is some sort of publicly available soap service, then if they still need some sort of authentication, it would probably be basic auth. Maybe this article can help.

http://www.hamishking.com/2010/07/14/non-specific-error-trying-to-get-the-data-source-rest-and-sp2010/

Also, you might need to actually use the server address given by the admin instead of replacing it with an fqdn. If this database is on a machine that can only be accessed by machine name, then you would need to use the machine name itself just like the admin gave you. Here's some more info

http://office.microsoft.com/en-us/sharepoint-designer-help/add-a-soap-service-as-a-data-source-HA010355752.aspx

In the example there, it just uses the server name just like the admin gave you. Plus this gives you a comprehensive list of things to set and check. Hope it helps.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.