-
1. Re: Problem with AlwaysModifySOAPAddress?
mwaschkowski Oct 13, 2005 3:02 PM (in response to mwaschkowski)Opps, some troubles with the forum and the text I'm trying to paste. Here is my
jboss-4.0.2\server\x\deploy\jboss-ws4ee.sar\META-INF\jboss-service.xml
file, with a few extra spaces in it so it pastes properly:
<!--
The main WS4EE service, which manages the deployed service endpoints
-->
<m bean code="org.jboss.webservice.AxisService"
name="jboss.ws4ee:service=AxisService">
jboss:service=WebService
<!--
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, JBoss will not rewrite it unless AlwaysModifySOAPAddress=true
If the content of <soap:address> is not a valid URL, JBoss will rewrite it using the attribute values given below.
-->
<a ttribute name="WebServiceHost">${jboss.bind.address}
<a ttribute name="WebServiceSecurePort">8443
<a ttribute name="WebServicePort">8080
<a ttribute name="AlwaysModifySOAPAddress">false
<a ttribute name="InvokerProviderEJB">org.jboss.webservice.server.InvokerProviderEJB
<a ttribute name="InvokerProviderJSE">org.jboss.webservice.server.InvokerProviderJSE -
2. Re: Problem with AlwaysModifySOAPAddress?
jason.greene Oct 17, 2005 7:56 PM (in response to mwaschkowski)It will still rewrite if the URL is not a valid URL, what value you using in soap:address?
-Jason -
3. Re: Problem with AlwaysModifySOAPAddress?
mwaschkowski Oct 21, 2005 9:19 AM (in response to mwaschkowski)Hi Jason,
Thanks for the reply. I've tried three urls so far without success:
http://localhost:8999/taxa/taxapp/SoapRequest
localhost:8999/taxa/taxapp/SoapRequest
http://localhost:8999/taxa/taxapp/SoapRequest?wsdl
I thought the first one looked good, but no go, jboss still overrides...
help!
Thanks,
Mark -
4. Re: Problem with AlwaysModifySOAPAddress?
thomas.diesler Oct 28, 2005 9:42 AM (in response to mwaschkowski)Have a look at
ant -Dtest=org.jboss.test.webservice.addressrewrite.AddressRewriteTestCase one-test -
5. Re: Problem with AlwaysModifySOAPAddress?
mwaschkowski Oct 28, 2005 9:50 AM (in response to mwaschkowski)Alright, will do, on Monday, I'll let you know.
Thanks very much Thomas.
Regards,
Mark