C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Sharepoint »

Calling a WebService on Sharepoint From C++


Posted Date: 03 Dec 2008      Posted By: Abhijeet Kumar      Member Level: Gold     Points: 1   Responses: 2



How can we call a web service that internally interacts with Sharepoing Server from a C++ application. I am able to call the webservice but am not able to create SPsite, it gives error as "thread was being aborted".

Any logical Thoughts are welcome.





Responses

Author: Santhi    04 Dec 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 1

Hi,

This link will help you
http://www.codeproject.com/KB/webservices/Web_Services.aspx



Author: Aslam     17 Dec 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 3

SPSecurity.RunWithElevatedPrivileges(delegate()
{
since the sharepoint site creation requires a administrators previlages
if you dont impersonate the security then site wont get create
pls use SPSecurity.RunWithElevatedPrivileges(delegate()
{
}
add your code in between



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Sharepoint Interview Questions
Previous : Define object model in sharepoint
Return to Discussion Forum
Post New Message
Category: Sharepoint

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use