Creating Domino7 Web Services - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

Creating Domino7 Web Services

Description:

What exactly is the R7 Web Service. Using Domino Designer and LotusScript to ... Sooooo easy. Web Service Reference Wizard. Use the Reference in Your Code ... – PowerPoint PPT presentation

Number of Views:90
Avg rating:3.0/5.0
Slides: 25
Provided by: garydev
Category:

less

Transcript and Presenter's Notes

Title: Creating Domino7 Web Services


1
Creating Domino7 Web Services
  • Gary Devendorf
  • Microsoft Technical Evangelist

2
Agenda
  • What exactly is the R7 Web Service
  • Using Domino Designer and LotusScript to create a
    Web Service
  • WSDL for your Web Service
  • Calling a Web Service from Visual Studio.NET

3
R7 Web Services
  • Best new developer feature
  • New design element for hosting Domino web
    services
  • Works like a Web Agent
  • No new way of calling web services

4
R7 Web ServiceDemo (.Net client)
5
Creating a R7 Web Service
  • Use Domino Designer
  • Create Web Service
  • Like creating an Agent
  • Set properties in properties box
  • Create LotusScript or Java class
  • Generate WSDL
  • Run Server
  • Write WS client

6
New Design Element
7
Domino Designer 7
8
Web Service Property Box
9
LotusScript Class
10
WSDL Buttons
Note ImportWSDL will create a skeleton web
service
11
WSDL Generated by Domino Designer
12
Deploying R7 Web Services
  • Deploy your Database containing your web service
    to a server
  • Access the web service via URLs

13
R7 Web Services URLs
  • Address to invoke Web Service
  • http//MyServer/MyDatabase.nsf/MyWebService?OpenWe
    bService
  • Address of WSDL file
  • http//MyServer/MyDatabase.nsf/MyWebService?WSDL

14
Consuming a WS with .Net Products
Web Service Client VB.Net, C, VS.Net, Smart
Phone, MS Office, SharePoint, CMS, IM,

HTTP
SOAP
15
Calling Your New Web Service from Visual
Studio.NET
  • You will need the URL for the WSDL file
  • http//MyServer/MyDatabase.nsf/MyWebService?WSDL
  • Add a Web Reference
  • WSDL wizard generates tons of code
  • Create an Object based on the web reference
  • Call the methods and properties
  • Sooooo easy

16
Web Service Reference Wizard
17
Use the Reference in Your Code
18
Calling a Web Service from .Net
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Handles Button1.Click Dim ws As New
localhost.WebSericeOneService Dim
mystring As String ws.OPERATION1(TextBox1.Text,
TextBox2.Text) TextBox3.Text mystring
End Sub
19
Demo Client
20
Why Use Domino Web Services?
  • Expose existing Notes/Domino applications to
    other programs (clients)
  • Reuse exiting Applications
  • Easier to create client (Infopath)
  • SOA
  • Looks good on your resume

21
VS.Net is Great at working with Web Services
  • Wizards and examples make it easy
  • 2 lines of code
  • Creates WSDL automatically

22
Security
  • Same as Web Agents

23
Questions
24
Resources
  • Updated Demos are found at
  • http//www.msdomino.net
  • More about .NET
  • http//www.microsoft.com/net/basics
  • Building Web services with Domino 6
  • https//www6.software.ibm.com/reg/devworks/dw-lsdo
    m6ws-i?S_TACT1234S_CMPabcd
  • IBM Red Paper Lotus Domino and .NET Coexistence
  • http//publib-b.boulder.ibm.com/Redbooks.nsf/Redpa
    perAbstracts/redp3868.html
  • Turn your Lotus applications into Web services
  • https//www6.software.ibm.com/reg/devworks/dw-lsap
    pws-i?S_TACT1234S_CMPabcd
  • Address to invoke Domino 7 Web Service
  • http//MyServer/MyDatabase.nsf/MyWebService?OpenWe
    bService
  • Address of Domino 7 WSDL file
  • http//MyServer/MyDatabase.nsf/MyWebService?WSDL
  • Lotus Domino and .NET Coexistence
    http//publib-b.boulder.ibm.com/Redbooks.nsf/Redbo
    okAbstracts/redp3868.html?Open
  • COM Together - with Domino http//www.redbooks.ibm
    .com/redbooks.nsf/0/18cb3513e9d8b9a885256847005001
    8b?OpenDocument
  • IBM Redbook XML Powered by Domino How to use XML
    with Lotus Domino
  • http//www.redbooks.ibm.com/redbooks.nsf/0/7fccf93
    55f830c15852569510043ef2a?OpenDocument
  • Garys Blog
Write a Comment
User Comments (0)
About PowerShow.com