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