Once you have created an external class to use a WCF Service, you must configure it to function correctly. To configure the class:
- Select the class in the Repositories pane.
-
In the Properties pane, select Service tab.
-
Click Configure.
- From the Service Location drop down select list, select a service you want to use, or enter the path to the service in the field.
- Select the Protocol you want to use from the drop-down list.
-
If the service requires authentication, select the Requires Authentication check box.
Note:
The Requires Authentication option only supports Windows authentication.
- Click OK
- If the service required authentication, the Authentication dialog box is displayed. Enter the User Name, Password, and Confirm Password credentials and click OK.
- If you want to override the default maximum size of messages, which is 65536 bytes, select the Override Max Received Message Size and specify the number of bytes in the field you want to allow. Setting this to 0 will result in the default size being used as the maximum. Negative numbers cannot be used. The maximum allowed is 2147483647 bytes.
-
Select the appropriate Contract, End Point, and Method.
Note:
Upon saving, if you want to update the Method section, you must click Update and then make the appropriate changes, and click Update again.
- To define what data will be used to create objects, you must select the node that contains the data and click Set Root.
-
Next, you must complete value mappings. Select a parameter you want to map within the selected Method and click Mappings. The Mapping: dialog box is displayed.
- Select the appropriate mapping for the selected parameter. None, Attribute, and Constant Value are the mapping options available. Attribute maps to the attribute selected from the ellipsis button (...).
- Click OK.