I just have created quickstart (CXF 3.1.3) to check this out: git clone https://github.com/solomax/implonly mvn jetty:run
access http://localhost:8080/services/TestService?wsdl the code is extremely simple: https://github.com/solomax/implonly/blob/master/src/main/java/com/mycompany/javafirst/TestWebService.java WSDL don't look like WSDL :((( what I'm I doing wrong? On Sat, Sep 19, 2015 at 10:38 PM, Maxim Solodovnik <[email protected]> wrote: > forgot to mention: CXF 3.1.2 > > On Sat, Sep 19, 2015 at 8:12 PM, Maxim Solodovnik <[email protected]> > wrote: > >> 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 >> > > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax
