User-defined datatype registration  Cannot log in to UDDI sites

Release Bulletin Sybase® Enterprise Portal Enterprise Edition Version 5.0 for Windows

Overloading functions

[CR #289010] Because of the way EAServer deploys functions and how Web Services Toolkit allows you to define a Web service, avoid function overloading.

For example, if you have a stateless EJB with two functions, processOrder (string order) and processOrder (byte [] order), EAServer deploys the functions as processOrder__string and processorder__BCD_Binary, since the IDL does not support function overloading.When the Java stubs are generated, the Java files contain two functions with the prototypes processOrder (string order) and processOrder (byte [] order).

When using WST to define a new WSDL document and a new Web service, your options are the IDL defined methods.This creates two Web services with method names processOrder__string and processOrder__BCD_Binary, which do not match the name of the functions within the stub files. This generates an error at runtime.

Workaround: None. Do not overload functions.





Copyright © 2005. Sybase Inc. All rights reserved. Cannot log in to UDDI sites

View this release bulletin as PDF