I am creating web service using axis2 , with top down approach. Initially thought of using the SOAP based webservices and created the wsdl like below.
<wsdl:part name="CreateObjRequest" element="tns:CreateObjectRequest">
and the wsdl2java command generated the interface like below.
public CreateObjectResponse createObjectOperation(CreateObjectOperation createObjectOperation)
I tried many ways to get the interface definition like in the firstcase but didn't succeeded. This is causing the classname changes in the entire project.
Didn't understand why its generating interface like this though the wsdl is the same except wsaw actions included.
Can any one help me the get the inteface generated in compatible with the first case..