1 Reply Latest reply on Jul 6, 2006 11:19 AM by Heiko Braun

    setting custom port via binding service manager

    Huy Nguyen Newbie

      Hi,

      Is it possible to set a different port number via binding service manager? I'm using jbossws-1.0.1.GA

      I tried this, but it didn't work, the port in wsdl links and soap:address kept defaulting to 8080:

      <service-bindings>
      ...
       <server name="default">
      ...
       <service-config name="jboss.ws:service=ServiceEndpointManager"
       delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
       >
       <delegate-config portName="WebServicePort" hostName="WebServiceHost"/>
       <attribute name="WebServiceSecurePort">8443</attribute>
       <attribute name="AlwaysModifySOAPAddress">True</attribute>
       <delegate-config/>
       <binding port="8181" host="${jboss.bind.address}"/>
       </service-config>
      


      It only works when I undeploy, then manually set the port through jmx-console, and redeploy.

      thanks,
      huy