Commit 81198563 authored by Quxl's avatar Quxl

x

parent 3d497524
......@@ -2,11 +2,14 @@ package com.egolm.sso.clients.SI_004_INVENTORY_SyncOutService;
import java.math.BigInteger;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -68,7 +71,10 @@ public class SI004INVENTORYSyncOutServiceTask {
}
public void runTask() throws MalformedURLException {
SI004INVENTORYSyncOut service = factory.create(SI004INVENTORYSyncOut.class, factory.getAbsoluteURL(WSDLPATH), SI004INVENTORYSyncOutService.SERVICE, isOpenSSL ? SI004INVENTORYSyncOutService.HTTPSPort : SI004INVENTORYSyncOutService.HTTPPort);
URL wsdlLocation =factory.getAbsoluteURL(WSDLPATH);
QName serviceQName = SI004INVENTORYSyncOutService.SERVICE;
QName portQName = isOpenSSL ? SI004INVENTORYSyncOutService.HTTPSPort : SI004INVENTORYSyncOutService.HTTPPort;
SI004INVENTORYSyncOut service = factory.create(SI004INVENTORYSyncOut.class, wsdlLocation, serviceQName, portQName);
this.sendData(service);
}
......
......@@ -2,11 +2,14 @@ package com.egolm.sso.clients.SI_011_ACTUAL_SALES_SyncOutService;
import java.math.BigInteger;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -68,7 +71,10 @@ public class SI011ACTUALSALESSyncOutServiceTask {
}
public void runTask() throws MalformedURLException {
SI011ACTUALSALESSyncOut service = factory.create(SI011ACTUALSALESSyncOut.class, factory.getAbsoluteURL(WSDLPATH), SI011ACTUALSALESSyncOutService.SERVICE, isOpenSSL ? SI011ACTUALSALESSyncOutService.HTTPSPort : SI011ACTUALSALESSyncOutService.HTTPPort);
URL wsdlLocation =factory.getAbsoluteURL(WSDLPATH);
QName serviceQName = SI011ACTUALSALESSyncOutService.SERVICE;
QName portQName = isOpenSSL ? SI011ACTUALSALESSyncOutService.HTTPSPort : SI011ACTUALSALESSyncOutService.HTTPPort;
SI011ACTUALSALESSyncOut service = factory.create(SI011ACTUALSALESSyncOut.class, wsdlLocation, serviceQName, portQName);
this.sendData(service);
}
......
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