Java service


Building a package

CR #431465

Description: If you create a Java service with space in the name and attempt to create a Sybase Services Package Profile from the Java service, the package build fails with an error indicating that the package name contains invalid characters.

Workaround: Package names cannot contain spaces. To avoid this error, make sure the name of your Java service contains no spaces.


Creating a Java service

CR #417426

Description: When importing a project from Sybase WorkSpace version 1.0 into 1.6, you may receive the following error:

Project UCDMP4IV is missing required library: 
<installation directory>\Eclipse\sybase_workspace_1.0\services\eclipse\
plugins\com.sybase.psesp_4.5.0\lib\services.jar

Workaround: Launch Sybase WorkSpace 1.6, and in the WorkSpace Navigator, right-click the imported Sybase project, and select Update WorkSpace Build Path Entries from the context menu.


Creating a proxy for a Java service

CR #419892

Description: When a proxy for a service with an array type parameter (such as Integer[ ]) is generated, a holder class for the parameter is also generated, in this case, ArrayOfJavaLangInteger. This holder class may require a different array type in the constructor (new ArrayOfJavaLangInteger(int[])).

Workaround: Examine the source generated for the holder class and ensure that any datatype conversions are done before creating an instance of the holder class.