There is a set of functionality which the webservice control (wsc) and wsm
currently share. Currently this is done by having the wsc reference wsm
jars at build and run time. I would like to do some restructuring of these
modules so that the wsc will no longer have to have references to wsm jars.
Here's what I was thinking of:
Add a new subfolder to the wsm's source tree:
wsm/src/
webservice-utils/
axis/
core/
xmlbeans/
The following would be placed in the webservice-utils/axis source dir:
org/apache/beehive/webservice/utils/databinding/AxisBindingLookupFactory
org/apache/beehive/webservice/utils/databinding/AxisLookupStrategy
org/apache/beehive/webservice/utils/databinding/AxisTypeMappingMetaData
The webservice-utils/core source dir would include:
org/apache/beehive/webservice/utils/databinding/BindingLookupFactory
org/apache/beehive/webservice/utils/databinding/BindingLookupChain
org/apache/beehive/webservice/utils/databinding/BindingLookupStrategy
org/apache/beehive/webservice/utils/databinding/SchemaTypesLookupStrategy
org/apache/beehive/webservice/utils/databinding/TypeMappingConstants
org/apache/beehive/webservice/utils/JavaClassUtils
The webservice-utils/xmlbeans source dir would include:
org/apache/beehive/webservice/utils/databinding/XmlBeanLookupStrategy
org/apache/beehive/webservice/utils/encoding/XmlBeanDeserializer
org/apache/beehive/webservice/utils/encoding/XmlBeanDeserializerFactory
org/apache/beehive/webservice/utils/encoding/XmlBeanSerializer
org/apache/beehive/webservice/utils/encoding/XmlBeanSerializerFactory
The main wsm build.xml file has the responsibility of compiling these source
dirs and placing the classes into module specific directories in the wsm
build dir, i.e.
build/webservice-utils-axis
build/webservice-utils-core
build/webservice-utils-xmlbeans
On the wsm side of things these class files would be added to their
respective wsm jar file by the wsm ant build script.
The wsc would add these class files to it's jar file at build time and
should no longer have any references to the wsm jars.
Questions/comments?