>
> Yes. If a subdirectory contains a services XML, it is sent to be
> deployed. Otherwise it is sent through another iteration to find
> services in the sub directory. Is it wrong? Am I missing something?
if by accident if I have two services.xml then I might have some
problem. The reason I am telling this is we have the services.xml in
source tree that will compiled to where it has, and then using some
build tools we will copy that into some other location. So we will have
two services.xml. For example have a look at version service in Axis2.

https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/samples/version
>
> I think it is the way already existing code treats directory bases
> services. It checks for the service XML and if it is not found, throws
> and exception saying "no services XML found". Just look at the code in
> the processServiceGroup method of the ArchiveReader class.
Yes, it is correct since are only check the first level directories.

Reply via email to