We're in the process of updating our website to use SilverStripe and I was hoping to integrate a soap service (used for providing software updates to our customers) with the user authentication system in SilverStripe so we don't need maintain 2 separate systems.
I've had a quick look around the code and can see that there is a soap server somewhere and that the Ministry of Tourism must have done something similar, but I can't find where I need to start. Can you give me any pointers?
We've used SOAP services on a few projects, I'm assuming that you didn't write or control the service you're accessing?
In either case, I recommend you use the native PHP SOAP service (and curl if I recall correctly) which makes it all a bit easier.
We converted to the SOAP response to a DataObject, which had quite a few implications and I wouldn't necessarily recommend it. If you can be a bit more specific in what you're trying to do, then I can help more.
I haven't written it yet but it will be something I write. Basically all the service needs to do is return a list of files created after a supplied filename, per user e.g. last file downloaded is whatever.xml so it would return whatever1.xml, whatever2.xml etc. I know I could go and write a simple standalone soap service to do that but I thought it would be better to use SilverStripe for authentication considering we'll be using it for our website shortly.
I'm integrating SOAP into a Silverstripe site as well, and I'm having problems converting the SOAP results to something I can use in a SS template ; right now , I ended up converting the entire result to a dataobjectset by a looping through it pushing new arraydata on the stack...
Very inefficient and nasty....
Please tell me you know of a better alternative ? ;-)