Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

wsdl2java create proxy like eclipse  RSS feed

 
Pete Whitmore
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!