aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/config')
-rw-r--r--src/main/java/at/gv/egiz/moazs/config/MzsServiceConfig.java (renamed from src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java b/src/main/java/at/gv/egiz/moazs/config/MzsServiceConfig.java
index 9bf03fb..713c616 100644
--- a/src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java
+++ b/src/main/java/at/gv/egiz/moazs/config/MzsServiceConfig.java
@@ -1,6 +1,6 @@
package at.gv.egiz.moazs.config;
-import at.gv.egiz.moazs.App2MzsService;
+import at.gv.egiz.moazs.mzs.MzsService;
import at.gv.zustellung.app2mzs.xsd.App2Mzs;
import org.apache.cxf.Bus;
import org.apache.cxf.jaxws.EndpointImpl;
@@ -11,12 +11,12 @@ import org.springframework.context.annotation.Configuration;
import javax.xml.ws.Endpoint;
@Configuration
-public class App2MzsServiceConfig {
+public class MzsServiceConfig {
@Bean
@Autowired
- public Endpoint endpoint(Bus bus, App2MzsService app2mzsService, App2Mzs app2mzs) {
- EndpointImpl endpoint = new EndpointImpl(bus, app2mzsService);
+ public Endpoint endpoint(Bus bus, MzsService mzsService, App2Mzs app2mzs) {
+ EndpointImpl endpoint = new EndpointImpl(bus, mzsService);
endpoint.setAddress("/");
endpoint.setServiceName(app2mzs.getServiceName());
endpoint.setWsdlLocation(app2mzs.getWSDLDocumentLocation().toString());