Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Noob Question on Web Service Integration


Go to End


1900 Views

Avatar
thepleb

Community Member, 22 Posts

17 April 2009 at 3:51am

I am currently trialling SilverStripe as a possible to replace our current CMS and I was wondering if it is possible to create a form that posts information to a web service and displays the returned information?

Consider this example:

I have a CRM in place that we want to use for all communications from the public. The CRM has a web service that we can call, passing in the fields of data from a form, and it returns either an error or a case number.

So I need to carry out the following steps:

1. Create the form with the required fields (usually on more than one page)
2. When SUBMIT is clicked it passes that information, in a pre-defined XML block, to the CRM Web Service.
3. The CRM returns either an error or a case number. If it returns a case number then display a thank you message and show the case number, but if there is an error then display this on the screen.

If anyone can think of any way I can do this then I would be incredibly grateful!

Many thanks.

PS:

Our current website is: http://www.swale.gov.uk/
Out current CRM integration is: http://selfserve.swale.gov.uk/doitonline
We need to merge the two together. I LOVE working in Local Government! :-)