Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #165 from btison/webservices-host
Browse files Browse the repository at this point in the history
<soap:address> URL rewrite to jboss.bind.address
  • Loading branch information
bobmcwhirter committed Nov 30, 2015
2 parents 53c693d + bf2b5eb commit ce50d71
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -31,7 +31,11 @@ private WebServicesFraction() {
}

public static WebServicesFraction createDefaultFraction() {
return new WebServicesFraction().wsdlHost(SOAP_HOST)

String SoapHost = System.getProperty("jboss.bind.address", SOAP_HOST);

return new WebServicesFraction()
.wsdlHost(SoapHost)
.endpointConfig(new EndpointConfig(STANDARD_ENDPOINT_CONFIG))
.endpointConfig(createRemoteEndpoint())
.clientConfig(new ClientConfig(STANDARD_CLIENT_CONFIG));
Expand Down

0 comments on commit ce50d71

Please sign in to comment.