Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Problem with custom webparts running asychronous procedure

  Asked By: Varsha    Date: Apr 05    Category: Sharepoint    Views: 758

Since it is not possible to access another site using
SharePoint Object Model, can we call a web service to
get file in the asynchronous thread generated by the
RegisterWorkItemCallback. I am interested in the
SPFile .OpenBinary() method as a Web Service call.

This Web Service call would of course be to the same
IIS Server, so is there a way to eliminate the SOAP
message to the web service, and create an AppDomain
that would accomplish the same result from within this
created thread.

Can anyone help me out?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Cecil Mckenzie     Answered On: Apr 05

If all you want is the file  contents, it might be easier to simply make an HTTP
request to the server  for the file in question...

 
Answer #2    Answered By: Jaclyn Gordon     Answered On: Apr 05

Why do you say you can not access  another site  using the WSS object
model? You can bind to and access other sites assuming the account that
is accessing the other site has the appropriate permissions.

 
Didn't find what you were looking for? Find more on Problem with custom webparts running asychronous procedure Or get search suggestion and latest updates.