Use the Preferences dialog to set preferences for the Java service editor and the Java source code generated for Java service proxies.
To set Java editor preferences:
Select Window|Preferences from the main menu bar.
The Preferences dialog box appears.
Expand Sybase, Inc in the left pane.
Select Java Editor.
The Java Editor options appear in the right pane. They are described in the table below.
Java editor preferences
Feature | Description | Default |
---|---|---|
Catch WSIF Exceptions | Whether generated code in the Java service implementation and in service proxies catches WSIF exceptions, that is, exceptions of type org.apache.wsif.WSIFException. | On |
Catch Other Exceptions | Whether generated code in the Java service implementation and in service proxies catches exceptions other than org.apache.wsif.WSIFException. | On |
Retry Count | In generated Java service proxy code, the number of times to retry a service invocation that fails. | 0 |
Wait Time Before Retry | If Retry Count is not zero, this value specifies the time interval, in milliseconds, used between retries. | 0 |
Enable Type Validation | Whether to check types in the Java interface for compatibility with different packaging and deployment models. | On |
After you make all your changes, click OK.
Some changes affect generated Java service proxy code, such as Retry Count and the settings that affect exception handling. To apply your changes to existing Java service proxies, regenerate the Java service proxy code.
The preferences for the Java source editor apply to the Source page of the Java Service Editor. For details on these preferences, see the Java Development User Guide.
Generating Java Service Proxies
Handling Exceptions in a Java Service
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com