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
 
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
 
The Microsoft Cloud Partner
The Microsoft Cloud PartnerThe Microsoft Cloud Partner
The Microsoft Cloud PartnerNeethu Kuruvilla
 

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
 
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
 
The Microsoft Cloud Partner
The Microsoft Cloud PartnerThe Microsoft Cloud Partner
The Microsoft Cloud Partner
 

Recently uploaded

Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 

Recently uploaded (20)

Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 

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