Table
13.
Verbs
supported
by
business
services
(continued)
Verb
Description
QueryByExample
(or
Query
in
the
case
of
EAI
Siebel
Adapter)
Queries
for
objects
based
on
the
example
object
provided.
This
operation
can
be
treated
as
a
Retrieve
by
content
operations.
QueryById
If
the
object
with
the
keys
exists,
it
is
queried
or
retrieved.
These
operations
can
be
treated
as
Retrieve
operations.
Update
If
an
object
with
the
same
keys
as
the
input
object
exists,
merge
the
specified
input
object
with
the
existing
object.
Otherwise,
error
out.
Synchronize
If
an
object
with
the
same
keys
as
the
input
object
exists,
make
it
look
like
the
input
object.
Otherwise,
create
a
new
object
in
Siebel
based
on
the
input
object.
The
following
example
describes
a
process
flow
for
using
any
of
the
verbs
in
Table
13
on
page
75.
Verbs
of
the
IBM
business
object
represent
the
Methods
of
the
business
service.
Verb
Processing:
v
Get
the
business
service
name
v
construct
the
property
set
based
on
the
input
v
invoke
the
verb
on
the
specified
business
service
passing
in
the
input
property
set,
then
v
construct
the
business
object
from
the
output
property
set
Events
detection
with
business
services
The
scripts
for
triggers
remain
the
same
when
using
business
services,
except
that
the
name
of
the
business
object
and
the
verb
change.
The
triggers
should
be
written
on
the
business
object
on
which
the
integration
object
is
based.
The
trigger
should
populate
the
new
verb
and
the
corresponding
business
object
to
the
integration
object
when
creating
an
event.
Because
the
adapter
overrides
the
default
getBO()
method,
the
verb
RetrieveByContent
must
be
set
before
calling
the
doVerbFor
method.
In
this
scenario,
if
the
business
object
is
an
integration
object,
the
verb
QueryByExample
will
be
set,
whereas
if
the
business
object
is
an
application-specific
interface,
the
verb
Query
will
be
set.
The
corresponding
method
for
QueryByExample
(which
is
equivalent
to
RetrieveByContent
in
the
generic
business
service,
EAI
Siebel
Adapter),
is
Query.
Events
detection
with
business
services
only
supports
EAI
Siebel
Adapter
and
Application
Services
Interfaces.
It
can
handle
only
one
integration
instance.
Custom
business
service
support
When
processing
IBM
business
objects
that
correspond
to
Siebel
custom
business
services,
the
adapter
checks
for
application
specific
information.
If
BSTYPE=Custom
is
found,
it
gets
the
Request
business
object
under
the
top
level
business
object.
When
the
adapter
builds
the
property
set
that
corresponds
to
the
incoming
business
service,
the
simple
attributes
of
the
Request
business
object
provide
the
76
Adapter
for
Siebel
eBusiness
Applications
User
Guide