I used Create RESTful Web Service to create a WebService for my purpose. It was pretty simple, but now I'm trying to configure the port through which the WebService should be bound. There is no config.xmlor anything else in this project . Can someone give me a hint on how to configure the WebService port?
How these details can be useful. I start the server with the code below containing the tag @EnableAutoConfiguration. Configuration is done by Spring Boot .
@ComponentScan
@EnableAutoConfiguration
public class ServerStarter{
public static void main(String[] args) {
SpringApplication.run(ServerStarter.class, args);
}
}
source
share