SlideShare a Scribd company logo
1 of 27
Download to read offline
Collector Web Services
                    presented by
                 Petrus Näslund
                  Solutions Architect
  at StreamServe Customer Conference, 2009-11-04
Schedule


•Web Services - intro
• StreamServe - config
• Examples and demo
• Questions
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/)
SOA


• Service Oriented Architecture
• Use Web Services to create new
  functionality
WSDL


    • Web Services Description Language
    • Interface
    • Types
    • Binding
    • Address

(http://www.w3.org/TR/WSDL/)
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/)
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/)
MTOM


    • Message Transmission Optimization Mechanism




(http://www.w3.org/TR/soap12-mtom/)
XML


    • Extensible Markup Language




(http://www.w3.org/TR/xml11/)
HTTP


• Hypertext Transfer Protocol
Web Services in Persuasion ≤ SP3


     • strsJobService
     • strsCorrespondenceManagementService
     • strsRepositoryResourceService
     • strsRepositoryDocumentService

[Strs Install]ApplicationsService Gateway1.3webservices
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
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
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
strsRepositoryDocumentService

 •   documentSearch

 •   getDocuments

 •   getDocumentDetails

 •   defineDocument

 •   defineDocumentMetaData

 •   createDocument

 •   createDocumentAnnotation

 •   setDocumentTransferReady

 •   deleteDocument
strsRepositoryDocumentService

 •   batchDeleteDocuments   •   getDocuments

 •   createAnnotation       •   getDocumentsB64

 •   createDocumentTypes    •   getDocumentsDetails

 •   deleteAnnotations      •   getInternalDocumentTypes

 •   deleteDocuments        •   getMetaDataForDocType

 •   documentSearch         •   reprocessDocument

 •   getAllDocumentTypes    •   updateDocumentMetaData

 •   getAnnotations

 •   getDocumentLxfData
Compression


• Not handled by Web Services
• Check header of byte stream for gzip
• Decompress if needed
SDK


• SDK on Download Center
• strsRepositoryDocumentService in SP3
• strsRepositoryArchiveService in SP4
• You get manual, wsdl (and xsd for SP4)
Frameworks


• .Net - WCF          (http://msdn.microsoft.com/en-us/netframework/aa663324.aspx)



• Java - Axis2       (http://ws.apache.org/axis2/)



• PHP - WS02           (http://wso2.org/projects/wsf/php)



• Ruby - WS02            (http://wso2.com/products/wsfruby/)



• C++ - gSOAP              (http://gsoap2.sourceforge.net/)



• SAP NetWeaver
  webservices.epx)
                                 (http://www.sap.com/platform/netweaver/standardssupport/




• ...
.Net


• Should use Visual Studio 2008
• 2005 might work, but must install WSE 3.0
  to get MTOM working correctly
Monitor


    • ServiceGateway log
    • Start ServiceGateway with verbose flag
       (logs all sql statements etc)
    • TCPMon (soap request and responses)


(https://tcpmon.dev.java.net/)
Real Life


• Example of a real implementation
• Siemens
Code


• .Net project
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
Future




SP5
Questions
Thank You!
    Petrus Näslund
  petrus@publisyst.se
   +46(0)707507829

More Related Content

What's hot

WSO2 Microservices Framework for Java - Product Overview
WSO2 Microservices Framework for Java - Product OverviewWSO2 Microservices Framework for Java - Product Overview
WSO2 Microservices Framework for Java - Product OverviewWSO2
 
Microservice - Up to 500k CCU
Microservice - Up to 500k CCUMicroservice - Up to 500k CCU
Microservice - Up to 500k CCUViet Tran
 
HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009jarfield
 
Shipping your logs to elk from mule app/cloudhub part 1
Shipping  your logs to elk from mule app/cloudhub   part 1Shipping  your logs to elk from mule app/cloudhub   part 1
Shipping your logs to elk from mule app/cloudhub part 1Alex Fernandez
 
Intro to FileCatalyst Direct v3.7
Intro to FileCatalyst Direct v3.7Intro to FileCatalyst Direct v3.7
Intro to FileCatalyst Direct v3.7FileCatalyst
 
Web server architecture
Web server architectureWeb server architecture
Web server architectureTewodros K
 
Fluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUFluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUN Masahiro
 
Introduction to WSO2 ESB
Introduction to WSO2 ESB Introduction to WSO2 ESB
Introduction to WSO2 ESB WSO2
 
Microsoft exchange
Microsoft exchangeMicrosoft exchange
Microsoft exchangesaeed ismail
 
Social network with microservices
Social network with microservicesSocial network with microservices
Social network with microservicesViet Tran
 
Redis vs Infinispan | DevNation Tech Talk
Redis vs Infinispan | DevNation Tech TalkRedis vs Infinispan | DevNation Tech Talk
Redis vs Infinispan | DevNation Tech TalkRed Hat Developers
 
Azure - Incoming network traffic
Azure - Incoming network trafficAzure - Incoming network traffic
Azure - Incoming network trafficAgnieszka Cent
 
[Mas 500] Various Topics
[Mas 500] Various Topics[Mas 500] Various Topics
[Mas 500] Various Topicsrahulbot
 
Understanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differencesUnderstanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differencesBhavendra Chavan
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...Kasun Gajasinghe
 
Basic terminologies for a developer
Basic terminologies for a developerBasic terminologies for a developer
Basic terminologies for a developerUC San Diego
 
Learn REST API at ASIT
Learn REST API at ASITLearn REST API at ASIT
Learn REST API at ASITASIT
 
Globus Connect Server 5.1 Webinar
Globus Connect Server 5.1 WebinarGlobus Connect Server 5.1 Webinar
Globus Connect Server 5.1 WebinarGlobus
 
Developing Revolutionary Web Applications using Comet and Ajax Push
Developing Revolutionary Web Applications using Comet and Ajax PushDeveloping Revolutionary Web Applications using Comet and Ajax Push
Developing Revolutionary Web Applications using Comet and Ajax PushDoris Chen
 

What's hot (20)

WSO2 Microservices Framework for Java - Product Overview
WSO2 Microservices Framework for Java - Product OverviewWSO2 Microservices Framework for Java - Product Overview
WSO2 Microservices Framework for Java - Product Overview
 
Microservice - Up to 500k CCU
Microservice - Up to 500k CCUMicroservice - Up to 500k CCU
Microservice - Up to 500k CCU
 
HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009HornetQ Presentation On JBoss World 2009
HornetQ Presentation On JBoss World 2009
 
Linq To XML Overview
Linq To XML OverviewLinq To XML Overview
Linq To XML Overview
 
Shipping your logs to elk from mule app/cloudhub part 1
Shipping  your logs to elk from mule app/cloudhub   part 1Shipping  your logs to elk from mule app/cloudhub   part 1
Shipping your logs to elk from mule app/cloudhub part 1
 
Intro to FileCatalyst Direct v3.7
Intro to FileCatalyst Direct v3.7Intro to FileCatalyst Direct v3.7
Intro to FileCatalyst Direct v3.7
 
Web server architecture
Web server architectureWeb server architecture
Web server architecture
 
Fluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EUFluentd Project Intro at Kubecon 2019 EU
Fluentd Project Intro at Kubecon 2019 EU
 
Introduction to WSO2 ESB
Introduction to WSO2 ESB Introduction to WSO2 ESB
Introduction to WSO2 ESB
 
Microsoft exchange
Microsoft exchangeMicrosoft exchange
Microsoft exchange
 
Social network with microservices
Social network with microservicesSocial network with microservices
Social network with microservices
 
Redis vs Infinispan | DevNation Tech Talk
Redis vs Infinispan | DevNation Tech TalkRedis vs Infinispan | DevNation Tech Talk
Redis vs Infinispan | DevNation Tech Talk
 
Azure - Incoming network traffic
Azure - Incoming network trafficAzure - Incoming network traffic
Azure - Incoming network traffic
 
[Mas 500] Various Topics
[Mas 500] Various Topics[Mas 500] Various Topics
[Mas 500] Various Topics
 
Understanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differencesUnderstanding SOAP and REST basics and differences
Understanding SOAP and REST basics and differences
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
 
Basic terminologies for a developer
Basic terminologies for a developerBasic terminologies for a developer
Basic terminologies for a developer
 
Learn REST API at ASIT
Learn REST API at ASITLearn REST API at ASIT
Learn REST API at ASIT
 
Globus Connect Server 5.1 Webinar
Globus Connect Server 5.1 WebinarGlobus Connect Server 5.1 Webinar
Globus Connect Server 5.1 Webinar
 
Developing Revolutionary Web Applications using Comet and Ajax Push
Developing Revolutionary Web Applications using Comet and Ajax PushDeveloping Revolutionary Web Applications using Comet and Ajax Push
Developing Revolutionary Web Applications using Comet and Ajax Push
 

Similar to Collector Web Services

Training Webinar: Enterprise application performance with server push technol...
Training Webinar: Enterprise application performance with server push technol...Training Webinar: Enterprise application performance with server push technol...
Training Webinar: Enterprise application performance with server push technol...OutSystems
 
ASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep DiveASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep DiveJon Galloway
 
Advanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa sAdvanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa sWSO2
 
Data power v7 update - Ravi Katikala
Data power v7 update - Ravi KatikalaData power v7 update - Ravi Katikala
Data power v7 update - Ravi Katikalafloridawusergroup
 
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
DEF CON 24 - workshop - Craig Young - brainwashing embedded systemsDEF CON 24 - workshop - Craig Young - brainwashing embedded systems
DEF CON 24 - workshop - Craig Young - brainwashing embedded systemsFelipe Prado
 
gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019James Newton-King
 
HTTP protocol and Streams Security
HTTP protocol and Streams SecurityHTTP protocol and Streams Security
HTTP protocol and Streams SecurityBlueinfy Solutions
 
What's New in .Net 4.5
What's New in .Net 4.5What's New in .Net 4.5
What's New in .Net 4.5Malam Team
 
Service fabric and azure service fabric mesh
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric meshMikkel Mørk Hegnhøj
 
An Azure of Things, a developer’s perspective
An Azure of Things, a developer’s perspectiveAn Azure of Things, a developer’s perspective
An Azure of Things, a developer’s perspectiveBizTalk360
 
Denodo Partner Connect: Technical Webinar - Ask Me Anything
Denodo Partner Connect: Technical Webinar - Ask Me AnythingDenodo Partner Connect: Technical Webinar - Ask Me Anything
Denodo Partner Connect: Technical Webinar - Ask Me AnythingDenodo
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt20521742
 
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationGroovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationStuart (Pid) Williams
 

Similar to Collector Web Services (20)

Windows 8 Metro apps and the outside world
Windows 8 Metro apps and the outside worldWindows 8 Metro apps and the outside world
Windows 8 Metro apps and the outside world
 
Windows 8 Apps and the Outside World
Windows 8 Apps and the Outside WorldWindows 8 Apps and the Outside World
Windows 8 Apps and the Outside World
 
Real time web apps
Real time web appsReal time web apps
Real time web apps
 
oracle service bus
oracle service busoracle service bus
oracle service bus
 
App fabric introduction
App fabric introductionApp fabric introduction
App fabric introduction
 
Training Webinar: Enterprise application performance with server push technol...
Training Webinar: Enterprise application performance with server push technol...Training Webinar: Enterprise application performance with server push technol...
Training Webinar: Enterprise application performance with server push technol...
 
ASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep DiveASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep Dive
 
Advanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa sAdvanced use cases and approaches with stratos paa s
Advanced use cases and approaches with stratos paa s
 
Data power v7 update - Ravi Katikala
Data power v7 update - Ravi KatikalaData power v7 update - Ravi Katikala
Data power v7 update - Ravi Katikala
 
Ntg web services
Ntg   web servicesNtg   web services
Ntg web services
 
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
DEF CON 24 - workshop - Craig Young - brainwashing embedded systemsDEF CON 24 - workshop - Craig Young - brainwashing embedded systems
DEF CON 24 - workshop - Craig Young - brainwashing embedded systems
 
gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019gRPC on .NET Core - NDC Sydney 2019
gRPC on .NET Core - NDC Sydney 2019
 
HTTP protocol and Streams Security
HTTP protocol and Streams SecurityHTTP protocol and Streams Security
HTTP protocol and Streams Security
 
What's New in .Net 4.5
What's New in .Net 4.5What's New in .Net 4.5
What's New in .Net 4.5
 
Service fabric and azure service fabric mesh
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric mesh
 
An Azure of Things, a developer’s perspective
An Azure of Things, a developer’s perspectiveAn Azure of Things, a developer’s perspective
An Azure of Things, a developer’s perspective
 
Denodo Partner Connect: Technical Webinar - Ask Me Anything
Denodo Partner Connect: Technical Webinar - Ask Me AnythingDenodo Partner Connect: Technical Webinar - Ask Me Anything
Denodo Partner Connect: Technical Webinar - Ask Me Anything
 
Azure platform for customers
Azure platform for customersAzure platform for customers
Azure platform for customers
 
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.pptweb-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
web-servers3952 (1)qwjelkjqwlkjkqlwe.ppt
 
Groovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentationGroovy & Grails eXchange 2012 vert.x presentation
Groovy & Grails eXchange 2012 vert.x presentation
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 

Collector Web Services

  • 1. Collector Web Services presented by Petrus Näslund Solutions Architect at StreamServe Customer Conference, 2009-11-04
  • 2. Schedule •Web Services - intro • StreamServe - config • Examples and demo • Questions
  • 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/)
  • 4. SOA • Service Oriented Architecture • Use Web Services to create new functionality
  • 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/)
  • 8. MTOM • Message Transmission Optimization Mechanism (http://www.w3.org/TR/soap12-mtom/)
  • 9. XML • Extensible Markup Language (http://www.w3.org/TR/xml11/)
  • 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
  • 15. strsRepositoryDocumentService • documentSearch • getDocuments • getDocumentDetails • defineDocument • defineDocumentMetaData • createDocument • createDocumentAnnotation • setDocumentTransferReady • deleteDocument
  • 16. strsRepositoryDocumentService • batchDeleteDocuments • getDocuments • createAnnotation • getDocumentsB64 • createDocumentTypes • getDocumentsDetails • deleteAnnotations • getInternalDocumentTypes • deleteDocuments • getMetaDataForDocType • documentSearch • reprocessDocument • getAllDocumentTypes • updateDocumentMetaData • getAnnotations • getDocumentLxfData
  • 17. Compression • Not handled by Web Services • Check header of byte stream for gzip • Decompress if needed
  • 18. SDK • SDK on Download Center • strsRepositoryDocumentService in SP3 • strsRepositoryArchiveService in SP4 • You get manual, wsdl (and xsd for SP4)
  • 19. Frameworks • .Net - WCF (http://msdn.microsoft.com/en-us/netframework/aa663324.aspx) • Java - Axis2 (http://ws.apache.org/axis2/) • PHP - WS02 (http://wso2.org/projects/wsf/php) • Ruby - WS02 (http://wso2.com/products/wsfruby/) • C++ - gSOAP (http://gsoap2.sourceforge.net/) • SAP NetWeaver webservices.epx) (http://www.sap.com/platform/netweaver/standardssupport/ • ...
  • 20. .Net • Should use Visual Studio 2008 • 2005 might work, but must install WSE 3.0 to get MTOM working correctly
  • 21. Monitor • ServiceGateway log • Start ServiceGateway with verbose flag (logs all sql statements etc) • TCPMon (soap request and responses) (https://tcpmon.dev.java.net/)
  • 22. Real Life • Example of a real implementation • Siemens
  • 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
  • 27. Thank You! Petrus Näslund petrus@publisyst.se +46(0)707507829