Re: WSDL2Java: How to generating a single serivce.xml for multiple wsdl files?

2009-12-31 Thread Amila Suriarachchi
On Wed, Dec 30, 2009 at 11:07 AM, fazlan faz...@wso2.com wrote:


 Hi All,

 I'am trying to generate a *.aar from multiple wsdl's using the wsdl2java
 ant
 task.
 But I;am having a problem when generating services.xml files.

 My requirement is to generate a single services.xml for all the *.wsdl's,
 rather than services.xml files for each *.wsdl file.

 Is this possible?

no unless you merge your wsdl files into into one by creating multiple
services.

thanks,
Amila.

 If so, Pleases provide me with a snippet of ant script how
 to achieve this.

 e.g:
 I need something like the following,

 serviceGroup
service name=ServiceA_From_WsdlA
. . .
/service
service name=ServiceB_From_WsdlB
 . . .
/service
 /serviceGroup

 but, at present it generates in seperate services.xml files as,

 services.xml for WsdlA
 serviceGroup
service name=ServiceA_From_WsdlA
. . .
/service
 /serviceGroup

 services.xml for WsdlB
 serviceGroup
service name=ServiceB_From_WsdlB
. . .
/service
 /serviceGroup

 Thanks  Regards,
 Fazlan
 --
 View this message in context:
 http://old.nabble.com/WSDL2Java%3A-How-to-generating-a-single-serivce.xml-for-multiple-wsdl-files--tp26964298p26964298.html
 Sent from the Axis - User mailing list archive at Nabble.com.




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/


Re: WSDL2Java: How to generating a single serivce.xml for multiple wsdl files?

2009-12-31 Thread fazlan

Thanks for the update Amila!


Amila Suriarachchi wrote:
 
 On Wed, Dec 30, 2009 at 11:07 AM, fazlan faz...@wso2.com wrote:
 

 Hi All,

 I'am trying to generate a *.aar from multiple wsdl's using the wsdl2java
 ant
 task.
 But I;am having a problem when generating services.xml files.

 My requirement is to generate a single services.xml for all the *.wsdl's,
 rather than services.xml files for each *.wsdl file.

 Is this possible?

 no unless you merge your wsdl files into into one by creating multiple
 services.
 
 thanks,
 Amila.
 
 If so, Pleases provide me with a snippet of ant script how
 to achieve this.

 e.g:
 I need something like the following,

 serviceGroup
service name=ServiceA_From_WsdlA
. . .
/service
service name=ServiceB_From_WsdlB
 . . .
/service
 /serviceGroup

 but, at present it generates in seperate services.xml files as,

 services.xml for WsdlA
 serviceGroup
service name=ServiceA_From_WsdlA
. . .
/service
 /serviceGroup

 services.xml for WsdlB
 serviceGroup
service name=ServiceB_From_WsdlB
. . .
/service
 /serviceGroup

 Thanks  Regards,
 Fazlan
 --
 View this message in context:
 http://old.nabble.com/WSDL2Java%3A-How-to-generating-a-single-serivce.xml-for-multiple-wsdl-files--tp26964298p26964298.html
 Sent from the Axis - User mailing list archive at Nabble.com.


 
 
 -- 
 Amila Suriarachchi
 WSO2 Inc.
 blog: http://amilachinthaka.blogspot.com/
 
 

-- 
View this message in context: 
http://old.nabble.com/WSDL2Java%3A-How-to-generating-a-single-serivce.xml-for-multiple-wsdl-files--tp26964298p26984018.html
Sent from the Axis - User mailing list archive at Nabble.com.



WSDL2Java: How to generating a single serivce.xml for multiple wsdl files?

2009-12-29 Thread fazlan

Hi All, 

I'am trying to generate a *.aar from multiple wsdl's using the wsdl2java ant
task. 
But I;am having a problem when generating services.xml files. 

My requirement is to generate a single services.xml for all the *.wsdl's,
rather than services.xml files for each *.wsdl file. 

Is this possible? If so, Pleases provide me with a snippet of ant script how
to achieve this. 

e.g: 
I need something like the following, 

serviceGroup 
service name=ServiceA_From_WsdlA 
. . . 
/service 
service name=ServiceB_From_WsdlB 
 . . . 
/service 
/serviceGroup 

but, at present it generates in seperate services.xml files as, 

services.xml for WsdlA 
serviceGroup 
service name=ServiceA_From_WsdlA 
. . . 
/service 
/serviceGroup 

services.xml for WsdlB 
serviceGroup 
service name=ServiceB_From_WsdlB 
. . . 
/service 
/serviceGroup 

Thanks  Regards, 
Fazlan 
-- 
View this message in context: 
http://old.nabble.com/WSDL2Java%3A-How-to-generating-a-single-serivce.xml-for-multiple-wsdl-files--tp26964298p26964298.html
Sent from the Axis - User mailing list archive at Nabble.com.