IBM WebSphere Adapters - Manual

IBM WebSphere Adapters

IBM WebSphere Adapters – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
133 Page 133
134 Page 134
135 Page 135
136 Page 136
137 Page 137
138 Page 138
139 Page 139
140 Page 140
141 Page 141
142 Page 142
143 Page 143
144 Page 144
145 Page 145
146 Page 146
147 Page 147
148 Page 148
149 Page 149
150 Page 150
151 Page 151
152 Page 152
153 Page 153
154 Page 154
155 Page 155
156 Page 156
157 Page 157
158 Page 158
159 Page 159
160 Page 160
161 Page 161
162 Page 162
163 Page 163
164 Page 164
165 Page 165
166 Page 166
167 Page 167
168 Page 168
169 Page 169
170 Page 170
171 Page 171
172 Page 172
173 Page 173
174 Page 174
175 Page 175
176 Page 176
177 Page 177
178 Page 178
179 Page 179
180 Page 180
181 Page 181
182 Page 182
183 Page 183
184 Page 184
185 Page 185
186 Page 186
187 Page 187
188 Page 188
189 Page 189
190 Page 190
191 Page 191
192 Page 192
193 Page 193
194 Page 194
195 Page 195
196 Page 196
197 Page 197
198 Page 198
199 Page 199
200 Page 200
201 Page 201
202 Page 202
203 Page 203
204 Page 204
205 Page 205
206 Page 206
207 Page 207
208 Page 208
209 Page 209
210 Page 210
211 Page 211
212 Page 212
213 Page 213
214 Page 214
215 Page 215
216 Page 216
217 Page 217
218 Page 218
219 Page 219
220 Page 220
221 Page 221
222 Page 222
223 Page 223
224 Page 224
225 Page 225
226 Page 226
Page: / 226

Table of Contents:

  • Page 3 – WebSphere; Adapters; Version 6 Release 2
  • Page 5 – Contents; iii
  • Page 6 – iv
  • Page 7 – WebSphere Adapter Toolkit; Using the WebSphere Adapter Toolkit
  • Page 8 – The purpose of this documentation; IBM WebSphere Adapter Toolkit technology overviews; WebSphere Process Server and
  • Page 9 – WebSphere Process Server; Business; J2E component
  • Page 10 – Architectural overview; InboundListener; Runtime architecture component model
  • Page 11 – JCA Connector
  • Page 13 – Metadata; How metadata is used at build time and run time; application-specific information; Using Enterprise Metadata Discovery to build services
  • Page 14 – build; IBM WebSphere Adapter Toolkit overview; pluggability; An adapter development wizard and editor
  • Page 15 – The New Connector Project Wizard; - Prompts you to specify information; Resource Adapter Deployment Descriptor Editor; - A common set of services for all IBM WebSphere; Samples; - To assist you in creating custom WebSphere resource adapters.; New Connector Project wizard overview
  • Page 16 – Generate a resource adapter deployment descriptor; Resource Adapter Deployment Descriptor Editor overview; without; Automatically generate Java bean properties; in the generated source code that; Validate the deployment descriptor; against the against the JCA 1.5 deployment; Adapter Foundation Classes overview
  • Page 17 – IBM WebSphere Adapter Toolkit tasks; IBM WebSphere Adapter Toolkit installation requirements; Operating system requirements
  • Page 18 – Hardware requirements; Operating system; Software requirements; Samples overview; There are two samples as follows:
  • Page 19 – Import the samples code; Make sure you have installed WebSphere Adapter Toolkit.
  • Page 20 – WebSphere Process Server v6.2
  • Page 21 – Run external service discovery for outbound processing
  • Page 23 – From the Processing Direction window, select; Outbound; and click; From the Discovery Configuration window, click; Next; properties are required.; Next
  • Page 24 – From the Configure Composite Properties window, select
  • Page 26 – Run external service discovery for inbound processing
  • Page 28 – Inbound
  • Page 29 – From the Configure Composite Properties window select
  • Page 30 – Modify the module
  • Page 31 – Test the sample
  • Page 33 – Test the sample using the universal test client
  • Page 34 – On left side select; EJBSessionBean1; Customer; Enter input customer parameters; Troubleshooting the samples; Errors; The following errors may result when working with the sample code:; twine; Known issues; Using the New Connector Project wizard
  • Page 35 – Launching the New Connector Project wizard; Workspace Launcher dialog
  • Page 36 – Select a wizard dialog; Java EE; Connector Project dialog
  • Page 37 – Specify project properties
  • Page 38 – Specify project facets; project facets; Configurations; Specify connector project module settings
  • Page 39 – Click; to advance to the Resource adapter properties page.; Specify resource adapter properties
  • Page 40 – Specify generation options
  • Page 41 – Generation Options dialog; Generating an IBM WebSphere Resource Adapter; Outbound adapter classes and associated properties
  • Page 42 – Local transaction support; LocalTransaction; XA transaction support; and
  • Page 43 – Inbound adapter classes and associated methods
  • Page 44 – Data Binding classes; There are no properties associated with data binding classes.
  • Page 45 – Enterprise Metadata Discovery classes
  • Page 46 – StringCaseChanger; Generating outbound adapter classes; From the; Available components; portion of the Generation Options window,; Generate Outbound Adapter Classes
  • Page 49 – Generating inbound adapter classes
  • Page 50 – Generating inbound connection pooling support:; ActivationSpecWithXid; Generate Inbound Adapter classes
  • Page 51 – Finish; Now, you can generate inbound event polling support.; Generating inbound event polling support:; Click the; Generate Inbound Adapter; check box and then click on the; Event; check box in the right pane.
  • Page 52 – When you are finished choosing generation options, click; Now, you can generate inbound callback event classes.; Generating inbound callback event support:; Callback Event Support
  • Page 53 – Now you can generate enterprise metadata discovery classes.; Generating enterprise metadata discovery classes; Generate Enterprise Metadata Discovery classes
  • Page 54 – Generate data binding classes.; Generating data binding classes; Generate Data Binding classes for SCA
  • Page 55 – Generating a JCA resource adapter; Outbound JCA resource adapter classes
  • Page 58 – Generating outbound JCA adapter classes
  • Page 59 – Generate inbound JCA adapter classes.; Generating inbound JCA adapter classes
  • Page 60 – Generate JCA enterprise metadata discovery classes.; Generating JCA enterprise metadata discovery classes; adds a prefix to each. The prefix is the; Class Name Prefix; that you entered when
  • Page 61 – Generated code and deployment descriptor
  • Page 62 – Using the Resource Adapter Deployment Descriptor editor; Resource Adapter Deployment Descriptor editor; Problems; view; Displaying the deployment descriptor
  • Page 63 – Deployment descriptor Overview pane; Open With; from the context menu.
  • Page 64 – Using the Overview pane; Overview pane
  • Page 65 – Add component dialog; Icons; Using the Resource Adapter pane; ResourceAdapter
  • Page 66 – Resource adapter pane; General Information
  • Page 67 – Add Config property dialog; Admin Objects; Using the Outbound Adapter pane; OutboundResourceAdapter
  • Page 68 – Outbound resource adapter pane
  • Page 69 – Add Connection Definition dialog; Connection Definition
  • Page 70 – Authentication Mechanisms; Using the Inbound Adapter pane; InboundResourceAdapter; Inbound Resource Adapter pane; Message Listeners
  • Page 71 – button under the list of Message Listeners on the left side; Add; buttons on the right side of the editor.
  • Page 72 – Add Required Config Property dialog; Modifying deployment descriptor properties; that you must resolve.
  • Page 73 – Generated bean properties; Class code affected by configuration property change; Configuration property; Editing deployment descriptor source; You cannot open the file if it is already open in the editor.; Deployment Descriptor: Connector; Right click and choose; The XML Source Page Editor displays the ra.xml file.
  • Page 74 – When using the Resource Adapter Deployment Descriptor editor; Implementing code from the IBM WebSphere Adapter Toolkit
  • Page 75 – Data model; business object
  • Page 76 – Relationship of business objects to service data objects; Using a business graph optional. Use it to provide a; After-images versus deltas
  • Page 77 – Verbs; A verb is a property of a business graph.; Verbs versus operations; business graph, and the function used is; Business object standards; Business object naming:
  • Page 78 – Inbound Operation Signatures
  • Page 79 – Standard processing logic:
  • Page 80 – WebSphere business objects support an isSet property.; isSet property; Strict interpretation of requests:; Processing overview
  • Page 81 – DuplicateRecordException
  • Page 83 – RecordNotFoundException
  • Page 85 – RetrieveAll; Inbound event notification
  • Page 87 – WBIActivationSpecForXid; Application Requirements
  • Page 88 – Implementing an event store in the EIS; There are no; Field; MyAdapterNam
  • Page 89 – MyAdapterName; Object Key
  • Page 90 – Status; EventStore.updateEventStatus; Event Status; XID; Event object fields
  • Page 91 – Steps Involved
  • Page 92 – Set the event status to New.; Implementing event retrieval in the adapter; Implementing an EventStore Interface; EventStore methods; Method
  • Page 93 – Transaction Support Methods
  • Page 94 – EventStore transaction control methods; Possible event store implementations; Implementing the event store with a database:; determining whether application tables have changed.; Retrieving events; Event store implementation
  • Page 95 – StructuredDataFunctionSelector; Error handling for events:; Inbound callback event notification; callback
  • Page 96 – Request and response callback events; EIS; One way callback events; One way callback events are
  • Page 97 – Callback event sender
  • Page 98 – Callback event sender constructors:; Callback event processing for basic delivery
  • Page 102 – Callback event processing for event recovery
  • Page 103 – Outbound support; WBIRecord
  • Page 105 – Implementing outbound support; WBIManagedConnectionFactory:
  • Page 106 – WBIManagedConnection:; super
  • Page 107 – Best practices; this method checks the state of the; WBIConnectionFactory:; WBIConnectionFactory; WBIConnection implements the; Subclass methods to implement
  • Page 109 – WBIConnectionRequestInfo:; WBIConnectionRequestInfo; Configuration properties; WBIConnectionRequestInfo provides
  • Page 110 – properties should not change the configuration of the EIS.; Implementing transaction support; supports transactions.
  • Page 111 – Using command patterns
  • Page 112 – Snapshot objects
  • Page 113 – Command Manager Retrieve scenario
  • Page 114 – Command Manager Delete; Delta objects; Delta processing is only relevant for service data objects (SDO).
  • Page 116 – Command Manager Create
  • Page 118 – Implementing Command Manager:
  • Page 120 – Notice that you need not
  • Page 121 – Data and metadata; XSD and JavaBean structure relationship to DESPI; JavaBeanRecord Structure:; Type mappings; Header
  • Page 122 – an element declaration with the nillable attribute set to; Reserved keys in the propertyAnnotations map:
  • Page 125 – The Metadata API; Application Specific Information
  • Page 126 – Factory classes; Gets a Type object from existing metadata.; Interfaces
  • Page 128 – Enterprise metadata implementation; Selection of artifact types; Runtimes
  • Page 129 – New property types supported from WebSphere Adapter Toolkit V6.1:
  • Page 130 – Types of enterprise metadata; System Capabilities; There can be two kinds of interaction for each interaction style.
  • Page 132 – Service metadata; Enterprise metadata discovery architecture; Runtime
  • Page 133 – Discovery; that is being browsed.; Service Generation; Metadata discovery; WBIAdapterTypeImpl
  • Page 134 – Metadata discovery connection type; OutboundConnectionType
  • Page 135 – InboundConnectionType; - Represents resource adapter and Activation; Discovering System Capabilities
  • Page 136 – MetadataConnection
  • Page 137 – Enterprise metadata discovery description APIs; Service descriptions:
  • Page 138 – ServiceDescription; Inbound service descriptions; Function selector; FunctionSelector; Outbound service descriptions
  • Page 140 – Outbound Function Description; DataDescription; DataDescription; InboundServiceDescription; OutboundServiceDescription
  • Page 141 – Business object structures for enterprise metadata discovery; BusinessObjectAttribute:
  • Page 144 – Enterprise metadata discovery implementation samples; Property group sample:
  • Page 146 – getAdapterTypeSummaries; createServiceDescription
  • Page 147 – setToolContext; LogUtils; WBIAdapterTypeImpl sample:; Constructor
  • Page 149 – createOutboundConnectionConfiguration; WBIInboundConnectionTypeImpl samples:
  • Page 150 – createUnifiedProperties
  • Page 151 – createResourceAdapterProperties
  • Page 152 – WBIMetadataTreeImpl samples:
  • Page 153 – createMetadataSelection; MetadataSelection; createFilterProperties
  • Page 154 – getMetadataObject
  • Page 155 – WBIMetadataSelectionImpl samples:
  • Page 156 – createSelectionProperties; WBIMetadataImportConfigurationImpl samples:
  • Page 157 – getOutboundConnectionType; getInboundConnectionType; WBIDataDescriptionImpl samples:
  • Page 158 – getMetadataForBusinessObject; WBIMetadata
  • Page 159 – isContainer; getType; ImportedNameSpace
  • Page 160 – getNameSpaces; NameSpaces; getASISchemaName; getMaxLength
  • Page 161 – getChildList; Iterator; WBIInboundServiceDescriptionImpl samples:; WBIInboundServiceDescriptionImpl; setFunctionDescriptions
  • Page 162 – WBIOutboundServiceDescriptionImpl samples:; WBIOutboundServiceDescriptionImpl
  • Page 164 – Implementing a data handler; encoding; Implementing a function selector
  • Page 165 – Implementing a data binding; expectedType; Binding context and configuration
  • Page 166 – Properties; Extending the adapter foundation classes to build services
  • Page 167 – WBIMetadataType
  • Page 168 – Qname; Structured record implementation
  • Page 169 – Initialize input method; public void; Purpose of the initialize input method; initializeInput; Sample code; intitializeInput; Initialize output method; Purpose of the initialize output method; intitializeOutput
  • Page 170 – Set managed connection method; Purpose of the set managed connection method; Get next method; get; Purpose of the getNext method
  • Page 171 – retriveAll; Clone method; Sample; Clone; Close method; Purpose of the close method; Close; Extract method; public void extract(String xpath) throws DESPIException; Purpose
  • Page 172 – Data binding implementation; Adapters should implement the following interfaces:; setDataObject
  • Page 173 – getRecord; setRecord; DataBinding generator; DataBindingGenerator; Bidirectional language support
  • Page 174 – Problem determination; You can implement messages to accompany a range events.; Fault handling support; Fault Exception in AFC; WBIFaultSelectorImpl
  • Page 175 – How to support fault handling:; SAP IDoc record not found; Modifying getXMLListFunctions method
  • Page 177 – Modifying getBFFunctions method; Modifying getBFFunctions involves the following changes:
  • Page 178 – Configuration for fault handling:; examples only; Fault Name
  • Page 179 – Defining custom faults:; You can define custom faults for fault handling.
  • Page 180 – Logging and tracing messages
  • Page 181 – Support for protecting sensitive user data in log and trace files; confidential; Inserting log and trace messages
  • Page 182 – In an outbound or inbound scenario, to get the
  • Page 183 – Level; Set the trace level on the package that you want to trace to
  • Page 184 – NNNNNmmmmS; Explanation
  • Page 185 – Log Levels and indicators; Writing a log message
  • Page 186 – Source
  • Page 187 – Monitoring and measuring performance; EventSourceContext
  • Page 188 – EventSource; monitorable; EventPoint
  • Page 190 – Example of how to log an event; The following example describes how to log an event named
  • Page 191 – Tivoli Performance Viewer; Extending PMI on WebSphere Process Server:
  • Page 192 – Define a unique PMI event point name.
  • Page 193 – Extending PMI on WebSphere Application Server:; Invoke PMI; The Open Group
  • Page 194 – ARM interface; InteractionMetrics; Tracking interaction metrics; ConnectionEventListener
  • Page 195 – Application response measurement (ARM) documentation; instrumented
  • Page 196 – FFDC processing overview; FFDC programming examples; FFDCSupport
  • Page 199 – Exception messages; Changing the Java logging API settings; Validating the code
  • Page 200 – Displaying the dependent jars; Testing the adapter in unmanaged mode
  • Page 201 – JUnit: an open source framework for unit testing; test; Developing JUnit tests; ManagedConnectionFactory
  • Page 202 – Test
  • Page 203 – MockEndpointFactory; Build and execute TwineBall JUnit; Run As; Testing the adapter in managed mode
  • Page 204 – Installing the test client; CompTestController.jar; Testing outbound functionality
  • Page 205 – Test module configuration; Saving business object data
  • Page 206 – Adding a value to the Datapool; Using an execution trace
  • Page 207 – OK; Right-click the component and select; Generate Implementation; This creates a Java component that simulates an end point.
  • Page 208 – Selecting the Java package
  • Page 210 – to generate the code. Once the EJB is generated you can send data; Add and Remove projects
  • Page 211 – Start UTC using the; Run universal test client
  • Page 212 – Creating and exporting a resource adapter; Business Integration
  • Page 214 – Data exchange service provider interface (DESPI); cursors; Deployment descriptor
  • Page 215 – A module that extends the functionality of the Eclipse Platform
  • Page 217 – Notices
  • Page 219 – or
Loading the manual

WebSphere

®

Adapters

WebSphere Adapter Toolkit User Guide
Version 6 Release 2

Version 6 Release 2

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - WebSphere; Adapters; Version 6 Release 2

WebSphere ® Adapters WebSphere Adapter Toolkit User GuideVersion 6 Release 2 Version 6 Release 2

Page 5 - Contents; iii

Contents WebSphere Adapter Toolkit . . . . . . 1 IBM WebSphere Adapter Toolkit technologyoverviews . . . . . . . . . . . . . . . 2 IBM WebSphere Adapters . . . . . . . . . 2 Architectural overview . . . . . . . . . . 4 How metadata is used at build time and run time 7Using Enterprise Metadata Discov...

Page 6 - iv

iv WebSphere Adapters: WebSphere Adapter Toolkit User Guide

Other IBM Models

All IBM Other