Mam taki problem, że wsdl nie jest deployowany pod adresem jakim bym chciał.
Serwer aplikacyjny: Wildfly 10.0.0.Final
**
Interfejs SOAP:
@WebService(name = "HistoricalResultFactory", targetNamespace = "http://export.historicaldata.soap.com/")
public interface HistoricalResultFactory {
jakieś metody...
}
Implementacja SOAP:
@Stateless
@WebService(name = "Service_FS_HistoricalExport", serviceName = "HistoricalResultFactoryImplService", portName = "HistoricalResultFactoryImplPort", targetNamespace="http://export.historicaldata.soap.com/")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class SOAPHistoricalResults implements HistoricalResultFactory {
implementacja metod...
}
Aplikacja umieszcza się na serwerze pod adresem:
address=http://localhost:9082/fs/HistoricalResultFactoryImplService/Service_FS_HistoricalExport
implementor=com.fs.accessinterfaces.soap.SOAPHistoricalResults
serviceName={http://export.historicaldata.soap.com/}HistoricalResultFactoryImplService
portName={http://export.historicaldata.soap.com/}HistoricalResultFactoryImplPort
annotationWsdlLocation=null
wsdlLocationOverride=null
mtomEnabled=false
chciałbym zmienić address na: http://localhost:9082/Service_FS_HistoricalExport?wsdl
chodzi mi o usunięcie z adresu części "fs/HistoricalResultFactoryImplService/"
Jak to zrobić przy pomocy adnotacji?
Z góry dzięki za pomoc.