文件名称:
ATG10 Help Documents
开发工具:
文件大小: 642kb
下载次数: 0
上传时间: 2019-03-24
详细说明:NULL
博文链接:https://caerun.iteye.com/blog/698065ATG Web services and lntegration Framework Guide
Contents
Part I: Creating and Using Web Services in the atG Platform
ATG Web servi
10
Creating Custom Web Services
Overview of ATG Web Services Support
13
JAX-RPC
14
Automatic Generation of web services
14
Session and Security Support
14
Limitations
14
Web service Creation Wizard
15
Using the wi
15
Naming Restrictions
17
Anatomy of a Web Service
17
Service Endpoint Interface and Implementation Class
18
WSDL DoCument
18
wer. xr
JAX-RPC Deployment Descriptor and Mapping Files
22
Runtime cl
22
USR 109 Compliant EAr file
22
Web service Securit
22
Components
23
Creating and Editing Security Configurations
24
Deploying Web services
24
Managing Web Services
25
Registering service
26
2 Creating JMS Web Services
27
Using the JMs Message web service Wizard
7
Structure of a jMs Web service
28
Patch Bay Configuration
28
3 Creating Repository Web Services
Using the repository web service wizard
Repository web service limitations
32
Modifying Repository Web Services
33
Repository Service Class
34
Content
ATG Web services and Integration Framework Guide
4 Repository to XML Data Binding
37
Mapping Files and XML Schemas
37
pping Fil
38
Managing Mapping Files for Repository Item Descriptors
41
XML Schemas
43
Managing Schemas and Mapping Files
44
Property ElementNameSeparator
45
Item References
45
Repository Operations
45
Getting Repository Items
46
Adding Repository Items
Updating Repository Items
49
Removing Repository Items
51
5 Accessing ATG Web Services from Java Clients
53
About AtG Web services
53
Securi
53
Transactions
54
Sharing sessions
54
Repositoryltems
54
Before You Begin Using a Java Client
55
Writing a Cookie Container Class
55
Calling atg web services from a Java Client
58
Creating a Call Using a Client Stub(Static)
58
Creating a Call Using the Dynamic Invocation Interface Dynamic)
60
Creating a Serializer and deserializer
61
Creating a Mapping File
62
Generating an XMl schema
62
6 Accessing ATG Web Services from net Clients
65
about web services in the atg platform
65
Security
65
Transactions
66
Session Sharing
66
Client stubs
66
Web services that Access repositoryltems
66
Before You Begin Using a NET Client
67
Installing ATGWS.dll
Calling atg web services from a nEt Client
68
Accessing an ATG Web Service
68
Accessing a Custom ATG Web Service
68
Sample Web service Calls
69
Using the Atg DotNet Webservice APl to Serialize and Deserialize Repositoryltems
70
Repositoryltem class
72
Property Class
RepositoryltemRef class
74
Contents
ATG Web services and lntegration Framework Guide
Complex Type cla
74
NoSuch Property Exception Class
75
Repository
r class
75
RepositoryltemSerializationException Class
76
Part II: Integration Framework
77
Integrators and Adapters
77
7 Using the Integration Repository
79
Architecture
79
Integration Approaches
Remote only
Remote then lo
Local then remote
Local Only
82
Setting Up an Integration Repository
82
Defining an Integration Repository
Integration Repository APIs
84
Integration Repository
Integration Repositoryltem Descriptor
8
57
Integration Repositoryltem
88
ChangedProperty Bean
88
atg repository. databinding Mapping Repositoryltem
88
Integration RepositoryView
88
Command operations
executeQuery
90
g
up
additem
removeltem
Mapp
Persistent Caching
9999999
3345
Cleaning up the persistent Cache
Configuration Examples
95
Configuring the remote-only model
95
Configuring the Remote-then -Local Model
Configuring the Local- then-Remote model
98
Integration Repository Definition File
98
integration- repository-template tag
header tag
9
item-descriptor tag
item-descriptor Child tags
100
integration-repository Document Type Definition
103
8 Remote procedure calls
107
RPC API Architecture
107
Content
ATG Web services and Integration Framework Guide
Command Interface
107
CommandHandler Interface
108
CommandResult Class
109
mplementing the RPC API
109
Exception hand line
Executing Commands in Pages
110
Part lll: atg Platform rest Web services
113
9 Using rest Web services
115
Starting the rest module
116
Http Requests
116
REST Web ServiceS UR
Client software
Http Methods
119
Handling PoST Requests as Other Methods
120
Logging In
120
Handling Session Identifiers
120
Logging In as an EXternal User
121
Logging In as an Internal User
122
Logging Out
124
Control parameters
125
Control parameter reference
125
Functional parameters
127
Positional parameters
127
URL Parameters
128
Message Body Parameters
128
Setting the Content-Type value
129
XML Parameter Markup
129
SON Parameter Markup
130
URL Query String Parameter Markup
130
Input Values
Primitive values in Input
131
Multiple values in Input
Http Status codes
133
Returned data
134
Choosing Output Markup
134
」 SON Output
135
XML Output
136
Identifying a Response
137
Multiple values in Output
137
Return depth
143
Errors and Exceptions
144
Problems Performing Operations
144
Problems Processing a request
145
Contents
ATG Web services and lntegration Framework Guide
10 Working with Component Properties
147
Getting Component Properties
147
Setting Component Properties
148
11 Invoking Component Methods
151
12 Invoking form handlers
153
Submitting Form values
154
Returning Form Handler Exceptions
155
Returning Form Handler Properties
155
Form value priority
156
13 Working with Repositories
157
Listing Repository Ite
Retrieving a repository Item
158
Retrieving a Specific Property
160
Performing rQL Queries
Adding a Repository Item
162
Transient Items
164
Setting Repository Item Properties
164
Deleting a Repository Item
166
4 Property Filtering
169
Default Filtering
169
Specifying the Filter Depth
172
Filtering for One request
172
Property Aliasing
174
15 Configuring the rest server
175
/atq/rest/Configuration
175
defaultoutput customizer
175
max allowed
175
/atg/rest/processor/BeanProcessor
175
return Form Handler Exceptions By Default
175
return FormHandler Properties By Default
176
/atg/rest/output/JSONOutputCustomizer
176
show RestPaths jSON
176
/atg/rest/output/XMLOutputCustomizer
176
show RestPaths XML
176
/atg/rest/processor/Repository Processor
177
epUsoninp
mUltivalues ByDefault
177
/atg/rest/processor/RestSecurityProcessor
177
allow Access ForUnsecuredRepository
177
VI
Content
ATG Web services and Integration Framework Guide
16 Security for REST Web Services
179
Security overview
Iging In and session IDS
Nucleus Component Granularity
179
Quick Setup for testing
180
Global security
180
Component Security
181
Property and method security
18
Repository Security
Securing Groups of Components
182
17 ATG Client Libraries
185
Java client lib
185
eating Requests
185
Creating a Rest Session object
188
Logging in and Logging Out with the Java Client Library
189
Accessing Data from the Ser
191
Creating a Raw REST Request
192
Handling results
g
193
Accessing Components with the Java Client Library
194
Calling methods with the java client libra
195
Accessing Repository Items with the Java Client Library
Action Script Client Library
200
atg rest. client. RestComponentHelper
200
atg rest. client. RestRepository Helper
201
Calling Methods with Action Script
ormatting inpu
ut with Action Script
204
ndex
206
Contents
ATG Web services and lntegration Framework Guide
Part I: Creating and Using Web services
in the atg platform
A common requirement for enterprise applications is the ability to share data and business logic with
other applications. For example, suppose you have an employee portal built with the atg platform, and
also a payroll system based on some other software package. When a new employee starts, or an existing
employee changes his or her marital status, you need to create or modify the employee's profile in both
systems. Ideally, you'd like the employee to be able to make the changes in one application and have
those changes automatically propagate to the other application
One way to address this issue is through Web Services, a widely supported standard for packaging
remote procedure calls in an XML-based structure. In the example above, you could create a Web Service
that automatically updates an employee s profile in the employee portal when the information in the
payroll system is modified
The Dynamo application Framework includes tools that allow you to create custom Web services that call
methods on Nucleus components. These custom Web Services can expose methods on existing ATG
Nucleus components, or on Nucleus components you write yourself. You can call these Web Services from
in external application client, such as the payroll system mentioned above.
The atG platform packages Web Services as: J2EE applications, in accordance with the JAX-RPC(SR 101)
and Implementing Enterprise Web Services (JSR 109)specifications. Note that this manual assumes that
you're familiar with these specifications, and with Web services in general. For more information about
these specifications, see the Java Community Process web site at
The chapters in this section discuss how to create Web services in the atg platform, and how to write
Java and net clients that call these services
Creating Custom Web Services
Creating JMS Web Services
Creating Repository Web Services
Repository to XML Data Binding
Accessing ATG Web Services from Java Clients
Accessing ATG Web Services from. NET Clients
Part I: Creating and Using Web Services in the atg platform
ATG Web services and Integration Framework Guide
ATG Web services
In addition to any Web Services you create, the atG platform includes a number of prepackaged Web
Services that you can call from Java and neT clients. These services are packaged in three separate
application modules. You can include any of these services in an assembled EAR file by including the
module that contains the desired services. For example, to include the prepackaged Commerce Web
Services, specify the
module when you assemble your application
The following table summarizes these Web Services
Application Module Web Application Web Services
Generic Repository
Services
For more information
about these web
Services, see the ATg
Repository Guide
User session
For more information
about these web
Services, see the atg
Personalization
Programming guide
Messaging
Part I: Creating and Using web services in the atg platform
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.