.WAR file deployed but WSDL not published

Posted on

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?

Wendy Lau's picture

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.