views:

193

answers:

2

Hi, Does it possible to use soap php5 from Linux to request Sharepoint? Does it possible to have a wsdl php?

Thank's

+2  A: 

I assume that you wan't to use these webservices from an linux based system makinmg use of php's WSDL web service consuming features. Since php is pretty error tolerant I think you'll have an easy time accessing Sharepoint data.

On the other hand, when passing data to the web service be aware of the typelesness of php which can course trouble in intersystem communication.

KB22
A: 

Yes it is possible.

Let's say you want to do a basic operation, like reading a SharePoint List from PHP. The easiest way i found to access SharePoint's Lists Web Services from PHP is to:

  1. Manually download the Lists.asmx file in a folder accessible by your PHP server. This way you'll avoid dealing with the NTLM authentication of your SharePoint site (you'll use basic auth instead). The URL to your WSDL should look like: sharepointsite.com/_vti_bin/Lists.asmx?WSDL
  2. Use the NuSOAP library to invoke the Web Service, which is by my experience easier to use with the SharePoint Web Services than PHP's own SOAP implementation.

Here's an exemple of the above steps (code sample): Reading a SharePoint list with PHP

DavidD