opensubscriber
   Find in this group all groups
 
Unknown more information…

a : axis-dev@ws.apache.org 29 August 2009 • 1:24AM -0400

Re: Supporting hierarchical service deployment
by Deepal jayasinghe

REPLY TO AUTHOR
 
REPLY TO GROUP





>
> 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.

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.