WebServices and wsdl generation



Ok, I am utterly confused and lost. I have a class and I can easily
deploy it in axis and expose public methods as a web service. The
problem I am having is in the generation of a WSDL from the class. The
build-in tools in my editor (Intellij) throw a fit, but don't tell me
what. There are 2 dozen command switches to the tool Java2WSDL. I
supplied what I thought would be correct and I am still missing
something. I keep getting

The <class-of-portType> was not specified.
Java2WSDL emitter
Usage: java org.apache.axis.wsdl.Java2WSDL [options] class-of-portType

can someone show me a sample class and a subsequent java2wsdl command
to generate a wsdl?

Christian
http://christian.bongiorno.org/resume.pdf

----------------------------------------

.



Relevant Pages

  • Re: generate WSDL from java code
    ... Arne Vajhøj wrote: ... with axis (Java2WSDL). ... The problem is that I get an error when trying to generate the WSDL. ... the error I got with axis is: ...
    (comp.lang.java.programmer)
  • Re: generate WSDL from java code
    ... hazan wrote: ... with axis (Java2WSDL). ... The problem is that I get an error when trying to generate the WSDL. ... the error I got with axis is: ...
    (comp.lang.java.programmer)