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