| 22598 |
amit.gupta |
1 |
/**
|
|
|
2 |
* BasicHttpBinding_Service_1_01Stub.java
|
|
|
3 |
*
|
|
|
4 |
* This file was auto-generated from WSDL
|
|
|
5 |
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
package com.aramex.stub;
|
|
|
9 |
|
|
|
10 |
public class BasicHttpBinding_Service_1_01Stub extends org.apache.axis.client.Stub implements com.aramex.stub.Service_1_0_PortType {
|
|
|
11 |
private java.util.Vector cachedSerClasses = new java.util.Vector();
|
|
|
12 |
private java.util.Vector cachedSerQNames = new java.util.Vector();
|
|
|
13 |
private java.util.Vector cachedSerFactories = new java.util.Vector();
|
|
|
14 |
private java.util.Vector cachedDeserFactories = new java.util.Vector();
|
|
|
15 |
|
|
|
16 |
static org.apache.axis.description.OperationDesc [] _operations;
|
|
|
17 |
|
|
|
18 |
static {
|
|
|
19 |
_operations = new org.apache.axis.description.OperationDesc[8];
|
|
|
20 |
_initOperationDesc1();
|
|
|
21 |
}
|
|
|
22 |
|
|
|
23 |
private static void _initOperationDesc1(){
|
|
|
24 |
org.apache.axis.description.OperationDesc oper;
|
|
|
25 |
org.apache.axis.description.ParameterDesc param;
|
|
|
26 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
27 |
oper.setName("CreateShipments");
|
|
|
28 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentCreationRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ShipmentCreationRequest"), com.aramex.stub.ShipmentCreationRequest.class, false, false);
|
|
|
29 |
oper.addParameter(param);
|
|
|
30 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ShipmentCreationResponse"));
|
|
|
31 |
oper.setReturnClass(com.aramex.stub.ShipmentCreationResponse.class);
|
|
|
32 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentCreationResponse"));
|
|
|
33 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
34 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
35 |
_operations[0] = oper;
|
|
|
36 |
|
|
|
37 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
38 |
oper.setName("PrintLabel");
|
|
|
39 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "LabelPrintingRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LabelPrintingRequest"), com.aramex.stub.LabelPrintingRequest.class, false, false);
|
|
|
40 |
oper.addParameter(param);
|
|
|
41 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LabelPrintingResponse"));
|
|
|
42 |
oper.setReturnClass(com.aramex.stub.LabelPrintingResponse.class);
|
|
|
43 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "LabelPrintingResponse"));
|
|
|
44 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
45 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
46 |
_operations[1] = oper;
|
|
|
47 |
|
|
|
48 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
49 |
oper.setName("CreatePickup");
|
|
|
50 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupCreationRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCreationRequest"), com.aramex.stub.PickupCreationRequest.class, false, false);
|
|
|
51 |
oper.addParameter(param);
|
|
|
52 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCreationResponse"));
|
|
|
53 |
oper.setReturnClass(com.aramex.stub.PickupCreationResponse.class);
|
|
|
54 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupCreationResponse"));
|
|
|
55 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
56 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
57 |
_operations[2] = oper;
|
|
|
58 |
|
|
|
59 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
60 |
oper.setName("CancelPickup");
|
|
|
61 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupCancelationRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCancelationRequest"), com.aramex.stub.PickupCancelationRequest.class, false, false);
|
|
|
62 |
oper.addParameter(param);
|
|
|
63 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCancelationResponse"));
|
|
|
64 |
oper.setReturnClass(com.aramex.stub.PickupCancelationResponse.class);
|
|
|
65 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupCancelationResponse"));
|
|
|
66 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
67 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
68 |
_operations[3] = oper;
|
|
|
69 |
|
|
|
70 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
71 |
oper.setName("ReserveShipmentNumberRange");
|
|
|
72 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ReserveRangeRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ReserveRangeRequest"), com.aramex.stub.ReserveRangeRequest.class, false, false);
|
|
|
73 |
oper.addParameter(param);
|
|
|
74 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ReserveRangeResponse"));
|
|
|
75 |
oper.setReturnClass(com.aramex.stub.ReserveRangeResponse.class);
|
|
|
76 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ReserveRangeResponse"));
|
|
|
77 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
78 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
79 |
_operations[4] = oper;
|
|
|
80 |
|
|
|
81 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
82 |
oper.setName("GetLastShipmentsNumbersRange");
|
|
|
83 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "LastReservedShipmentNumberRangeRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LastReservedShipmentNumberRangeRequest"), com.aramex.stub.LastReservedShipmentNumberRangeRequest.class, false, false);
|
|
|
84 |
oper.addParameter(param);
|
|
|
85 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LastReservedShipmentNumberRangeResponse"));
|
|
|
86 |
oper.setReturnClass(com.aramex.stub.LastReservedShipmentNumberRangeResponse.class);
|
|
|
87 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "LastReservedShipmentNumberRangeResponse"));
|
|
|
88 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
89 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
90 |
_operations[5] = oper;
|
|
|
91 |
|
|
|
92 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
93 |
oper.setName("ScheduleDelivery");
|
|
|
94 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDeliveryRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ScheduledDeliveryRequest"), com.aramex.stub.ScheduledDeliveryRequest.class, false, false);
|
|
|
95 |
oper.addParameter(param);
|
|
|
96 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ScheduledDeliveryResponse"));
|
|
|
97 |
oper.setReturnClass(com.aramex.stub.ScheduledDeliveryResponse.class);
|
|
|
98 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDeliveryResponse"));
|
|
|
99 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
100 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
101 |
_operations[6] = oper;
|
|
|
102 |
|
|
|
103 |
oper = new org.apache.axis.description.OperationDesc();
|
|
|
104 |
oper.setName("HoldShipments");
|
|
|
105 |
param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "HoldCreationRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">HoldCreationRequest"), com.aramex.stub.HoldCreationRequest.class, false, false);
|
|
|
106 |
oper.addParameter(param);
|
|
|
107 |
oper.setReturnType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">HoldCreationResponse"));
|
|
|
108 |
oper.setReturnClass(com.aramex.stub.HoldCreationResponse.class);
|
|
|
109 |
oper.setReturnQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "HoldCreationResponse"));
|
|
|
110 |
oper.setStyle(org.apache.axis.constants.Style.DOCUMENT);
|
|
|
111 |
oper.setUse(org.apache.axis.constants.Use.LITERAL);
|
|
|
112 |
_operations[7] = oper;
|
|
|
113 |
|
|
|
114 |
}
|
|
|
115 |
|
|
|
116 |
public BasicHttpBinding_Service_1_01Stub() throws org.apache.axis.AxisFault {
|
|
|
117 |
this(null);
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
public BasicHttpBinding_Service_1_01Stub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
|
|
|
121 |
this(service);
|
|
|
122 |
super.cachedEndpoint = endpointURL;
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
public BasicHttpBinding_Service_1_01Stub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
|
|
|
126 |
if (service == null) {
|
|
|
127 |
super.service = new org.apache.axis.client.Service();
|
|
|
128 |
} else {
|
|
|
129 |
super.service = service;
|
|
|
130 |
}
|
|
|
131 |
((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
|
|
|
132 |
java.lang.Class cls;
|
|
|
133 |
javax.xml.namespace.QName qName;
|
|
|
134 |
javax.xml.namespace.QName qName2;
|
|
|
135 |
java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
|
|
|
136 |
java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
|
|
|
137 |
java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
|
|
|
138 |
java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
|
|
|
139 |
java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
|
|
|
140 |
java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
|
|
|
141 |
java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
|
|
|
142 |
java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
|
|
|
143 |
java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
|
|
|
144 |
java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
|
|
|
145 |
qName = new javax.xml.namespace.QName("http://schemas.microsoft.com/2003/10/Serialization/", "guid");
|
|
|
146 |
cachedSerQNames.add(qName);
|
|
|
147 |
cls = java.lang.String.class;
|
|
|
148 |
cachedSerClasses.add(cls);
|
|
|
149 |
cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName));
|
|
|
150 |
cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName));
|
|
|
151 |
|
|
|
152 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">HoldCreationRequest");
|
|
|
153 |
cachedSerQNames.add(qName);
|
|
|
154 |
cls = com.aramex.stub.HoldCreationRequest.class;
|
|
|
155 |
cachedSerClasses.add(cls);
|
|
|
156 |
cachedSerFactories.add(beansf);
|
|
|
157 |
cachedDeserFactories.add(beandf);
|
|
|
158 |
|
|
|
159 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">HoldCreationResponse");
|
|
|
160 |
cachedSerQNames.add(qName);
|
|
|
161 |
cls = com.aramex.stub.HoldCreationResponse.class;
|
|
|
162 |
cachedSerClasses.add(cls);
|
|
|
163 |
cachedSerFactories.add(beansf);
|
|
|
164 |
cachedDeserFactories.add(beandf);
|
|
|
165 |
|
|
|
166 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LabelPrintingRequest");
|
|
|
167 |
cachedSerQNames.add(qName);
|
|
|
168 |
cls = com.aramex.stub.LabelPrintingRequest.class;
|
|
|
169 |
cachedSerClasses.add(cls);
|
|
|
170 |
cachedSerFactories.add(beansf);
|
|
|
171 |
cachedDeserFactories.add(beandf);
|
|
|
172 |
|
|
|
173 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LabelPrintingResponse");
|
|
|
174 |
cachedSerQNames.add(qName);
|
|
|
175 |
cls = com.aramex.stub.LabelPrintingResponse.class;
|
|
|
176 |
cachedSerClasses.add(cls);
|
|
|
177 |
cachedSerFactories.add(beansf);
|
|
|
178 |
cachedDeserFactories.add(beandf);
|
|
|
179 |
|
|
|
180 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LastReservedShipmentNumberRangeRequest");
|
|
|
181 |
cachedSerQNames.add(qName);
|
|
|
182 |
cls = com.aramex.stub.LastReservedShipmentNumberRangeRequest.class;
|
|
|
183 |
cachedSerClasses.add(cls);
|
|
|
184 |
cachedSerFactories.add(beansf);
|
|
|
185 |
cachedDeserFactories.add(beandf);
|
|
|
186 |
|
|
|
187 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">LastReservedShipmentNumberRangeResponse");
|
|
|
188 |
cachedSerQNames.add(qName);
|
|
|
189 |
cls = com.aramex.stub.LastReservedShipmentNumberRangeResponse.class;
|
|
|
190 |
cachedSerClasses.add(cls);
|
|
|
191 |
cachedSerFactories.add(beansf);
|
|
|
192 |
cachedDeserFactories.add(beandf);
|
|
|
193 |
|
|
|
194 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCancelationRequest");
|
|
|
195 |
cachedSerQNames.add(qName);
|
|
|
196 |
cls = com.aramex.stub.PickupCancelationRequest.class;
|
|
|
197 |
cachedSerClasses.add(cls);
|
|
|
198 |
cachedSerFactories.add(beansf);
|
|
|
199 |
cachedDeserFactories.add(beandf);
|
|
|
200 |
|
|
|
201 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCancelationResponse");
|
|
|
202 |
cachedSerQNames.add(qName);
|
|
|
203 |
cls = com.aramex.stub.PickupCancelationResponse.class;
|
|
|
204 |
cachedSerClasses.add(cls);
|
|
|
205 |
cachedSerFactories.add(beansf);
|
|
|
206 |
cachedDeserFactories.add(beandf);
|
|
|
207 |
|
|
|
208 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCreationRequest");
|
|
|
209 |
cachedSerQNames.add(qName);
|
|
|
210 |
cls = com.aramex.stub.PickupCreationRequest.class;
|
|
|
211 |
cachedSerClasses.add(cls);
|
|
|
212 |
cachedSerFactories.add(beansf);
|
|
|
213 |
cachedDeserFactories.add(beandf);
|
|
|
214 |
|
|
|
215 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">PickupCreationResponse");
|
|
|
216 |
cachedSerQNames.add(qName);
|
|
|
217 |
cls = com.aramex.stub.PickupCreationResponse.class;
|
|
|
218 |
cachedSerClasses.add(cls);
|
|
|
219 |
cachedSerFactories.add(beansf);
|
|
|
220 |
cachedDeserFactories.add(beandf);
|
|
|
221 |
|
|
|
222 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ReserveRangeRequest");
|
|
|
223 |
cachedSerQNames.add(qName);
|
|
|
224 |
cls = com.aramex.stub.ReserveRangeRequest.class;
|
|
|
225 |
cachedSerClasses.add(cls);
|
|
|
226 |
cachedSerFactories.add(beansf);
|
|
|
227 |
cachedDeserFactories.add(beandf);
|
|
|
228 |
|
|
|
229 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ReserveRangeResponse");
|
|
|
230 |
cachedSerQNames.add(qName);
|
|
|
231 |
cls = com.aramex.stub.ReserveRangeResponse.class;
|
|
|
232 |
cachedSerClasses.add(cls);
|
|
|
233 |
cachedSerFactories.add(beansf);
|
|
|
234 |
cachedDeserFactories.add(beandf);
|
|
|
235 |
|
|
|
236 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ScheduledDeliveryRequest");
|
|
|
237 |
cachedSerQNames.add(qName);
|
|
|
238 |
cls = com.aramex.stub.ScheduledDeliveryRequest.class;
|
|
|
239 |
cachedSerClasses.add(cls);
|
|
|
240 |
cachedSerFactories.add(beansf);
|
|
|
241 |
cachedDeserFactories.add(beandf);
|
|
|
242 |
|
|
|
243 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ScheduledDeliveryResponse");
|
|
|
244 |
cachedSerQNames.add(qName);
|
|
|
245 |
cls = com.aramex.stub.ScheduledDeliveryResponse.class;
|
|
|
246 |
cachedSerClasses.add(cls);
|
|
|
247 |
cachedSerFactories.add(beansf);
|
|
|
248 |
cachedDeserFactories.add(beandf);
|
|
|
249 |
|
|
|
250 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ShipmentCreationRequest");
|
|
|
251 |
cachedSerQNames.add(qName);
|
|
|
252 |
cls = com.aramex.stub.ShipmentCreationRequest.class;
|
|
|
253 |
cachedSerClasses.add(cls);
|
|
|
254 |
cachedSerFactories.add(beansf);
|
|
|
255 |
cachedDeserFactories.add(beandf);
|
|
|
256 |
|
|
|
257 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", ">ShipmentCreationResponse");
|
|
|
258 |
cachedSerQNames.add(qName);
|
|
|
259 |
cls = com.aramex.stub.ShipmentCreationResponse.class;
|
|
|
260 |
cachedSerClasses.add(cls);
|
|
|
261 |
cachedSerFactories.add(beansf);
|
|
|
262 |
cachedDeserFactories.add(beandf);
|
|
|
263 |
|
|
|
264 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Address");
|
|
|
265 |
cachedSerQNames.add(qName);
|
|
|
266 |
cls = com.aramex.stub.Address.class;
|
|
|
267 |
cachedSerClasses.add(cls);
|
|
|
268 |
cachedSerFactories.add(beansf);
|
|
|
269 |
cachedDeserFactories.add(beandf);
|
|
|
270 |
|
|
|
271 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfAttachment");
|
|
|
272 |
cachedSerQNames.add(qName);
|
|
|
273 |
cls = com.aramex.stub.Attachment[].class;
|
|
|
274 |
cachedSerClasses.add(cls);
|
|
|
275 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachment");
|
|
|
276 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachment");
|
|
|
277 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
278 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
279 |
|
|
|
280 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfDimensions");
|
|
|
281 |
cachedSerQNames.add(qName);
|
|
|
282 |
cls = com.aramex.stub.Dimensions[].class;
|
|
|
283 |
cachedSerClasses.add(cls);
|
|
|
284 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions");
|
|
|
285 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions");
|
|
|
286 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
287 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
288 |
|
|
|
289 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfExistingShipment");
|
|
|
290 |
cachedSerQNames.add(qName);
|
|
|
291 |
cls = com.aramex.stub.ExistingShipment[].class;
|
|
|
292 |
cachedSerClasses.add(cls);
|
|
|
293 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ExistingShipment");
|
|
|
294 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ExistingShipment");
|
|
|
295 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
296 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
297 |
|
|
|
298 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfNotification");
|
|
|
299 |
cachedSerQNames.add(qName);
|
|
|
300 |
cls = com.aramex.stub.Notification[].class;
|
|
|
301 |
cachedSerClasses.add(cls);
|
|
|
302 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification");
|
|
|
303 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification");
|
|
|
304 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
305 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
306 |
|
|
|
307 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfPickupItemDetail");
|
|
|
308 |
cachedSerQNames.add(qName);
|
|
|
309 |
cls = com.aramex.stub.PickupItemDetail[].class;
|
|
|
310 |
cachedSerClasses.add(cls);
|
|
|
311 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupItemDetail");
|
|
|
312 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupItemDetail");
|
|
|
313 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
314 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
315 |
|
|
|
316 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfProcessedShipment");
|
|
|
317 |
cachedSerQNames.add(qName);
|
|
|
318 |
cls = com.aramex.stub.ProcessedShipment[].class;
|
|
|
319 |
cachedSerClasses.add(cls);
|
|
|
320 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipment");
|
|
|
321 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipment");
|
|
|
322 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
323 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
324 |
|
|
|
325 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfProcessedShipmentAttachment");
|
|
|
326 |
cachedSerQNames.add(qName);
|
|
|
327 |
cls = com.aramex.stub.ProcessedShipmentAttachment[].class;
|
|
|
328 |
cachedSerClasses.add(cls);
|
|
|
329 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentAttachment");
|
|
|
330 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentAttachment");
|
|
|
331 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
332 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
333 |
|
|
|
334 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfProcessedShipmentHold");
|
|
|
335 |
cachedSerQNames.add(qName);
|
|
|
336 |
cls = com.aramex.stub.ProcessedShipmentHold[].class;
|
|
|
337 |
cachedSerClasses.add(cls);
|
|
|
338 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHold");
|
|
|
339 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHold");
|
|
|
340 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
341 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
342 |
|
|
|
343 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfShipment");
|
|
|
344 |
cachedSerQNames.add(qName);
|
|
|
345 |
cls = com.aramex.stub.Shipment[].class;
|
|
|
346 |
cachedSerClasses.add(cls);
|
|
|
347 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Shipment");
|
|
|
348 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Shipment");
|
|
|
349 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
350 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
351 |
|
|
|
352 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfShipmentHoldDetails");
|
|
|
353 |
cachedSerQNames.add(qName);
|
|
|
354 |
cls = com.aramex.stub.ShipmentHoldDetails[].class;
|
|
|
355 |
cachedSerClasses.add(cls);
|
|
|
356 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentHoldDetails");
|
|
|
357 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentHoldDetails");
|
|
|
358 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
359 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
360 |
|
|
|
361 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfShipmentItem");
|
|
|
362 |
cachedSerQNames.add(qName);
|
|
|
363 |
cls = com.aramex.stub.ShipmentItem[].class;
|
|
|
364 |
cachedSerClasses.add(cls);
|
|
|
365 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem");
|
|
|
366 |
qName2 = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem");
|
|
|
367 |
cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
|
|
|
368 |
cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
|
|
|
369 |
|
|
|
370 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachment");
|
|
|
371 |
cachedSerQNames.add(qName);
|
|
|
372 |
cls = com.aramex.stub.Attachment.class;
|
|
|
373 |
cachedSerClasses.add(cls);
|
|
|
374 |
cachedSerFactories.add(beansf);
|
|
|
375 |
cachedDeserFactories.add(beandf);
|
|
|
376 |
|
|
|
377 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ClientInfo");
|
|
|
378 |
cachedSerQNames.add(qName);
|
|
|
379 |
cls = com.aramex.stub.ClientInfo.class;
|
|
|
380 |
cachedSerClasses.add(cls);
|
|
|
381 |
cachedSerFactories.add(beansf);
|
|
|
382 |
cachedDeserFactories.add(beandf);
|
|
|
383 |
|
|
|
384 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Contact");
|
|
|
385 |
cachedSerQNames.add(qName);
|
|
|
386 |
cls = com.aramex.stub.Contact.class;
|
|
|
387 |
cachedSerClasses.add(cls);
|
|
|
388 |
cachedSerFactories.add(beansf);
|
|
|
389 |
cachedDeserFactories.add(beandf);
|
|
|
390 |
|
|
|
391 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "DeliveryInstructions");
|
|
|
392 |
cachedSerQNames.add(qName);
|
|
|
393 |
cls = com.aramex.stub.DeliveryInstructions.class;
|
|
|
394 |
cachedSerClasses.add(cls);
|
|
|
395 |
cachedSerFactories.add(beansf);
|
|
|
396 |
cachedDeserFactories.add(beandf);
|
|
|
397 |
|
|
|
398 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions");
|
|
|
399 |
cachedSerQNames.add(qName);
|
|
|
400 |
cls = com.aramex.stub.Dimensions.class;
|
|
|
401 |
cachedSerClasses.add(cls);
|
|
|
402 |
cachedSerFactories.add(beansf);
|
|
|
403 |
cachedDeserFactories.add(beandf);
|
|
|
404 |
|
|
|
405 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ExistingShipment");
|
|
|
406 |
cachedSerQNames.add(qName);
|
|
|
407 |
cls = com.aramex.stub.ExistingShipment.class;
|
|
|
408 |
cachedSerClasses.add(cls);
|
|
|
409 |
cachedSerFactories.add(beansf);
|
|
|
410 |
cachedDeserFactories.add(beandf);
|
|
|
411 |
|
|
|
412 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "LabelInfo");
|
|
|
413 |
cachedSerQNames.add(qName);
|
|
|
414 |
cls = com.aramex.stub.LabelInfo.class;
|
|
|
415 |
cachedSerClasses.add(cls);
|
|
|
416 |
cachedSerFactories.add(beansf);
|
|
|
417 |
cachedDeserFactories.add(beandf);
|
|
|
418 |
|
|
|
419 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Money");
|
|
|
420 |
cachedSerQNames.add(qName);
|
|
|
421 |
cls = com.aramex.stub.Money.class;
|
|
|
422 |
cachedSerClasses.add(cls);
|
|
|
423 |
cachedSerFactories.add(beansf);
|
|
|
424 |
cachedDeserFactories.add(beandf);
|
|
|
425 |
|
|
|
426 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification");
|
|
|
427 |
cachedSerQNames.add(qName);
|
|
|
428 |
cls = com.aramex.stub.Notification.class;
|
|
|
429 |
cachedSerClasses.add(cls);
|
|
|
430 |
cachedSerFactories.add(beansf);
|
|
|
431 |
cachedDeserFactories.add(beandf);
|
|
|
432 |
|
|
|
433 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Party");
|
|
|
434 |
cachedSerQNames.add(qName);
|
|
|
435 |
cls = com.aramex.stub.Party.class;
|
|
|
436 |
cachedSerClasses.add(cls);
|
|
|
437 |
cachedSerFactories.add(beansf);
|
|
|
438 |
cachedDeserFactories.add(beandf);
|
|
|
439 |
|
|
|
440 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Pickup");
|
|
|
441 |
cachedSerQNames.add(qName);
|
|
|
442 |
cls = com.aramex.stub.Pickup.class;
|
|
|
443 |
cachedSerClasses.add(cls);
|
|
|
444 |
cachedSerFactories.add(beansf);
|
|
|
445 |
cachedDeserFactories.add(beandf);
|
|
|
446 |
|
|
|
447 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PickupItemDetail");
|
|
|
448 |
cachedSerQNames.add(qName);
|
|
|
449 |
cls = com.aramex.stub.PickupItemDetail.class;
|
|
|
450 |
cachedSerClasses.add(cls);
|
|
|
451 |
cachedSerFactories.add(beansf);
|
|
|
452 |
cachedDeserFactories.add(beandf);
|
|
|
453 |
|
|
|
454 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedPickup");
|
|
|
455 |
cachedSerQNames.add(qName);
|
|
|
456 |
cls = com.aramex.stub.ProcessedPickup.class;
|
|
|
457 |
cachedSerClasses.add(cls);
|
|
|
458 |
cachedSerFactories.add(beansf);
|
|
|
459 |
cachedDeserFactories.add(beandf);
|
|
|
460 |
|
|
|
461 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipment");
|
|
|
462 |
cachedSerQNames.add(qName);
|
|
|
463 |
cls = com.aramex.stub.ProcessedShipment.class;
|
|
|
464 |
cachedSerClasses.add(cls);
|
|
|
465 |
cachedSerFactories.add(beansf);
|
|
|
466 |
cachedDeserFactories.add(beandf);
|
|
|
467 |
|
|
|
468 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentAttachment");
|
|
|
469 |
cachedSerQNames.add(qName);
|
|
|
470 |
cls = com.aramex.stub.ProcessedShipmentAttachment.class;
|
|
|
471 |
cachedSerClasses.add(cls);
|
|
|
472 |
cachedSerFactories.add(beansf);
|
|
|
473 |
cachedDeserFactories.add(beandf);
|
|
|
474 |
|
|
|
475 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentAttachmentType");
|
|
|
476 |
cachedSerQNames.add(qName);
|
|
|
477 |
cls = com.aramex.stub.ProcessedShipmentAttachmentType.class;
|
|
|
478 |
cachedSerClasses.add(cls);
|
|
|
479 |
cachedSerFactories.add(enumsf);
|
|
|
480 |
cachedDeserFactories.add(enumdf);
|
|
|
481 |
|
|
|
482 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentDetails");
|
|
|
483 |
cachedSerQNames.add(qName);
|
|
|
484 |
cls = com.aramex.stub.ProcessedShipmentDetails.class;
|
|
|
485 |
cachedSerClasses.add(cls);
|
|
|
486 |
cachedSerFactories.add(beansf);
|
|
|
487 |
cachedDeserFactories.add(beandf);
|
|
|
488 |
|
|
|
489 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHold");
|
|
|
490 |
cachedSerQNames.add(qName);
|
|
|
491 |
cls = com.aramex.stub.ProcessedShipmentHold.class;
|
|
|
492 |
cachedSerClasses.add(cls);
|
|
|
493 |
cachedSerFactories.add(beansf);
|
|
|
494 |
cachedDeserFactories.add(beandf);
|
|
|
495 |
|
|
|
496 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ScheduledDelivery");
|
|
|
497 |
cachedSerQNames.add(qName);
|
|
|
498 |
cls = com.aramex.stub.ScheduledDelivery.class;
|
|
|
499 |
cachedSerClasses.add(cls);
|
|
|
500 |
cachedSerFactories.add(beansf);
|
|
|
501 |
cachedDeserFactories.add(beandf);
|
|
|
502 |
|
|
|
503 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Shipment");
|
|
|
504 |
cachedSerQNames.add(qName);
|
|
|
505 |
cls = com.aramex.stub.Shipment.class;
|
|
|
506 |
cachedSerClasses.add(cls);
|
|
|
507 |
cachedSerFactories.add(beansf);
|
|
|
508 |
cachedDeserFactories.add(beandf);
|
|
|
509 |
|
|
|
510 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentDetails");
|
|
|
511 |
cachedSerQNames.add(qName);
|
|
|
512 |
cls = com.aramex.stub.ShipmentDetails.class;
|
|
|
513 |
cachedSerClasses.add(cls);
|
|
|
514 |
cachedSerFactories.add(beansf);
|
|
|
515 |
cachedDeserFactories.add(beandf);
|
|
|
516 |
|
|
|
517 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentHoldDetails");
|
|
|
518 |
cachedSerQNames.add(qName);
|
|
|
519 |
cls = com.aramex.stub.ShipmentHoldDetails.class;
|
|
|
520 |
cachedSerClasses.add(cls);
|
|
|
521 |
cachedSerFactories.add(beansf);
|
|
|
522 |
cachedDeserFactories.add(beandf);
|
|
|
523 |
|
|
|
524 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentItem");
|
|
|
525 |
cachedSerQNames.add(qName);
|
|
|
526 |
cls = com.aramex.stub.ShipmentItem.class;
|
|
|
527 |
cachedSerClasses.add(cls);
|
|
|
528 |
cachedSerFactories.add(beansf);
|
|
|
529 |
cachedDeserFactories.add(beandf);
|
|
|
530 |
|
|
|
531 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ShipmentLabel");
|
|
|
532 |
cachedSerQNames.add(qName);
|
|
|
533 |
cls = com.aramex.stub.ShipmentLabel.class;
|
|
|
534 |
cachedSerClasses.add(cls);
|
|
|
535 |
cachedSerFactories.add(beansf);
|
|
|
536 |
cachedDeserFactories.add(beandf);
|
|
|
537 |
|
|
|
538 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Transaction");
|
|
|
539 |
cachedSerQNames.add(qName);
|
|
|
540 |
cls = com.aramex.stub.Transaction.class;
|
|
|
541 |
cachedSerClasses.add(cls);
|
|
|
542 |
cachedSerFactories.add(beansf);
|
|
|
543 |
cachedDeserFactories.add(beandf);
|
|
|
544 |
|
|
|
545 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Volume");
|
|
|
546 |
cachedSerQNames.add(qName);
|
|
|
547 |
cls = com.aramex.stub.Volume.class;
|
|
|
548 |
cachedSerClasses.add(cls);
|
|
|
549 |
cachedSerFactories.add(beansf);
|
|
|
550 |
cachedDeserFactories.add(beandf);
|
|
|
551 |
|
|
|
552 |
qName = new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Weight");
|
|
|
553 |
cachedSerQNames.add(qName);
|
|
|
554 |
cls = com.aramex.stub.Weight.class;
|
|
|
555 |
cachedSerClasses.add(cls);
|
|
|
556 |
cachedSerFactories.add(beansf);
|
|
|
557 |
cachedDeserFactories.add(beandf);
|
|
|
558 |
|
|
|
559 |
}
|
|
|
560 |
|
|
|
561 |
protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
|
|
|
562 |
try {
|
|
|
563 |
org.apache.axis.client.Call _call = super._createCall();
|
|
|
564 |
if (super.maintainSessionSet) {
|
|
|
565 |
_call.setMaintainSession(super.maintainSession);
|
|
|
566 |
}
|
|
|
567 |
if (super.cachedUsername != null) {
|
|
|
568 |
_call.setUsername(super.cachedUsername);
|
|
|
569 |
}
|
|
|
570 |
if (super.cachedPassword != null) {
|
|
|
571 |
_call.setPassword(super.cachedPassword);
|
|
|
572 |
}
|
|
|
573 |
if (super.cachedEndpoint != null) {
|
|
|
574 |
_call.setTargetEndpointAddress(super.cachedEndpoint);
|
|
|
575 |
}
|
|
|
576 |
if (super.cachedTimeout != null) {
|
|
|
577 |
_call.setTimeout(super.cachedTimeout);
|
|
|
578 |
}
|
|
|
579 |
if (super.cachedPortName != null) {
|
|
|
580 |
_call.setPortName(super.cachedPortName);
|
|
|
581 |
}
|
|
|
582 |
java.util.Enumeration keys = super.cachedProperties.keys();
|
|
|
583 |
while (keys.hasMoreElements()) {
|
|
|
584 |
java.lang.String key = (java.lang.String) keys.nextElement();
|
|
|
585 |
_call.setProperty(key, super.cachedProperties.get(key));
|
|
|
586 |
}
|
|
|
587 |
// All the type mapping information is registered
|
|
|
588 |
// when the first call is made.
|
|
|
589 |
// The type mapping information is actually registered in
|
|
|
590 |
// the TypeMappingRegistry of the service, which
|
|
|
591 |
// is the reason why registration is only needed for the first call.
|
|
|
592 |
synchronized (this) {
|
|
|
593 |
if (firstCall()) {
|
|
|
594 |
// must set encoding style before registering serializers
|
|
|
595 |
_call.setEncodingStyle(null);
|
|
|
596 |
for (int i = 0; i < cachedSerFactories.size(); ++i) {
|
|
|
597 |
java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
|
|
|
598 |
javax.xml.namespace.QName qName =
|
|
|
599 |
(javax.xml.namespace.QName) cachedSerQNames.get(i);
|
|
|
600 |
java.lang.Object x = cachedSerFactories.get(i);
|
|
|
601 |
if (x instanceof Class) {
|
|
|
602 |
java.lang.Class sf = (java.lang.Class)
|
|
|
603 |
cachedSerFactories.get(i);
|
|
|
604 |
java.lang.Class df = (java.lang.Class)
|
|
|
605 |
cachedDeserFactories.get(i);
|
|
|
606 |
_call.registerTypeMapping(cls, qName, sf, df, false);
|
|
|
607 |
}
|
|
|
608 |
else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
|
|
|
609 |
org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
|
|
|
610 |
cachedSerFactories.get(i);
|
|
|
611 |
org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
|
|
|
612 |
cachedDeserFactories.get(i);
|
|
|
613 |
_call.registerTypeMapping(cls, qName, sf, df, false);
|
|
|
614 |
}
|
|
|
615 |
}
|
|
|
616 |
}
|
|
|
617 |
}
|
|
|
618 |
return _call;
|
|
|
619 |
}
|
|
|
620 |
catch (java.lang.Throwable _t) {
|
|
|
621 |
throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
|
|
|
622 |
}
|
|
|
623 |
}
|
|
|
624 |
|
|
|
625 |
public com.aramex.stub.ShipmentCreationResponse createShipments(com.aramex.stub.ShipmentCreationRequest parameters) throws java.rmi.RemoteException {
|
|
|
626 |
if (super.cachedEndpoint == null) {
|
|
|
627 |
throw new org.apache.axis.NoEndPointException();
|
|
|
628 |
}
|
|
|
629 |
org.apache.axis.client.Call _call = createCall();
|
|
|
630 |
_call.setOperation(_operations[0]);
|
|
|
631 |
_call.setUseSOAPAction(true);
|
|
|
632 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreateShipments");
|
|
|
633 |
_call.setEncodingStyle(null);
|
|
|
634 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
635 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
636 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
637 |
_call.setOperationName(new javax.xml.namespace.QName("", "CreateShipments"));
|
|
|
638 |
|
|
|
639 |
setRequestHeaders(_call);
|
|
|
640 |
setAttachments(_call);
|
|
|
641 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
642 |
|
|
|
643 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
644 |
throw (java.rmi.RemoteException)_resp;
|
|
|
645 |
}
|
|
|
646 |
else {
|
|
|
647 |
extractAttachments(_call);
|
|
|
648 |
try {
|
|
|
649 |
return (com.aramex.stub.ShipmentCreationResponse) _resp;
|
|
|
650 |
} catch (java.lang.Exception _exception) {
|
|
|
651 |
return (com.aramex.stub.ShipmentCreationResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.ShipmentCreationResponse.class);
|
|
|
652 |
}
|
|
|
653 |
}
|
|
|
654 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
655 |
throw axisFaultException;
|
|
|
656 |
}
|
|
|
657 |
}
|
|
|
658 |
|
|
|
659 |
public com.aramex.stub.LabelPrintingResponse printLabel(com.aramex.stub.LabelPrintingRequest parameters) throws java.rmi.RemoteException {
|
|
|
660 |
if (super.cachedEndpoint == null) {
|
|
|
661 |
throw new org.apache.axis.NoEndPointException();
|
|
|
662 |
}
|
|
|
663 |
org.apache.axis.client.Call _call = createCall();
|
|
|
664 |
_call.setOperation(_operations[1]);
|
|
|
665 |
_call.setUseSOAPAction(true);
|
|
|
666 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/PrintLabel");
|
|
|
667 |
_call.setEncodingStyle(null);
|
|
|
668 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
669 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
670 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
671 |
_call.setOperationName(new javax.xml.namespace.QName("", "PrintLabel"));
|
|
|
672 |
|
|
|
673 |
setRequestHeaders(_call);
|
|
|
674 |
setAttachments(_call);
|
|
|
675 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
676 |
|
|
|
677 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
678 |
throw (java.rmi.RemoteException)_resp;
|
|
|
679 |
}
|
|
|
680 |
else {
|
|
|
681 |
extractAttachments(_call);
|
|
|
682 |
try {
|
|
|
683 |
return (com.aramex.stub.LabelPrintingResponse) _resp;
|
|
|
684 |
} catch (java.lang.Exception _exception) {
|
|
|
685 |
return (com.aramex.stub.LabelPrintingResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.LabelPrintingResponse.class);
|
|
|
686 |
}
|
|
|
687 |
}
|
|
|
688 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
689 |
throw axisFaultException;
|
|
|
690 |
}
|
|
|
691 |
}
|
|
|
692 |
|
|
|
693 |
public com.aramex.stub.PickupCreationResponse createPickup(com.aramex.stub.PickupCreationRequest parameters) throws java.rmi.RemoteException {
|
|
|
694 |
if (super.cachedEndpoint == null) {
|
|
|
695 |
throw new org.apache.axis.NoEndPointException();
|
|
|
696 |
}
|
|
|
697 |
org.apache.axis.client.Call _call = createCall();
|
|
|
698 |
_call.setOperation(_operations[2]);
|
|
|
699 |
_call.setUseSOAPAction(true);
|
|
|
700 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreatePickup");
|
|
|
701 |
_call.setEncodingStyle(null);
|
|
|
702 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
703 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
704 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
705 |
_call.setOperationName(new javax.xml.namespace.QName("", "CreatePickup"));
|
|
|
706 |
|
|
|
707 |
setRequestHeaders(_call);
|
|
|
708 |
setAttachments(_call);
|
|
|
709 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
710 |
|
|
|
711 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
712 |
throw (java.rmi.RemoteException)_resp;
|
|
|
713 |
}
|
|
|
714 |
else {
|
|
|
715 |
extractAttachments(_call);
|
|
|
716 |
try {
|
|
|
717 |
return (com.aramex.stub.PickupCreationResponse) _resp;
|
|
|
718 |
} catch (java.lang.Exception _exception) {
|
|
|
719 |
return (com.aramex.stub.PickupCreationResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.PickupCreationResponse.class);
|
|
|
720 |
}
|
|
|
721 |
}
|
|
|
722 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
723 |
throw axisFaultException;
|
|
|
724 |
}
|
|
|
725 |
}
|
|
|
726 |
|
|
|
727 |
public com.aramex.stub.PickupCancelationResponse cancelPickup(com.aramex.stub.PickupCancelationRequest parameters) throws java.rmi.RemoteException {
|
|
|
728 |
if (super.cachedEndpoint == null) {
|
|
|
729 |
throw new org.apache.axis.NoEndPointException();
|
|
|
730 |
}
|
|
|
731 |
org.apache.axis.client.Call _call = createCall();
|
|
|
732 |
_call.setOperation(_operations[3]);
|
|
|
733 |
_call.setUseSOAPAction(true);
|
|
|
734 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CancelPickup");
|
|
|
735 |
_call.setEncodingStyle(null);
|
|
|
736 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
737 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
738 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
739 |
_call.setOperationName(new javax.xml.namespace.QName("", "CancelPickup"));
|
|
|
740 |
|
|
|
741 |
setRequestHeaders(_call);
|
|
|
742 |
setAttachments(_call);
|
|
|
743 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
744 |
|
|
|
745 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
746 |
throw (java.rmi.RemoteException)_resp;
|
|
|
747 |
}
|
|
|
748 |
else {
|
|
|
749 |
extractAttachments(_call);
|
|
|
750 |
try {
|
|
|
751 |
return (com.aramex.stub.PickupCancelationResponse) _resp;
|
|
|
752 |
} catch (java.lang.Exception _exception) {
|
|
|
753 |
return (com.aramex.stub.PickupCancelationResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.PickupCancelationResponse.class);
|
|
|
754 |
}
|
|
|
755 |
}
|
|
|
756 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
757 |
throw axisFaultException;
|
|
|
758 |
}
|
|
|
759 |
}
|
|
|
760 |
|
|
|
761 |
public com.aramex.stub.ReserveRangeResponse reserveShipmentNumberRange(com.aramex.stub.ReserveRangeRequest parameters) throws java.rmi.RemoteException {
|
|
|
762 |
if (super.cachedEndpoint == null) {
|
|
|
763 |
throw new org.apache.axis.NoEndPointException();
|
|
|
764 |
}
|
|
|
765 |
org.apache.axis.client.Call _call = createCall();
|
|
|
766 |
_call.setOperation(_operations[4]);
|
|
|
767 |
_call.setUseSOAPAction(true);
|
|
|
768 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/ReserveShipmentNumberRange");
|
|
|
769 |
_call.setEncodingStyle(null);
|
|
|
770 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
771 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
772 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
773 |
_call.setOperationName(new javax.xml.namespace.QName("", "ReserveShipmentNumberRange"));
|
|
|
774 |
|
|
|
775 |
setRequestHeaders(_call);
|
|
|
776 |
setAttachments(_call);
|
|
|
777 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
778 |
|
|
|
779 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
780 |
throw (java.rmi.RemoteException)_resp;
|
|
|
781 |
}
|
|
|
782 |
else {
|
|
|
783 |
extractAttachments(_call);
|
|
|
784 |
try {
|
|
|
785 |
return (com.aramex.stub.ReserveRangeResponse) _resp;
|
|
|
786 |
} catch (java.lang.Exception _exception) {
|
|
|
787 |
return (com.aramex.stub.ReserveRangeResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.ReserveRangeResponse.class);
|
|
|
788 |
}
|
|
|
789 |
}
|
|
|
790 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
791 |
throw axisFaultException;
|
|
|
792 |
}
|
|
|
793 |
}
|
|
|
794 |
|
|
|
795 |
public com.aramex.stub.LastReservedShipmentNumberRangeResponse getLastShipmentsNumbersRange(com.aramex.stub.LastReservedShipmentNumberRangeRequest parameters) throws java.rmi.RemoteException {
|
|
|
796 |
if (super.cachedEndpoint == null) {
|
|
|
797 |
throw new org.apache.axis.NoEndPointException();
|
|
|
798 |
}
|
|
|
799 |
org.apache.axis.client.Call _call = createCall();
|
|
|
800 |
_call.setOperation(_operations[5]);
|
|
|
801 |
_call.setUseSOAPAction(true);
|
|
|
802 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/GetLastShipmentsNumbersRange");
|
|
|
803 |
_call.setEncodingStyle(null);
|
|
|
804 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
805 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
806 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
807 |
_call.setOperationName(new javax.xml.namespace.QName("", "GetLastShipmentsNumbersRange"));
|
|
|
808 |
|
|
|
809 |
setRequestHeaders(_call);
|
|
|
810 |
setAttachments(_call);
|
|
|
811 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
812 |
|
|
|
813 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
814 |
throw (java.rmi.RemoteException)_resp;
|
|
|
815 |
}
|
|
|
816 |
else {
|
|
|
817 |
extractAttachments(_call);
|
|
|
818 |
try {
|
|
|
819 |
return (com.aramex.stub.LastReservedShipmentNumberRangeResponse) _resp;
|
|
|
820 |
} catch (java.lang.Exception _exception) {
|
|
|
821 |
return (com.aramex.stub.LastReservedShipmentNumberRangeResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.LastReservedShipmentNumberRangeResponse.class);
|
|
|
822 |
}
|
|
|
823 |
}
|
|
|
824 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
825 |
throw axisFaultException;
|
|
|
826 |
}
|
|
|
827 |
}
|
|
|
828 |
|
|
|
829 |
public com.aramex.stub.ScheduledDeliveryResponse scheduleDelivery(com.aramex.stub.ScheduledDeliveryRequest parameters) throws java.rmi.RemoteException {
|
|
|
830 |
if (super.cachedEndpoint == null) {
|
|
|
831 |
throw new org.apache.axis.NoEndPointException();
|
|
|
832 |
}
|
|
|
833 |
org.apache.axis.client.Call _call = createCall();
|
|
|
834 |
_call.setOperation(_operations[6]);
|
|
|
835 |
_call.setUseSOAPAction(true);
|
|
|
836 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/ScheduleDelivery");
|
|
|
837 |
_call.setEncodingStyle(null);
|
|
|
838 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
839 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
840 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
841 |
_call.setOperationName(new javax.xml.namespace.QName("", "ScheduleDelivery"));
|
|
|
842 |
|
|
|
843 |
setRequestHeaders(_call);
|
|
|
844 |
setAttachments(_call);
|
|
|
845 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
846 |
|
|
|
847 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
848 |
throw (java.rmi.RemoteException)_resp;
|
|
|
849 |
}
|
|
|
850 |
else {
|
|
|
851 |
extractAttachments(_call);
|
|
|
852 |
try {
|
|
|
853 |
return (com.aramex.stub.ScheduledDeliveryResponse) _resp;
|
|
|
854 |
} catch (java.lang.Exception _exception) {
|
|
|
855 |
return (com.aramex.stub.ScheduledDeliveryResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.ScheduledDeliveryResponse.class);
|
|
|
856 |
}
|
|
|
857 |
}
|
|
|
858 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
859 |
throw axisFaultException;
|
|
|
860 |
}
|
|
|
861 |
}
|
|
|
862 |
|
|
|
863 |
public com.aramex.stub.HoldCreationResponse holdShipments(com.aramex.stub.HoldCreationRequest parameters) throws java.rmi.RemoteException {
|
|
|
864 |
if (super.cachedEndpoint == null) {
|
|
|
865 |
throw new org.apache.axis.NoEndPointException();
|
|
|
866 |
}
|
|
|
867 |
org.apache.axis.client.Call _call = createCall();
|
|
|
868 |
_call.setOperation(_operations[7]);
|
|
|
869 |
_call.setUseSOAPAction(true);
|
|
|
870 |
_call.setSOAPActionURI("http://ws.aramex.net/ShippingAPI/v1/Service_1_0/HoldShipments");
|
|
|
871 |
_call.setEncodingStyle(null);
|
|
|
872 |
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
|
|
|
873 |
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
|
|
|
874 |
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
|
|
|
875 |
_call.setOperationName(new javax.xml.namespace.QName("", "HoldShipments"));
|
|
|
876 |
|
|
|
877 |
setRequestHeaders(_call);
|
|
|
878 |
setAttachments(_call);
|
|
|
879 |
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {parameters});
|
|
|
880 |
|
|
|
881 |
if (_resp instanceof java.rmi.RemoteException) {
|
|
|
882 |
throw (java.rmi.RemoteException)_resp;
|
|
|
883 |
}
|
|
|
884 |
else {
|
|
|
885 |
extractAttachments(_call);
|
|
|
886 |
try {
|
|
|
887 |
return (com.aramex.stub.HoldCreationResponse) _resp;
|
|
|
888 |
} catch (java.lang.Exception _exception) {
|
|
|
889 |
return (com.aramex.stub.HoldCreationResponse) org.apache.axis.utils.JavaUtils.convert(_resp, com.aramex.stub.HoldCreationResponse.class);
|
|
|
890 |
}
|
|
|
891 |
}
|
|
|
892 |
} catch (org.apache.axis.AxisFault axisFaultException) {
|
|
|
893 |
throw axisFaultException;
|
|
|
894 |
}
|
|
|
895 |
}
|
|
|
896 |
|
|
|
897 |
}
|