Change soap location: address in generated wsdl

I use the JAX-WS annotation to create soap services running on JBOss 5.1.0 GA, generate the WSDL next bit at the end -

<service name="DataServiceService">
 <port binding="tns:DataServiceBinding" name="DataServicePort">
  <soap:address location="http://mymachine:8080/myapp/webservice" /> 
  </port>
  </service>

I turned on the https service on port 8443, I can connect to the service using the correct protocol and port number, but is there a way to change the soap address in the generated wsdl, t change it?

I would like to see the address as

<soap:address location="https://mymachine:8443/myapp/webservice" /> 
+4
source share
1 answer

Comment on the next line in
Server / {} instance / deployers / jbossws.deployer / META-INF / jboss- beans.xml

<property name="webServiceHost">${jboss.bind.address}</property>  

, : /, , wsdl.

+2

Source: https://habr.com/ru/post/1524693/


All Articles