Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL2Java -- Axis

 
Cory Wilkerson
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Axis doesn't like service name = implementation class name...causes all sorts of issues.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • 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
  • 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
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic