This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm using Axis 1.4 in java. When I create the deployment document I specified the beanmappings I want axis to published in the wsdl . But when generating the wsdl they are not included as <complexType>, and just putting the classes that are directly referenced in the treatmentStageWS class.
I want to explicitly add other classes to the beanmapping because I have inheritance, and the childs are not being include automatically in the wsdl (what is logic).
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name = "treatmentStageWS" style="wrapped" use="literal" provider = "java:RPC">
<parameter name = "allowedMethods" value = "getTreatmentStage,getLastTreatmentStage"/>
<parameter name = "className" value="soap.services.impl.TreatmentStageWSImpl"/>
<parameter name="scope" value="Application"/>
<parameter name="wsdlTargetNamespace" value="http://localhost:8080/axis/services/treatmentStageWS"/>
<parameter name="namespaceUri" value="http://localhost:8080/axis/services/treatmentStageWS"/>
<parameter name="wsdlDocumentUrl" value="http://localhost:8080/axis/services/treatmentStageWS"/>