.WAR file deployed but WSDL not published

Latest response

Hi all. I managed to deployed my .war file in jboss eap 7 but .wsdl file is not published.

I have added the jboss-deployment-structure.xml with the below code:

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
    <deployment>
    <!-- Exclusions allow you to prevent the server from automatically adding some dependencies     -->
    <exclude-subsystems>  
      <subsystem name="webservices" />  
    </exclude-subsystems>  
  <dependencies>
      <module name="javax.jws.api" export="true"/>   
   </dependencies> 
    </deployment>
</jboss-deployment-structure>

I am guessing that I have excluded the webservice and thus resulted in jboss will not publish my wsdl. I might need to add in specific dependency or something in order to make it work. Can anyone tell me if i am going the right direction?

Responses