Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Spring SOAP Web Services (@Endpoint annotated classes) #913

Open
watery opened this issue Sep 28, 2018 · 2 comments
Open

Support for Spring SOAP Web Services (@Endpoint annotated classes) #913

watery opened this issue Sep 28, 2018 · 2 comments

Comments

@watery
Copy link

watery commented Sep 28, 2018

Hi, thanks for this documentation tool.

Are Spring Web Services endpoints supported? And are they within a Boot application?

This is my enunciate.xml:

<?xml version="1.0" encoding="UTF-8"?>
<enunciate
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="http://enunciate.webcohesion.com/schemas/enunciate-2.11.0.xsd">
  
  <modules disabledByDefault="true">
  	<jaxb disabled="false" />
  	<spring-web disabled="false" />
  	<docs disabled="false" />
  	<jaxws disabled="false" />
  </modules>
  
  <api-classes>
  	 <include pattern="webservices.**"/>
  	 <exclude pattern="generator.**"/>
  </api-classes>
  
</enunciate>

The HTML documentation is generated, but I can see only an XML section with XSD portions (there's no WSDL since it is runtime generated by Spring).

But it doesn't seem to generate any documentation for my o.s.ws.server.endpoint.annotation.Endpoint annnotated webservices.ws.NotificationEndpoint class, while a method documentation section appears in the docs if I add the javax.jws.WebService annotation to that class.

@stoicflame
Copy link
Owner

Hi.

No, only JAX-WS is supported at the moment. I'll mark this as an enhancement request and track it.

@stoicflame stoicflame added this to the 2.12.0 milestone Sep 28, 2018
@stoicflame stoicflame changed the title Enunciate with Spring Boot and Spring Web Services (@Endpoint annotated classes) Support for Spring Web Services (@Endpoint annotated classes) Sep 28, 2018
@watery
Copy link
Author

watery commented Oct 1, 2018

Thank you. Actually I added @WebService and @WebMethod annotations to the sources and everything seems to work fine. Are there other important JAX-WS annotations that I may add?

@stoicflame stoicflame changed the title Support for Spring Web Services (@Endpoint annotated classes) Support for Spring SOAP Web Services (@Endpoint annotated classes) Aug 8, 2019
@stoicflame stoicflame modified the milestones: 2.12.0, 2.13.0 Aug 8, 2019
@stoicflame stoicflame removed this from the 2.13.0 milestone Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants