• 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 -- Axis

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
K, used Axis to turn WSDL into Java...worked like a charm...however, I'm unable to compile the source and in need of assistance.
WSDL2Java generates the interface of the service: "XMLInterface", a locator class "XMLInterfaceLocator" which implements the aforementioned interface and the stub, XMLInterfaceSOAPBindingStub which also implements the aforementioned interface. The problem here is that in the source generated by WSDL2Java, none of the interface methods are defined in the BindingStub, only in the Locator -- leaving me unable to compile.

[ January 20, 2003: Message edited by: Cory Wilkerson ]
 
Cory Wilkerson
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Axis doesn't like service name = implementation class name...causes all sorts of issues.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ayup. They need to be different. Glad you found that one on your own. That would have been a devil to debug remotely...
Kyle
 
Cory Wilkerson
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was a hell of a job to debug locally as well.
I don't feel like there's really any good Axis documentation on the market -- thankful for that to some extent because you pick up a lot along the way -- but for some of the developers I work with -- they're gonna need docs. Any idea if there is any movement in the Axis community on this?
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is. Actually, if you want a better set of examples and documentation, download the IBM Web Services Toolkit from Alphaworks. IBM includes more than what comes with the standard Axis download from Apache.
Kyle
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic