Yes, merging the two services.xml files will work.
Azeez

On Sat, Aug 29, 2009 at 11:38 PM, Glen Daniels <g...@thoughtcraft.com>wrote:

> One of the main reasons we designed service groups was precisely to allow
> people to deploy related web services in a convenient package.  The
> services.xml format works fine with this IIRC - can't Zooz just merge the
> files manually and put both <service> elements under a single
> <serviceGroup>?
>
> Providing a script for this would be easy, but perhaps too trivial to be
> worth doing.
>
> --Glen
>
> Zooz Bee wrote:
> > No particular reason, just wanted to make one .aar file for my web
> > application. Its a very small application, in terms of request it will
> > receive, serving couple services.
> >
> > -zooz
> >
> > ------------------------------------------------------------------------
> > *From:* Sanjiva Weerawarana <sanj...@opensource.lk>
> > *To:* axis-dev@ws.apache.org
> > *Sent:* Saturday, August 29, 2009 12:50:43 PM
> > *Subject:* Re: [Axis2]multiple service in same archive
> >
> > Are you wanting to put them into a single .aar file for a particular
> > reason? If its just to deploy multiple services then, unlike in Axis1,
> > you don't need to put them into one file - just copy all the aar files
> > to the repository.
> >
> > Sanjiva.
> >
> > On Sun, Aug 30, 2009 at 1:05 AM, Zooz Bee <zooz...@yahoo.com
> > <mailto:zooz...@yahoo.com>> wrote:
> >
> >     Thanks Azeez  for response.
> >
> >     Since multiple services can be deployed inside the service group. I
> >     thought Axis2 should provide a tool to merge different service.xml
> >     inside service group.
> >
> >     -Zooz
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >     *From:* Afkham Azeez <afk...@gmail.com <mailto:afk...@gmail.com>>
> >     *To:* axis-dev@ws.apache.org <mailto:axis-dev@ws.apache.org>
> >     *Sent:* Saturday, August 29, 2009 11:34:24 AM
> >     *Subject:* Re: [Axis2]multiple service in same archive
> >
> >     wsdl2java only recognizes services. It is not aware about service
> >     groups. You could write an ant/maven plugin that combines the
> >     generated code or the services XML files
> >
> >     Azeez
> >
> >     On Sat, Aug 29, 2009 at 8:34 AM, Zooz Bee <zooz...@yahoo.com
> >     <mailto:zooz...@yahoo.com>> wrote:
> >
> >         Hi,
> >
> >         I want to deploy multiple services in same archive. I generated
> >         the code from first WSDL. It generates the service.xml file.
> >         I generated the code for second WSDL. It also generated the
> >         service.xml file. Both service.xml are in format
> >
> >         First service.xml
> >         <serviceGroup>
> >             <service name="xyx">
> >
> >             </service>
> >         </serviceGroup>
> >
> >
> >         secondt service.xml
> >         <serviceGroup>
> >             <service name="abc">
> >
> >             </service>
> >         </serviceGroup>
> >
> >
> >         Like in Axis1.X using deploy.wsdd file can be used to merge
> >         different wsdd  files?
> >         My querstion is how can i combine these two service.xml files
> >         into one. Is there a tool to combine both files in one xml file.
> >
> >         Thanks,
> >         Zooz
> >
> >
> >
> >
> >
> >
> >     --
> >     Thanks
> >     Afkham Azeez
> >
> >     Blog: http://afkham.org
> >     Developer Portal: http://www.wso2.org
> >     WSAS Blog: http://wso2wsas.blogspot.com
> >     Company: http://wso2.com
> >     GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760
> >
> >
> >
> >
> > --
> > Sanjiva Weerawarana, Ph.D.
> > Founder, Director & Chief Scientist; Lanka Software Foundation;
> > http://www.opensource.lk/
> > Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
> > Member; Apache Software Foundation; http://www.apache.org/
> > Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
> >
> > Blog: http://sanjiva.weerawarana.org/
> >
>



-- 
Thanks
Afkham Azeez

Blog: http://afkham.org
Developer Portal: http://www.wso2.org
WSAS Blog: http://wso2wsas.blogspot.com
Company: http://wso2.com
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Reply via email to