Commit 4c77ea8e authored by Quxl's avatar Quxl

x

parent 4d972838
......@@ -20,6 +20,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.egolm.sso.services.confirm_quotation.ConfirmQuotationService;
import com.egolm.sso.services.dn_deletion.DNDeletionService;
import com.egolm.sso.services.material_master.MaterialMasterService;
import com.egolm.sso.services.prforma_invoice.PrformaInvoiceService;
import com.egolm.sso.services.price_list.PriceListService;
......@@ -74,6 +75,14 @@ public class WsConfig {
endpoint.publish("/shipping_notification");
return endpoint;
}
@Bean
public Endpoint getShippingNotificationPoint(DNDeletionService deletionService) {
EndpointImpl endpoint = new EndpointImpl(bus, deletionService);
endpoint.setInInterceptors(Arrays.asList(authInterceptor));
endpoint.publish("/dn_deletion");
return endpoint;
}
@Value("${wsUsername}")
private String wsUername;
......
package com.egolm.sso.services.dn_deletion;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService(targetNamespace = "http://dn_deletion.sso.egolm.com")
public interface DNDeletionService {
@WebMethod
public void execute(Z_MT_SD_010_SO_DN_DELETION Z_MT_SD_010_SO_DN_DELETION);
}
package com.egolm.sso.services.dn_deletion;
import javax.jws.WebService;
import org.springframework.stereotype.Component;
@Component
@WebService(serviceName = "DNDeletionService", targetNamespace = "http://dn_deletion.sso.egolm.com", endpointInterface = "com.egolm.sso.services.dn_deletion.DNDeletionService")
public class DNDeletionServiceImpl implements DNDeletionService {
@Override
public void execute(Z_MT_SD_010_SO_DN_DELETION Z_MT_SD_010_SO_DN_DELETION) {
// TODO Auto-generated method stub
}
}
package com.egolm.sso.services.dn_deletion;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "Z_MT_SD_010_SO_DN_DELETION")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="Z_MT_SD_010_SO_DN_DELETION")
public class Z_MT_SD_010_SO_DN_DELETION {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment