Jak zmienić lokalizację adresową usługi internetowej JAX-WS
Obecnie udostępniliśmy usługę JAX-RPC z następującym adresem URL
http: //xx.xx.xx.xx/myservice/MYGatewaySoapHttpPort? wsdl
Przeprowadziliśmy migrację usługi WWW do JAX-WS, generując WebService z powyższego WSDL
Ale nowa usługa jest dostępna z następującego adresu URL
http: //xx.xx.xx.xx/myservice/MYGateway? wsdl
Jak mogę zrobić, aby moje usługi WWW JAX-WS były dostępne przez ten sam adres URL wymieniony pierwszy? aby nasz klient nie miał żadnych problemów.
Aktualizacja:
Element usługi WSDL, z którego stworzyłem, jest zgodny z oczekiwaniami
<WL5G3N0:service name="MyGateway">
<WL5G3N0:port binding="WL5G3N2:MyGatewaySoapHttp" name="MyGatewaySoapHttpPort">
<WL5G3N3:address location="http://xx.xx.xx/myservice/MyGatewaySoapHttpPort"/>
</WL5G3N0:port>
</WL5G3N0:service>
Ale WSDL JAX-WS nie jest taki sam i ten WSDL jest generowany automatycznie.
<WL5G3N0:service name="MyGateway">
- <WL5G3N0:port binding="WL5G3N2:MyGatewaySoapHttp" name="MyGatewaySoapHttpPort">
<WL5G3N3:address location="http://xx.xx.xx/myservice/MyGateway" />
</WL5G3N0:port>
</WL5G3N0:service
Stworzyłem serwis internetowy z Oracle Eclipse Indigo.
Czy mogę zmienić z adnotacją?
Pozdrowienia,