+ All Categories
Home > Documents > InfoPath and Web Services

InfoPath and Web Services

Date post: 18-Jan-2016
Category:
Upload: touf35
View: 14 times
Download: 0 times
Share this document with a friend
Popular Tags:
32
Lori Gowin
Transcript
Page 1: InfoPath and Web Services

Lori Gowin

Page 2: InfoPath and Web Services

Lori Gowin

SharePoint Administrator

My blog: http://pointgowin.com/seethepoint

Contact Information

[email protected]

■ http://www.twitter.com/LoriGowin

(It’s my first time, be gentle!)

Page 3: InfoPath and Web Services
Page 4: InfoPath and Web Services
Page 5: InfoPath and Web Services

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.

Web Services Glossary - http://www.w3.org/TR/ws-gloss

Page 6: InfoPath and Web Services

A web service is software that allows a

machine to share business logic, data, or

processes with other machines or software

across a network.

Page 7: InfoPath and Web Services
Page 8: InfoPath and Web Services

Methods are the types of actions that

the web service can perform.

Page 9: InfoPath and Web Services

When connecting to a web service using

InfoPath, methods will be labeled

operations.

Page 10: InfoPath and Web Services
Page 11: InfoPath and Web Services

Web Service Description Path

Alerts Show and delete alerts /_vti_bin/alerts.asmx

Authentication Used for forms-based authentication /_vti_bin/authentication.asmx

Copy Copies files within and between SharePoint sites /_vti_bin/copy.asmx

Document Workspace

Web Service

Manage Document Workspace and data within /_vti_bin/dws.asmx

Forms Shows the forms associated with a list and data about

them

/_vti_bin/forms.asmx

Imaging Work with picture libraries /_vti_bin/imaging.asmx

List Data Pull data from within SharePoint lists /_vti_bin/dspsts.asmx

Lists Work with lists and list data /_vti_bin/lists.asmx

Meetings Create and manage meeting workspaces /_vti_bin/meetings.asmx

People Resolve and find users /_vti_bin/people.asmx

Permissions Work with list and site permissions /_vti_bin/permissions.asmx

Directory Management Manage AD distribution groups and members /_vti_bin/sharepointemailws.

asmx

Site Data Show metadata or list data from sites and lists /_vti_bin/sitedata.asmx

Sites Returns information about site collections or site

templates

/_vti_bin/sites.asmx

Search Allows you to access search results outside of SharePoint /_vti_bin/spsearch.asmx

Users and Groups Work with Users and Groups /_vti_bin/usergroup.asmx

Versions Work with file versions /_vti_bin/versions.asmx

Views Manage list views /_vti_bin/views.asmx

Web Part Pages Work with web part pages /_vti_bin/webpartpages.asmx

Webs Work with sites and subsites /_vti_bin/webs.asmx

http://msdn.microsoft.com/en-us/library/cc752745.aspx

Page 12: InfoPath and Web Services

Web Service Description Path

Area Area interface for remote clients /_vti_bin/areaservice.asmx

Official File Sending files and file properties to records

repository

/_vti_bin/officialfile.asmx

Published Links Returns list of published links /_vti_bin/publishedlinksservice.asmx

MOSS Search Allows access to the Enterprise Search /_vti_bin/search.asmx

User Profile

Change

Provides remote ability to create or

modify user profiles

/_vti_bin/userprofilechangeservice.asmx

User Profile

Service

Manage user profiles /_vti_bin/userprofileservice.asmx

Workflow Allows starting of workflows and

retrieving information about workflows

/_vti_bin/workflow.asmx

http://msdn.microsoft.com/en-us/library/cc824213.aspx

Page 13: InfoPath and Web Services

Check IIS on the SharePoint Server.

Page 14: InfoPath and Web Services

Web Services allow other machines or

applications to utilize the data and functions

from the original application.

Both WSS 3.0 and MOSS 2007 have web

services available that can be utilized by

applications other than SharePoint.

Methods or operations are the actions that the

web service can perform.

Page 15: InfoPath and Web Services
Page 16: InfoPath and Web Services
Page 17: InfoPath and Web Services

Demo

1. Open InfoPath

2. Click “Design a Form Template”

3. Ensure “Enable browser-compatible features only” is

selected

4. Click on Web Service

5. Click OK

6. Specify how the form will work with the web service

7. Enter the location of the web service

8. Select the Operation

9. Enter Parameters if needed

10. Complete the rest of the connection process.

Page 18: InfoPath and Web Services

Demo

1. Open InfoPath

2. Click “Design a Form Template”

3. Ensure “Enable browser-compatible features only” is

selected

4. Click on Blank Form

5. Click OK

6. Click Tools>Data Connections

7. Click Add>Create a new connection to…

8. Select Submit or Receive as appropriate

9. Enter the Location of the web service

10.Select the Operation

11.Enter Parameters if needed

12. Complete the rest of the connection process.

Page 19: InfoPath and Web Services
Page 20: InfoPath and Web Services

Connections in a Universal Data Connection Library will work in both the InfoPath client and InfoPath Forms Services.

Forms can be published to multiple locations and have different data connection settings for each server without modifying the data connection information in the form template.

Forms can access data in different domains.

■ The SharePoint Administrator must allow this from Central Administration.

Changes to the connection can be made without making changes to the form template.

Page 21: InfoPath and Web Services

Site Collection

■ Can be used on forms published within the Site

Collection

■ These must be approved before other users will be

able to utilize the connection in the form.

Central Administration

■ Can be used in forms across the farm.

■ SharePoint Administrator manages.

■ Provides added security.

Page 22: InfoPath and Web Services
Page 23: InfoPath and Web Services

Demo

1. Drag and drop the data source to the form

2. Preview the form

3. See what happens

Page 24: InfoPath and Web Services

Lists (lists.asmx)

Meetings (meetings.asmx)

Site Data (sitedata.asmx)

Official File (officialfile.asmx)

User Profile Service (userprofileservice.asmx)

Page 25: InfoPath and Web Services

There are two ways to connect to web services

through InfoPath, create the form based on the

web service or create it as a secondary connection

from a form.

Drag and drop the data source into the form to see

what you can find. Don’t be afraid to experiment!

Publish the connection to a Data Source Library to

allow reuse and cross-domain connections.

Page 26: InfoPath and Web Services
Page 27: InfoPath and Web Services
Page 29: InfoPath and Web Services

Allows approval process for site creation

(governance).

Create out of the box sites according to user

request.

Page 30: InfoPath and Web Services

Free users from having to type in information

repeatedly when filling out forms.

Allow lookup of other users as well.

http://seethepoint.spaces.live.com/blog/cns!CDB633EE9271C6FA!142.entry

http://seethepoint.spaces.live.com/blog/cns!CDB633EE9271C6FA!163.entry

Page 31: InfoPath and Web Services

Add attachments to customized lists.

Auto-populate user information.

Create sites from a form.

Page 32: InfoPath and Web Services

Recommended