You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by fazlan <fa...@wso2.com> on 2010/01/01 07:33:23 UTC
Re: WSDL2Java: How to generating a single serivce.xml for multiple
wsdl files?
Thanks for the update Amila!
Amila Suriarachchi wrote:
>
> On Wed, Dec 30, 2009 at 11:07 AM, fazlan <fa...@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.