How to change the WSDL published at port 8443 to 8080
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.0.1
- 6.1.1
- JBossWS-CXF
Issue
- The Webservice is published under: http://example.com:8443/context/url-pattern?wsdl.
- What has to be done in order to have it published under: http://example.com:8080/context/url-pattern/?wsdl ?
- In the EAP 6 Management console, Webservices the wsdl was published under http://example.com:8443/context/url-pattern?wsdl which is NOT reachable.
- The address https://example.com:8443/context/url-pattern?wsdl was reachable as well as http://example.com:8080/context/url-pattern?wsdl.
Resolution
- Make sure that org.jboss.ws.api.annotation.WebContext correct class is used in EAP 6.0.1 instead of the org.jboss.wsf.spi.annotation.WebContext which is not available in the EAP 6.x.
- This is an issue and is reported as per in the BZ link, https://bugzilla.redhat.com/show_bug.cgi?id=967082.
- There is also a one-off patch requested as per the BZ, https://bugzilla.redhat.com/show_bug.cgi?id=1013716.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
