Commit 0e44b39d authored by Quxl's avatar Quxl

x

parent 2d3d5753
......@@ -6,3 +6,4 @@
/bin/
/logs/
/xmlHistory/
/XML_HISTORY/
......@@ -7,7 +7,7 @@ import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DELETED_DOCUMENTS")
@XmlRootElement(name = "DELETED_DOCUMENTS")
@XmlRootElement(name = "DELETED_DOCUMENTS", namespace="http://cn.schneider-electric.com/portals_integrations")
public class DELETED_DOCUMENTS {
String MSGID;
......
......@@ -4,11 +4,13 @@ import java.util.List;
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_005_PERFORM_INVOICE")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="Z_MT_SD_005_PERFORM_INVOICE", namespace="http://schneider-distributor.com/")
public class Z_MT_SD_005_PERFORM_INVOICE {
Z_DT_SD_005_PERFORM_INVOICE Z_DT_SD_005_PERFORM_INVOICE;
......
......@@ -4,10 +4,12 @@ import java.util.List;
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_007_SHIPPING_NOTFIRMATION_FILE")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE", namespace="http://schneider-distributor.com/")
public class Z_MT_SD_007_SHIPPING_NOTFIRMATION_FILE {
Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE Z_DT_SD_007_SHIPPING_NOTIFICATION_FILE;
......
......@@ -9,7 +9,7 @@ import com.egolm.sso.util.XMLUtil;
public class ConfirmQuotationTest {
public static void main(String[] args) throws Exception {
String wsdlLocation = "http://localhost:8080/sso/services/confirm_quotation?wsdl";
String wsdlLocation = "http://localhost:8080/api/services/confirm_quotation?wsdl";
String namespace = "http://confirm_quotation.sso.egolm.com";
String serviceName = "ConfirmQuotationService";
ConfirmQuotationService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, ConfirmQuotationService.class);
......
......@@ -9,7 +9,7 @@ import com.egolm.sso.util.XMLUtil;
public class DeletionServiceTest {
public static void main(String[] args) throws Exception {
String wsdlLocation = "http://localhost:8080/sso/services/dn_deletion?wsdl";
String wsdlLocation = "http://localhost:8080/api/services/dn_deletion?wsdl";
String namespace = "http://dn_deletion.sso.egolm.com";
String serviceName = "DNDeletionService";
DNDeletionService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, DNDeletionService.class);
......
......@@ -9,7 +9,7 @@ import com.egolm.sso.util.XMLUtil;
public class PrformaInvoiceServiceTest {
public static void main(String[] args) throws Exception {
String wsdlLocation = "http://localhost:8080/sso/services/prforma_invoice?wsdl";
String wsdlLocation = "http://localhost:8080/api/services/prforma_invoice?wsdl";
String namespace = "http://prforma_invoice.sso.egolm.com";
String serviceName = "PrformaInvoiceService";
PrformaInvoiceService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, PrformaInvoiceService.class);
......
......@@ -9,7 +9,7 @@ import com.egolm.sso.util.XMLUtil;
public class PriceListServiceTest {
public static void main(String[] args) throws Exception {
String wsdlLocation = "http://localhost:8080/sso/services/price_list?wsdl";
String wsdlLocation = "http://localhost:8080/api/services/price_list?wsdl";
String namespace = "http://price_list.sso.egolm.com";
String serviceName = "PriceListService";
PriceListService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, PriceListService.class);
......
......@@ -9,8 +9,8 @@ import com.egolm.sso.util.XMLUtil;
public class ShippingNotificationTest {
public static void main(String[] args) throws Exception {
String wsdlLocation = "http://localhost:8080/sso/services/shipping_notification?wsdl";
String namespace = "http://shipping_notification.sso.egolm.com";
String wsdlLocation = "http://localhost:8080/api/services/shipping_notification?wsdl";
String namespace = "http://shipping_notfirmation.sso.egolm.com";
String serviceName = "ShippingNotificationService";
ShippingNotificationService service = ServiceFactory.create(wsdlLocation, namespace, serviceName, ShippingNotificationService.class);
String XML = StringUtil.readText("D:/data/sso/007.XML");
......
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