• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using WSConsume in ANT

 
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Iam trying to generate the STUB for a Web Service , i am successful in generating the stub as well. i used the below script to generate the stub




if i am having one more wsdl , then how can i generate the stub for both the wsdl using the same wsconsume task, However iam able to generate the stub for both wsdl's separately. what i would like to know is how can i pass the list of wsdl files for single wsconsume ANT Task. i think the list of wsdl can be passed if we use Maven.

Please advice me on this

thanks
Amir
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amir,
From that Ant task, it doesn't appear you can. Your choices are:
1) Duplicate the task and have it twice in your code
2) Write a macrodef in Ant that makes this call with a WSDL parameter. Then call it twice or from an ant-contrib loop from a list.
 
Amirtharaj Chinnaraj
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne
 
reply
    Bookmark Topic Watch Topic
  • New Topic