You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Hamza Hydri <ha...@gmail.com> on 2005/03/21 09:46:10 UTC

doubts on java2wsdl syntax

Hie,

I have a wrapper class here, I want to convert a Java class(containing
my service) to a WSDL file ... and later publish my service using the
stubs created by WSDL2Java ... my code is as below ..can anyone plz
hint at the error I am making ... it is giving an error message - The
<class-of-portType> was not specified.

my class is -

public static void main(String[] args) {
Java2WSDL.main(new String [] {"-o MyServ.wsdl","-l
http://localhost:8080/MyServ", "-I D:/eclipse/workspace/W2J/MyServ"});
}

thanx in advance