From 00ea5a0283378d9c0c43832a66faa023188668f4 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 13 May 2013 15:47:39 +0300 Subject: Added emea: ns --- gsxws/core.py | 2 +- gsxws/repairs.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gsxws/core.py b/gsxws/core.py index d9ce56b..52d09c3 100644 --- a/gsxws/core.py +++ b/gsxws/core.py @@ -200,8 +200,8 @@ class GsxRequest(object): self.env.set("xmlns:core", "http://gsxws.apple.com/elements/core") self.env.set("xmlns:glob", "http://gsxws.apple.com/elements/global") self.env.set("xmlns:asp", "http://gsxws.apple.com/elements/core/asp") - self.env.set("xmlns:am", "http://gsxws.apple.com/elements/core/asp/am") self.env.set("xmlns:soapenv", "http://schemas.xmlsoap.org/soap/envelope/") + self.env.set("xmlns:emea", "http://gsxws.apple.com/elements/core/asp/emea") ET.SubElement(self.env, "soapenv:Header") self.body = ET.SubElement(self.env, "soapenv:Body") diff --git a/gsxws/repairs.py b/gsxws/repairs.py index 6e84477..2a17144 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -196,6 +196,9 @@ class CarryInRepair(Repair): >>> CarryInRepair(customerAddress=Customer(firstName='Filipp'))._data """ + + _namespace = "emea:" + shipTo = "" fileName = "" fileData = "" -- cgit v1.2.3