Siebel Adapter 6.0 SP3 | webMethods Siebel Adapter Documentation | webMethods Siebel Adapter Installation and User’s Documentation | webMethods-To-Siebel Communication | Configuring Attachment Services
 
Configuring Attachment Services
 
Testing the Attachment Service
An Attachment service creates an attachment file in a business component record, updates an existing attachment, or obtains an attachment. To do this, at run time you specify that the Attachment service invokes one of the following Siebel methods: CreateFile, PutFile, or GetFile, respectively.
For more information, see Attachment Services.
*To configure an Attachment service
1. Review the steps in Before Configuring or Managing Adapter Services.
2. Start Digital Event Services or Designer.
Note:
Make sure the server with which you want to use Digital Event Services or Designer is running.
3. Perform one of the following:
*If you are using Digital Event Services, select File > New > Adapter Service and click Next.
*If you are using Designer, perform the following:
1. Right-click the package in which the service should be contained and select New > Adapter Service.
2. Select the parent namespace and type a name for the adapter service.
3. Click Next.
4. Select Siebel Adapter as the adapter type and click Next.
5. Select the appropriate Adapter Connection Name and click Next.
6. Select the Attachment template and click Next.
*If you are using Digital Event Services, click Next, select a package and folder to contain the service, type a unique name for the service, and click Finish.
*If you are using Designer, click Finish.
7. The service is created and its parameters and controls are displayed in the adapter service editor. You can select the Adapter Settings tab at any time to confirm adapter properties such as adapter type, connection name, and service template, as needed.
8. Select the Navigation Path tab to specify the records that the service accesses, using the following fields:
Parameter
Description/Action
Business Object
The name of the business object that contains the business component for which you are creating the service. For example, Contact.
Business Component
The name of the business component for which you are creating the service. For example, Contact Attachment.
Multi-Valued Links
Leave blank.
Additional Business Component [1]
Leave blank.
Additional Business Component [2]
Leave blank.
9. If you plan to use the Attachment service to execute a GetFile or PutFile method, select the Search tab and define a search expression for the selected business component by providing values for the fields on the top row of the tab. Note that if you plan to use the Attachment service to execute a CreateFile method, leave the Search tab blank.
a. Use the icon (or the icon) to create new rows as needed.
b. Select a logical operator from the AND/OR field, an Operator, and separators (the left and right parentheses) as needed, and provide values for the following parameters:
Parameter
Description/Action
AND/OR
A logical operator.
Siebel Field
A search field of the selected business component.
Siebel Field Data Type
The data type of Siebel Field.
Operator
An operator for the search expression.
Note: For case insensitive search, select ‘~='. For case sensitive search, select ‘='.
Input Field
An input field of the adapter service to which you will map the corresponding value in Siebel Field. The adapter automatically populates this field with values identical to the values in Siebel Field.
Input Field Data Type
The data type of Input Field.
For example, to search on a business component's ID field and map its value to an input field named ID, you would specify:
ID DTYPE_ID = ID java.lang.String
The ID field is the Siebel field Row-id.
10. The Attachment Operation Inputs tab is a display-only tab. You will provide values for the fields on this tab when you test the service, as described in Testing the Attachment Service.
11. For information about using the Input/Output, Settings, Audit, Permissions, and Results tabs, see the webMethods Service Development Help for your release.
Digital Event Services and Designer contain the Adapter Settings and Input/Output tabs. The information from the Audit and Permissions tabs now appears in the Properties panel, and the information from the Results tab now appears in the Results panel.
12. Select File > Save.