Hello All,

I'm trying to create SOAP/JSON web service using java-first approach.
I would like to minimize xml files, interfaces being created and other
stuff not related to the service code.
The application is spring based, endpoint is defined here [1]
webservice is defined here [2]

the issue is: resulting wsdl contains no type definitions, no method
signatures and looks like follows:

<wsdl:operation name="add">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="add">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ServiceException">
<soap:fault name="ServiceException" use="literal"/>
</wsdl:fault>
</wsdl:operation>

I have no targetNamespace definitions in annotations, how can I fix wsdl
being generated?

Thanks in advance!


[1]
https://github.com/apache/openmeetings/blob/trunk/singlewebapp/openmeetings-web/src/main/webapp/WEB-INF/classes/openmeetings-applicationContext.xml#L290
[2]
https://github.com/apache/openmeetings/blob/trunk/singlewebapp/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java


-- 
WBR
Maxim aka solomax

Reply via email to