Anyone used PHP SOAP to access Sharepoint web services?
I'm happy with PHP, but I'm a newbie with SOAP!
I can access the services in general, but can't find out how to authenticate myself to the SharePoint system so i can't actually pull any data out.
Any pointers gratefully received!
Thanks
Steve
SOAP access to SharePoint web services
Moderator: General Moderators
SOAP client of php5 could be of help.Also my own problem could be of help. Its so easy to implement. Just declare the client class with wsdl url in it. And access the services as the methods of the class. Nothing could be so easy.
PHP5 rocks
PHP5 rocks
feyd | Please use
gives me the response I'd expect.
Trouble is, if I extend this to...
I don't get what I want because, of course, I haven't provided any log in info.
What I can't figure out is how to provide this login info to SharePoint....
Steve
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I've got started OK. e.g.Code: Select all
require_once('SOAP/Client.php');
$wsdl=new SOAP_WSDL( 'http://mydomain/_vti_bin/Lists.asmx?wsdl');
echo ( $wsdl->generateProxyCode() );Trouble is, if I extend this to...
Code: Select all
require_once('SOAP/Client.php');
$wsdl=new SOAP_WSDL('http://mydomain/_vti_bin/Lists.asmx?wsdl');
$ListOutput=$wsdl->getProxy();
$info=$ListOutput->GetList("The_List_I_Want");
print_r ( $info );What I can't figure out is how to provide this login info to SharePoint....
Steve
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]