-
1. Re: WebService Address
sonic-dre Nov 4, 2004 10:51 AM (in response to sonic-dre)"sonic-dre" wrote:
Hi
if you use JbossWS during the deployment
Jboss changed yourWS-URL into the adress
that is configurated under:
[jboss-4.0.0HOME]\server\default\deploy\jboss-ws4ee.sar\META-INF\jboss-service.xml
under the Tags<mbean code="org.jboss.webservice.AxisService" name="jboss.ws4ee:service=AxisService"> <depends>jboss:service=WebService</depends> <attribute name="WebServiceHost">myPCName</attribute> <attribute name="WebServiceSecurePort">8443</attribute> <attribute name="WebServicePort">8080</attribute> <attribute name="ValidateWsdlRequest">false</attribute> </mbean>
there you can define your service Host Name.
all right now. -
2. Re: WebService Address
adicko Nov 5, 2004 2:17 AM (in response to sonic-dre)Hi sonic-dre,
TOP! It works perfectly!
Thank you.
ADICKO -
3. Re: WebService Address
thomas.diesler Nov 6, 2004 4:21 AM (in response to sonic-dre)The wsdl for the server side deployment may contain a dummy service location, that JBossWS will adjust during deployment.
The wsdl for the client side deployment must contain the correct service location. i.e. the client must be told where to connect to.
You can override the location where the client obtains the wsdl from, like this<service-ref> <service-ref-name>service/HelloService</service-ref-name> <wsdl-override>http://yourhost:8080/ws4ee-admindevel/HelloService?wsdl</wsdl-override> </service-ref>
Also the javax.xml.rpc.Stub interface contains a property with wich you can set the target endpoint address -
4. Re: WebService Address
gpnewton Nov 23, 2004 10:53 PM (in response to sonic-dre)Is there any better solution to this problem for large scale deployments? If we need to go down into the sar deployment and change this file for every box we deploy to, that significantly complicates our deployment of JBoss. Is there any way to have the WebServiceHost attribute reflect the actual hostname of the server the VM is running on?
-
5. Re: WebService Address
thomas.diesler Nov 24, 2004 2:41 AM (in response to sonic-dre)This has been fixed in jboss-4.0.1