Type: Feature Request
Status: Resolved (View Workflow)
Affects Version/s: 4.3.0.GA_CP05
Fix Version/s: 4.3.0.GA_CP07
Component/s: Web Services
Security Level: Public (Everyone can see)
Similar Issues:Show 8 results
JBPAPP-2606 Need ability to force fixed name for import location within generated WSDL JBPAPP-1352 JBossWS - Correct WSDL dynamic address replacement. JBPAPP-574 JBossWS - WSDL to Java - Incorrect case of generated type for anonymous type. JBPAPP-9695 SchemaLocation of imported schemas rewritten in WSDL take address from proxy-host and not wsdl-host. JBPAPP-5885 Ability to add custom java url protocol handler JBPAPP-5997 REPLACE_WITH_ACTUAL_URL does not work for more than one Port in a WSDL JBPAPP-411 RPM Installed Init Script Incorrectly Configures Overide UDP Port Setting JBPAPP-1205 HHH-2592 - force hibernate to generate use offset qeury when offset is zero
The common deployment environment in many organizations are
client -> load balancer/ssl concentrator (ssl, port 443) -> Apache web server + mod_jk (no ssl, port 8000) -> JBoss application server (no ssl, port 9000)
The SSL is terminated in the load balancer/ssl concentrator and therefore neither apache web server not jboss application server is aware of it. The webservice is deployed as web application on the application server. The JBoss doesn't have even configured SSL connector and the web application doesnt have
in the web.xml since it is not SSL aware.
When bottom-up approach for the web service is used, the JBoss applicaiton server generates the WSDL for the webservice. The WSDL needs to contain the protocol:URL:port of the load balancer/ssl concentrator and not of the JBoss regardless of what connectors are configured in the JBoss.
There is a need to expand the configuration in jboss-beans.xml
The WSDL, that is a required deployment artifact for an endpoint, has a <soap:address>
element which points to the location of the endpoint. JBoss supports rewriting of that SOAP address.
If the content of <soap:address> is a valid URL, JBossWS will not rewrite it unless 'modifySOAPAddress' is true.
If the content of <soap:address> is not a valid URL, JBossWS will rewrite it using the attribute values given below.
If 'webServiceHost' is not set, JBossWS uses requesters protocol host when rewriting the <soap:address>.
Set these properties to explicitly define the ports that will be used for rewriting the SOAP address.
Otherwise the ports will be identified by querying the list of installed connectors.
If multiple connectors are found the port of the first connector is used.
to be able to force the web service protocol, host and port, e.g. add configuration settings
<property name="forceWebServicePort">port number</property>