Tag Archives: Web Service

Calling Web Services using Process Server

Process Server has had a mashup control since version 9.1.3, called TriggerPanel. It could be used to trigger a process flow without returning data from the flow itself.
In Lawson Smart Office 10.0.0 the TiggerPanel supports a synchronous call which means that it is possible to run a flow and bring in data from the process back to the Mashup.

In order for the mashup to be able to automatically generate a UI and to be able to create an object model that can be used for easy binding the XML has to be according to a specific schema.

The XML schema describes a Header section and any number of Detail sections. The service has to at least return an xml document with only the root. The root element name is ProcessResponseHeaderDetails. Returning no Xml at all will result in an error dialog informing that no data was returned from the service. Continue reading

Calling a SOAP based Web Service in a Mashup

New in Lawson Smart Office is the support for calling a web service in a Mashup. Now we did have REST support in 9.1.3 and using the template XML functionality it was possible to make a SOAP request to get data. What is new in 10.0.0 is the ability to point to a WSDL, call it and get the TYPED objects back. So you don’t work with XML, but the actual types that are described in the WSDL. How can you try this new feature?

You use one of the Data Service controls in your mashup. For example select Insert Control -> DataService -> DataListPanel. As a service type you can choose between REST, MI (M3 API) and WS. Now if you want to use M3 APS I would recommend the MIPanels but the access to M3 API is available as a Data Service as well. Continue reading