diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/App2MzsService.java (renamed from src/main/java/at/gv/egiz/moazs/App2MzsPortTypeImplementation.java) | 2 | ||||
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/App2MzsServiceConfig.java (renamed from src/main/java/at/gv/egiz/moazs/App2MzsEndpointConfig.java) | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/App2MzsPortTypeImplementation.java b/src/main/java/at/gv/egiz/moazs/App2MzsService.java index 244cf4d..ccca4f5 100644 --- a/src/main/java/at/gv/egiz/moazs/App2MzsPortTypeImplementation.java +++ b/src/main/java/at/gv/egiz/moazs/App2MzsService.java @@ -8,7 +8,7 @@ import at.gv.e_government.reference.namespace.moazs10.app2mzs_.SuccessType; import javax.jws.WebParam; -public class App2MzsPortTypeImplementation implements App2MzsPortType { +public class App2MzsService implements App2MzsPortType { @Override public DeliveryResponseType app2Mzs( diff --git a/src/main/java/at/gv/egiz/moazs/App2MzsEndpointConfig.java b/src/main/java/at/gv/egiz/moazs/App2MzsServiceConfig.java index 2d524df..64e353d 100644 --- a/src/main/java/at/gv/egiz/moazs/App2MzsEndpointConfig.java +++ b/src/main/java/at/gv/egiz/moazs/App2MzsServiceConfig.java @@ -9,14 +9,15 @@ import org.springframework.context.annotation.Configuration; import javax.xml.ws.Endpoint; @Configuration -public class App2MzsEndpointConfig { +public class App2MzsServiceConfig { @Autowired private Bus bus; @Bean public Endpoint endpoint() { - EndpointImpl endpoint = new EndpointImpl(bus, new App2MzsPortTypeImplementation()); + EndpointImpl endpoint = new EndpointImpl(bus, new App2MzsService()); + endpoint.setAddress("/"); endpoint.publish(); return endpoint; } |