3. Web Services Definition
[A Web service is a software system designed to support
interoperable machine-to-machine interaction over a
network. It has an interface described in a machine-
processable format (specifically WSDL). Other systems
interact with the Web service in a manner prescribed by
its description using SOAP messages, typically conveyed
using HTTP with an XML serialization in conjunction
with other Web-related standards.]
(http://www.w3.org/TR/ws-arch/)
5. WSDL
• Web Services Description Language
• Interface
• Types
• Binding
• Address
(http://www.w3.org/TR/WSDL/)
6. SOAP
• Simple Object Access Protocol (<1.2)
• Service Oriented Architecture Protocol
• Lightweight protocol intended for
exchanging structured information in a
decentralized, distributed environment
• Current version 1.2 (2003)
(http://www.w3.org/TR/SOAP/)
7. REST
• Representational State Transfer
• Smaller footprint than SOAP
• Not supported by the WS in StreamServe
• With our archiveLink app it is (see this page)
(http://dret.net/netdret/docs/soa-rest-www2009/)
11. Web Services in Persuasion ≤ SP3
• strsJobService
• strsCorrespondenceManagementService
• strsRepositoryResourceService
• strsRepositoryDocumentService
[Strs Install]ApplicationsService Gateway1.3webservices
12. Web Services in Persuasion SP4
• (strsRepositoryDocumentService)*
• strsRepositoryArchiveService
* SP2/3 web services still possible to use in SP4 to allow for
easy upgrades from SP2/3 solutions to SP4
[Strs Install]ApplicationsService Gateway5.4.0webservices
13. Service Gateway
• Make sure you have one
• Make sure it is started
• Verify the port number (2718?)
• This will be the web services end point
14. Security
• From SP3 web services enabled by default
• Before SP3, enable in semper.xml
[Strs Install]ApplicationsService Gateway1.3binsemper.xml
• WS Security in the Application Domain Editor
• Block Service Gateway port in Firewall
• Not very well documented, ask Support
24. archiveLink
• App developed by PubliSyst (ask us for demo)
• Drop app file in Tomcat* and you’re done
• Abstracts web services to simple http(s) get/post
• Handles guid and types in background
• Return result as XML, Json or XHTML
• Control XHTML through CSS and XSLT
• Security through ACL and authentication
* Also working on GlassFish, JBoss and WebSphere