Sharing classes among multiple Web services in a WAR
 Technote (FAQ)
 
Problem
Multiple Web services within a WAR file may share common Java types. WebSphere Application Server only supports this if all the Web services are defined within the same WSDL file.
 
Cause
Multiple Web services within a WAR file may share common Java types. WebSphere Application Server only supports this if all the Web services are defined within the same WSDL file.


Sharing Java types is NOT supported if two separate WSDL files are used. Consider the scenario of two WSDL's with different service definitions that define the same type(s). Sharing the Java types and the generated stubs between the Web services is not supported.

 
Solution
Use a single WSDL file
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Web Services (for example: SOAP or UDDI or WSGW or WSIF)
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1220370
IBM Group: Software Group
Modified date: Oct 20, 2005