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

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
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
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
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
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
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
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
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
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
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
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
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
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
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
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.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