MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Sharepoint Web Services

  Asked By: Bhavini    Date: Jun 20    Category: MOSS    Views: 735

This is a desperate cry for help I'm afraid. My colleague has been
working on an application for months that allows staff to add, index
and sort documents and folders on a MOSS server. He has been using a
virtual machine(s) to develop and now he is trying to work out how to
do the install on the client PCs so they can use the MOSS app. He just
turned a nasty shade of grey as he just read that client PCs cannot
use the SharePoint code (APIs), they have to use SharePoint Web
Services. He has no idea what SharePoint Web Service is (although I am
sure he can work it out eventually).

Can someone please tell me there is a cheat/trick we can use to make
this app work remotely? We looked into installing WSS 3.0 on Vista and
XP (it can be done, just about) but would this solve the problem? Or
is there a way of making the remote PCs run the app as if it was on
the server? Silly questions probably, just trying to help him. He is
feeling pretty crap right now so be gentle with him dear readers.



5 Answers Found

Answer #1    Answered By: Alexander Rocha     Answered On: Jun 20

I've got bad news, there's no easy fix. Only code  that runs on the
SharePoint server  itself can use the sharepoint  Object Model. Ifyou
install WSS on their workstations the code will only be able to access
the OM on their local SharePoint installs. They will not be able to
access the Object Model on your main server.

You have a couple of options:

1) Use web  services, if they have all the functionality you need.

2) Write the application  so that it runs on the server and the
users interact with it via a web page.

Answer #2    Answered By: Maggie Benson     Answered On: Jun 20

Number 2 is probably the most realistic option; you may even be able to slap
some sort  of "webifying" layer (via a Java applet or some such) that takes
the graphical output and lets a web  user interact with it. If not, then you
should probably look into exposing the object model and tapping into it with
a web page.

Answer #3    Answered By: Lane Trujillo     Answered On: Jun 20

Ok, thanks for your replies guys, helpful to know. Looks like the plan
is to use Web Services for a small bit of the app  but then get the
client machines  to send the queries to the server  where a service  will
run them.

Answer #4    Answered By: Rafael Willis     Answered On: Jun 20

For the second half of that, you could actually do this with web
services as well - add  a web  service layer as the front end to their OM
code for anything the OOTB web services  cannot do.

Answer #5    Answered By: Richard Davis     Answered On: Jun 20

SharePoint is a server  based app  and the API isn't available on the client.
Installing SharePoint on the client  wouldn't help. SharePoint web  Services are
standard XML web services  that SharePoint makes available for accessing Remote
servers from a client or other platform.

Bottom line is that what he is trying to do can't be done  on the client.

Didn't find what you were looking for? Find more on Sharepoint Web Services Or get search suggestion and latest updates.