Cómo cambiar la ubicación de la dirección del servicio web JAX-WS
Actualmente hemos expuesto el servicio web JAX-RPC con la siguiente URL
http: //xx.xx.xx.xx/myservice/MYGatewaySoapHttpPort? wsdl
Migramos el servicio web a JAX-WS generando el servicio web desde el WSDL anterior
Pero se puede acceder al nuevo servicio web desde la siguiente URL
http: //xx.xx.xx.xx/myservice/MYGateway? wsdl
¿Cómo puedo hacer que mi servicio web JAX-WS sea accesible por la misma URL mencionada primero? Para que nuestro cliente no tenga ningún problema.
Actualizar:
El elemento de servicio de WSDL a partir del cual creé es según las expectativas
<WL5G3N0:service name="MyGateway">
<WL5G3N0:port binding="WL5G3N2:MyGatewaySoapHttp" name="MyGatewaySoapHttpPort">
<WL5G3N3:address location="http://xx.xx.xx/myservice/MyGatewaySoapHttpPort"/>
</WL5G3N0:port>
</WL5G3N0:service>
Pero el WSDL de JAX-WS no es el mismo y este WSDL se genera automáticamente.
<WL5G3N0:service name="MyGateway">
- <WL5G3N0:port binding="WL5G3N2:MyGatewaySoapHttp" name="MyGatewaySoapHttpPort">
<WL5G3N3:address location="http://xx.xx.xx/myservice/MyGateway" />
</WL5G3N0:port>
</WL5G3N0:service
Creé el servicio web con Oracle Eclipse Indigo.
¿Puedo cambiar con alguna anotación?
Saludos,