• 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

wsdl2java create proxy like eclipse

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello fellow ranchers,

I have been creating my java clients from wsdl files using the eclipse wizard and axis2.
This wizard creates an implementation of the Service called something like MyServiceProxy.

Now we want to integrate the creation of the clients into our build process, so I have downloaded and played with
the wsdl2java utilities from apache. The version I have used is axis2 1.4.

The utility generates everything synchronous to the wizard except the Proxy class.

Does anyone have an idea how eclipse is doing this and is it doable outside eclipse.

I have studied the axis documentation and samples and found nothing.

Any help or links to helpful sites would be appreciated.

Many thanks.
Peter.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Have you seen this page: http://ws.apache.org/axis2/1_4_1/reference.html#wsdl2code
The -g option is supposed to generate all code, but must be used with the -ss option etc.
Best wishes!
 
Pete Whitmore
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

thanks, yes I did. The stub, locator and other files are generated.

The proxy seems to be something that the eclipse plugin does. Maybe via a GeneratorFactory.

Cheers.
Peter.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic