Hello, I am having some trouble using the Java2WSDL emitter with Axis 1.2 alpha, and I am hoping someone could offer me some help. I am new to web services, and to Apache Axis as well.
I deployed my web service using the AdminClient, and looked at its WSDL using ?WSDL. I can see that the BeanSerializer I defined in my deploy.wsdd file is being picked up by ?WSDL, because I see the proper <complexType/> definition in the WSDL in my web browser. However, when I try to run the Java2WSDL task, I don't get a complex type (I just get my object specified in the WSDL as an xsd:anyType). How come ?WSDL picks up my complex type and Java2WSDL does not? Here is the command I am using to run Java2WSDL: java org.apache.axis.wsdl.Java2WSDL -o document.wsdl -lhttp://localhost/jrocservice/services/DocumentService com.bah.jroc.document.IDocumentService I also tried this, but I run into the same problem java org.apache.axis.wsdl.Java2WSDL -o document.wsdl -lhttp://localhost/jrocservice/services/DocumentService -nsomeNamespace -pcom.bah.jroc.document=someNamespace com.bah.jroc.document.IDocumentService Thanks! Matt