1 7 8 package org.alfresco.webservice.classification; 9 10 public class ClassificationServiceSoapBindingStub extends org.apache.axis.client.Stub implements org.alfresco.webservice.classification.ClassificationServiceSoapPort { 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[5]; 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("getClassifications"); 28 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "store"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Store"), org.alfresco.webservice.types.Store.class, false, false); 29 oper.addParameter(param); 30 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Classification")); 31 oper.setReturnClass(org.alfresco.webservice.types.Classification[].class); 32 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "getClassificationsReturn")); 33 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 34 oper.setUse(org.apache.axis.constants.Use.LITERAL); 35 oper.addFault(new org.apache.axis.description.FaultDesc( 36 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 37 "org.alfresco.webservice.classification.ClassificationFault", 38 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 39 true 40 )); 41 _operations[0] = oper; 42 43 oper = new org.apache.axis.description.OperationDesc(); 44 oper.setName("getChildCategories"); 45 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "parentCategory"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.webservice.types.Reference.class, false, false); 46 oper.addParameter(param); 47 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Category")); 48 oper.setReturnClass(org.alfresco.webservice.types.Category[].class); 49 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "getChildCategoriesReturn")); 50 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 51 oper.setUse(org.apache.axis.constants.Use.LITERAL); 52 oper.addFault(new org.apache.axis.description.FaultDesc( 53 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 54 "org.alfresco.webservice.classification.ClassificationFault", 55 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 56 true 57 )); 58 _operations[1] = oper; 59 60 oper = new org.apache.axis.description.OperationDesc(); 61 oper.setName("getCategories"); 62 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 63 oper.addParameter(param); 64 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult")); 65 oper.setReturnClass(org.alfresco.webservice.classification.CategoriesResult[].class); 66 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "getCategoriesReturn")); 67 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 68 oper.setUse(org.apache.axis.constants.Use.LITERAL); 69 oper.addFault(new org.apache.axis.description.FaultDesc( 70 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 71 "org.alfresco.webservice.classification.ClassificationFault", 72 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 73 true 74 )); 75 _operations[2] = oper; 76 77 oper = new org.apache.axis.description.OperationDesc(); 78 oper.setName("setCategories"); 79 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 80 oper.addParameter(param); 81 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "categories"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"), org.alfresco.webservice.classification.AppliedCategory[].class, false, false); 82 param.setOmittable(true); 83 oper.addParameter(param); 84 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult")); 85 oper.setReturnClass(org.alfresco.webservice.classification.CategoriesResult[].class); 86 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "setCategoriesReturn")); 87 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 88 oper.setUse(org.apache.axis.constants.Use.LITERAL); 89 oper.addFault(new org.apache.axis.description.FaultDesc( 90 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 91 "org.alfresco.webservice.classification.ClassificationFault", 92 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 93 true 94 )); 95 _operations[3] = oper; 96 97 oper = new org.apache.axis.description.OperationDesc(); 98 oper.setName("describeClassification"); 99 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "classification"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name"), java.lang.String .class, false, false); 100 oper.addParameter(param); 101 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition")); 102 oper.setReturnClass(org.alfresco.webservice.types.ClassDefinition.class); 103 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "describeClassificationReturn")); 104 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 105 oper.setUse(org.apache.axis.constants.Use.LITERAL); 106 oper.addFault(new org.apache.axis.description.FaultDesc( 107 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 108 "org.alfresco.webservice.classification.ClassificationFault", 109 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"), 110 true 111 )); 112 _operations[4] = oper; 113 114 } 115 116 public ClassificationServiceSoapBindingStub() throws org.apache.axis.AxisFault { 117 this(null); 118 } 119 120 public ClassificationServiceSoapBindingStub(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 ClassificationServiceSoapBindingStub(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://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>encoding"); 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://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>mimetype"); 153 cachedSerQNames.add(qName); 154 cls = java.lang.String .class; 155 cachedSerClasses.add(cls); 156 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 157 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 158 159 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", ">ResultSetRow>node"); 160 cachedSerQNames.add(qName); 161 cls = org.alfresco.webservice.types.ResultSetRowNode.class; 162 cachedSerClasses.add(cls); 163 cachedSerFactories.add(beansf); 164 cachedDeserFactories.add(beandf); 165 166 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", ">Store>address"); 167 cachedSerQNames.add(qName); 168 cls = java.lang.String .class; 169 cachedSerClasses.add(cls); 170 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 171 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 172 173 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition"); 174 cachedSerQNames.add(qName); 175 cls = org.alfresco.webservice.types.AssociationDefinition.class; 176 cachedSerClasses.add(cls); 177 cachedSerFactories.add(beansf); 178 cachedDeserFactories.add(beandf); 179 180 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Cardinality"); 181 cachedSerQNames.add(qName); 182 cls = org.alfresco.webservice.types.Cardinality.class; 183 cachedSerClasses.add(cls); 184 cachedSerFactories.add(enumsf); 185 cachedDeserFactories.add(enumdf); 186 187 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Category"); 188 cachedSerQNames.add(qName); 189 cls = org.alfresco.webservice.types.Category.class; 190 cachedSerClasses.add(cls); 191 cachedSerFactories.add(beansf); 192 cachedDeserFactories.add(beandf); 193 194 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"); 195 cachedSerQNames.add(qName); 196 cls = org.alfresco.webservice.types.ClassDefinition.class; 197 cachedSerClasses.add(cls); 198 cachedSerFactories.add(beansf); 199 cachedDeserFactories.add(beandf); 200 201 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Classification"); 202 cachedSerQNames.add(qName); 203 cls = org.alfresco.webservice.types.Classification.class; 204 cachedSerClasses.add(cls); 205 cachedSerFactories.add(beansf); 206 cachedDeserFactories.add(beandf); 207 208 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat"); 209 cachedSerQNames.add(qName); 210 cls = org.alfresco.webservice.types.ContentFormat.class; 211 cachedSerClasses.add(cls); 212 cachedSerFactories.add(beansf); 213 cachedDeserFactories.add(beandf); 214 215 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name"); 216 cachedSerQNames.add(qName); 217 cls = java.lang.String .class; 218 cachedSerClasses.add(cls); 219 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 220 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 221 222 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"); 223 cachedSerQNames.add(qName); 224 cls = org.alfresco.webservice.types.NamedValue.class; 225 cachedSerClasses.add(cls); 226 cachedSerFactories.add(beansf); 227 cachedDeserFactories.add(beandf); 228 229 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Node"); 230 cachedSerQNames.add(qName); 231 cls = org.alfresco.webservice.types.Node.class; 232 cachedSerClasses.add(cls); 233 cachedSerFactories.add(beansf); 234 cachedDeserFactories.add(beandf); 235 236 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NodeDefinition"); 237 cachedSerQNames.add(qName); 238 cls = org.alfresco.webservice.types.NodeDefinition.class; 239 cachedSerClasses.add(cls); 240 cachedSerFactories.add(beansf); 241 cachedDeserFactories.add(beandf); 242 243 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"); 244 cachedSerQNames.add(qName); 245 cls = org.alfresco.webservice.types.ParentReference.class; 246 cachedSerClasses.add(cls); 247 cachedSerFactories.add(beansf); 248 cachedDeserFactories.add(beandf); 249 250 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Path"); 251 cachedSerQNames.add(qName); 252 cls = java.lang.String .class; 253 cachedSerClasses.add(cls); 254 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 255 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 256 257 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"); 258 cachedSerQNames.add(qName); 259 cls = org.alfresco.webservice.types.Predicate.class; 260 cachedSerClasses.add(cls); 261 cachedSerFactories.add(beansf); 262 cachedDeserFactories.add(beandf); 263 264 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "PropertyDefinition"); 265 cachedSerQNames.add(qName); 266 cls = org.alfresco.webservice.types.PropertyDefinition.class; 267 cachedSerClasses.add(cls); 268 cachedSerFactories.add(beansf); 269 cachedDeserFactories.add(beandf); 270 271 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Query"); 272 cachedSerQNames.add(qName); 273 cls = org.alfresco.webservice.types.Query.class; 274 cachedSerClasses.add(cls); 275 cachedSerFactories.add(beansf); 276 cachedDeserFactories.add(beandf); 277 278 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "QueryLanguageEnum"); 279 cachedSerQNames.add(qName); 280 cls = org.alfresco.webservice.types.QueryLanguageEnum.class; 281 cachedSerClasses.add(cls); 282 cachedSerFactories.add(enumsf); 283 cachedDeserFactories.add(enumdf); 284 285 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"); 286 cachedSerQNames.add(qName); 287 cls = org.alfresco.webservice.types.Reference.class; 288 cachedSerClasses.add(cls); 289 cachedSerFactories.add(beansf); 290 cachedDeserFactories.add(beandf); 291 292 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ResultSet"); 293 cachedSerQNames.add(qName); 294 cls = org.alfresco.webservice.types.ResultSet.class; 295 cachedSerClasses.add(cls); 296 cachedSerFactories.add(beansf); 297 cachedDeserFactories.add(beandf); 298 299 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ResultSetMetaData"); 300 cachedSerQNames.add(qName); 301 cls = org.alfresco.webservice.types.ResultSetMetaData.class; 302 cachedSerClasses.add(cls); 303 cachedSerFactories.add(beansf); 304 cachedDeserFactories.add(beandf); 305 306 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ResultSetRow"); 307 cachedSerQNames.add(qName); 308 cls = org.alfresco.webservice.types.ResultSetRow.class; 309 cachedSerClasses.add(cls); 310 cachedSerFactories.add(beansf); 311 cachedDeserFactories.add(beandf); 312 313 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition"); 314 cachedSerQNames.add(qName); 315 cls = org.alfresco.webservice.types.RoleDefinition.class; 316 cachedSerClasses.add(cls); 317 cachedSerFactories.add(beansf); 318 cachedDeserFactories.add(beandf); 319 320 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Store"); 321 cachedSerQNames.add(qName); 322 cls = org.alfresco.webservice.types.Store.class; 323 cachedSerClasses.add(cls); 324 cachedSerFactories.add(beansf); 325 cachedDeserFactories.add(beandf); 326 327 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "StoreEnum"); 328 cachedSerQNames.add(qName); 329 cls = org.alfresco.webservice.types.StoreEnum.class; 330 cachedSerClasses.add(cls); 331 cachedSerFactories.add(enumsf); 332 cachedDeserFactories.add(enumdf); 333 334 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "UUID"); 335 cachedSerQNames.add(qName); 336 cls = java.lang.String .class; 337 cachedSerClasses.add(cls); 338 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 339 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 340 341 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition"); 342 cachedSerQNames.add(qName); 343 cls = org.alfresco.webservice.types.ValueDefinition.class; 344 cachedSerClasses.add(cls); 345 cachedSerFactories.add(beansf); 346 cachedDeserFactories.add(beandf); 347 348 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Version"); 349 cachedSerQNames.add(qName); 350 cls = org.alfresco.webservice.types.Version.class; 351 cachedSerClasses.add(cls); 352 cachedSerFactories.add(beansf); 353 cachedDeserFactories.add(beandf); 354 355 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory"); 356 cachedSerQNames.add(qName); 357 cls = org.alfresco.webservice.types.VersionHistory.class; 358 cachedSerClasses.add(cls); 359 cachedSerFactories.add(beansf); 360 cachedDeserFactories.add(beandf); 361 362 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "AppliedCategory"); 363 cachedSerQNames.add(qName); 364 cls = org.alfresco.webservice.classification.AppliedCategory.class; 365 cachedSerClasses.add(cls); 366 cachedSerFactories.add(beansf); 367 cachedDeserFactories.add(beandf); 368 369 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "CategoriesResult"); 370 cachedSerQNames.add(qName); 371 cls = org.alfresco.webservice.classification.CategoriesResult.class; 372 cachedSerClasses.add(cls); 373 cachedSerFactories.add(beansf); 374 cachedDeserFactories.add(beandf); 375 376 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "ClassificationFault"); 377 cachedSerQNames.add(qName); 378 cls = org.alfresco.webservice.classification.ClassificationFault.class; 379 cachedSerClasses.add(cls); 380 cachedSerFactories.add(beansf); 381 cachedDeserFactories.add(beandf); 382 383 } 384 385 protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { 386 try { 387 org.apache.axis.client.Call _call = super._createCall(); 388 if (super.maintainSessionSet) { 389 _call.setMaintainSession(super.maintainSession); 390 } 391 if (super.cachedUsername != null) { 392 _call.setUsername(super.cachedUsername); 393 } 394 if (super.cachedPassword != null) { 395 _call.setPassword(super.cachedPassword); 396 } 397 if (super.cachedEndpoint != null) { 398 _call.setTargetEndpointAddress(super.cachedEndpoint); 399 } 400 if (super.cachedTimeout != null) { 401 _call.setTimeout(super.cachedTimeout); 402 } 403 if (super.cachedPortName != null) { 404 _call.setPortName(super.cachedPortName); 405 } 406 java.util.Enumeration keys = super.cachedProperties.keys(); 407 while (keys.hasMoreElements()) { 408 java.lang.String key = (java.lang.String ) keys.nextElement(); 409 _call.setProperty(key, super.cachedProperties.get(key)); 410 } 411 synchronized (this) { 417 if (firstCall()) { 418 _call.setEncodingStyle(null); 420 for (int i = 0; i < cachedSerFactories.size(); ++i) { 421 java.lang.Class cls = (java.lang.Class ) cachedSerClasses.get(i); 422 javax.xml.namespace.QName qName = 423 (javax.xml.namespace.QName ) cachedSerQNames.get(i); 424 java.lang.Object x = cachedSerFactories.get(i); 425 if (x instanceof Class ) { 426 java.lang.Class sf = (java.lang.Class ) 427 cachedSerFactories.get(i); 428 java.lang.Class df = (java.lang.Class ) 429 cachedDeserFactories.get(i); 430 _call.registerTypeMapping(cls, qName, sf, df, false); 431 } 432 else if (x instanceof javax.xml.rpc.encoding.SerializerFactory ) { 433 org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) 434 cachedSerFactories.get(i); 435 org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) 436 cachedDeserFactories.get(i); 437 _call.registerTypeMapping(cls, qName, sf, df, false); 438 } 439 } 440 } 441 } 442 return _call; 443 } 444 catch (java.lang.Throwable _t) { 445 throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); 446 } 447 } 448 449 450 453 public org.alfresco.webservice.types.Classification[] getClassifications(org.alfresco.webservice.types.Store store) throws java.rmi.RemoteException , org.alfresco.webservice.classification.ClassificationFault { 454 if (super.cachedEndpoint == null) { 455 throw new org.apache.axis.NoEndPointException(); 456 } 457 org.apache.axis.client.Call _call = createCall(); 458 _call.setOperation(_operations[0]); 459 _call.setUseSOAPAction(true); 460 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/getClassifications"); 461 _call.setEncodingStyle(null); 462 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 463 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 464 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 465 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "getClassifications")); 466 467 setRequestHeaders(_call); 468 setAttachments(_call); 469 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {store}); 470 471 if (_resp instanceof java.rmi.RemoteException ) { 472 throw (java.rmi.RemoteException )_resp; 473 } 474 else { 475 extractAttachments(_call); 476 try { 477 return (org.alfresco.webservice.types.Classification[]) _resp; 478 } catch (java.lang.Exception _exception) { 479 return (org.alfresco.webservice.types.Classification[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.Classification[].class); 480 } 481 } 482 } catch (org.apache.axis.AxisFault axisFaultException) { 483 if (axisFaultException.detail != null) { 484 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 485 throw (java.rmi.RemoteException ) axisFaultException.detail; 486 } 487 if (axisFaultException.detail instanceof org.alfresco.webservice.classification.ClassificationFault) { 488 throw (org.alfresco.webservice.classification.ClassificationFault) axisFaultException.detail; 489 } 490 } 491 throw axisFaultException; 492 } 493 } 494 495 496 499 public org.alfresco.webservice.types.Category[] getChildCategories(org.alfresco.webservice.types.Reference parentCategory) throws java.rmi.RemoteException , org.alfresco.webservice.classification.ClassificationFault { 500 if (super.cachedEndpoint == null) { 501 throw new org.apache.axis.NoEndPointException(); 502 } 503 org.apache.axis.client.Call _call = createCall(); 504 _call.setOperation(_operations[1]); 505 _call.setUseSOAPAction(true); 506 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/getChildCategories"); 507 _call.setEncodingStyle(null); 508 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 509 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 510 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 511 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "getChildCategories")); 512 513 setRequestHeaders(_call); 514 setAttachments(_call); 515 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {parentCategory}); 516 517 if (_resp instanceof java.rmi.RemoteException ) { 518 throw (java.rmi.RemoteException )_resp; 519 } 520 else { 521 extractAttachments(_call); 522 try { 523 return (org.alfresco.webservice.types.Category[]) _resp; 524 } catch (java.lang.Exception _exception) { 525 return (org.alfresco.webservice.types.Category[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.Category[].class); 526 } 527 } 528 } catch (org.apache.axis.AxisFault axisFaultException) { 529 if (axisFaultException.detail != null) { 530 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 531 throw (java.rmi.RemoteException ) axisFaultException.detail; 532 } 533 if (axisFaultException.detail instanceof org.alfresco.webservice.classification.ClassificationFault) { 534 throw (org.alfresco.webservice.classification.ClassificationFault) axisFaultException.detail; 535 } 536 } 537 throw axisFaultException; 538 } 539 } 540 541 542 545 public org.alfresco.webservice.classification.CategoriesResult[] getCategories(org.alfresco.webservice.types.Predicate items) throws java.rmi.RemoteException , org.alfresco.webservice.classification.ClassificationFault { 546 if (super.cachedEndpoint == null) { 547 throw new org.apache.axis.NoEndPointException(); 548 } 549 org.apache.axis.client.Call _call = createCall(); 550 _call.setOperation(_operations[2]); 551 _call.setUseSOAPAction(true); 552 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/getCategories"); 553 _call.setEncodingStyle(null); 554 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 555 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 556 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 557 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "getCategories")); 558 559 setRequestHeaders(_call); 560 setAttachments(_call); 561 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items}); 562 563 if (_resp instanceof java.rmi.RemoteException ) { 564 throw (java.rmi.RemoteException )_resp; 565 } 566 else { 567 extractAttachments(_call); 568 try { 569 return (org.alfresco.webservice.classification.CategoriesResult[]) _resp; 570 } catch (java.lang.Exception _exception) { 571 return (org.alfresco.webservice.classification.CategoriesResult[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.classification.CategoriesResult[].class); 572 } 573 } 574 } catch (org.apache.axis.AxisFault axisFaultException) { 575 if (axisFaultException.detail != null) { 576 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 577 throw (java.rmi.RemoteException ) axisFaultException.detail; 578 } 579 if (axisFaultException.detail instanceof org.alfresco.webservice.classification.ClassificationFault) { 580 throw (org.alfresco.webservice.classification.ClassificationFault) axisFaultException.detail; 581 } 582 } 583 throw axisFaultException; 584 } 585 } 586 587 588 591 public org.alfresco.webservice.classification.CategoriesResult[] setCategories(org.alfresco.webservice.types.Predicate items, org.alfresco.webservice.classification.AppliedCategory[] categories) throws java.rmi.RemoteException , org.alfresco.webservice.classification.ClassificationFault { 592 if (super.cachedEndpoint == null) { 593 throw new org.apache.axis.NoEndPointException(); 594 } 595 org.apache.axis.client.Call _call = createCall(); 596 _call.setOperation(_operations[3]); 597 _call.setUseSOAPAction(true); 598 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/setCategories"); 599 _call.setEncodingStyle(null); 600 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 601 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 602 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 603 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "setCategories")); 604 605 setRequestHeaders(_call); 606 setAttachments(_call); 607 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, categories}); 608 609 if (_resp instanceof java.rmi.RemoteException ) { 610 throw (java.rmi.RemoteException )_resp; 611 } 612 else { 613 extractAttachments(_call); 614 try { 615 return (org.alfresco.webservice.classification.CategoriesResult[]) _resp; 616 } catch (java.lang.Exception _exception) { 617 return (org.alfresco.webservice.classification.CategoriesResult[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.classification.CategoriesResult[].class); 618 } 619 } 620 } catch (org.apache.axis.AxisFault axisFaultException) { 621 if (axisFaultException.detail != null) { 622 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 623 throw (java.rmi.RemoteException ) axisFaultException.detail; 624 } 625 if (axisFaultException.detail instanceof org.alfresco.webservice.classification.ClassificationFault) { 626 throw (org.alfresco.webservice.classification.ClassificationFault) axisFaultException.detail; 627 } 628 } 629 throw axisFaultException; 630 } 631 } 632 633 634 639 public org.alfresco.webservice.types.ClassDefinition describeClassification(java.lang.String classification) throws java.rmi.RemoteException , org.alfresco.webservice.classification.ClassificationFault { 640 if (super.cachedEndpoint == null) { 641 throw new org.apache.axis.NoEndPointException(); 642 } 643 org.apache.axis.client.Call _call = createCall(); 644 _call.setOperation(_operations[4]); 645 _call.setUseSOAPAction(true); 646 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/classification/1.0/describeClassification"); 647 _call.setEncodingStyle(null); 648 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 649 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 650 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 651 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/classification/1.0", "describeClassification")); 652 653 setRequestHeaders(_call); 654 setAttachments(_call); 655 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {classification}); 656 657 if (_resp instanceof java.rmi.RemoteException ) { 658 throw (java.rmi.RemoteException )_resp; 659 } 660 else { 661 extractAttachments(_call); 662 try { 663 return (org.alfresco.webservice.types.ClassDefinition) _resp; 664 } catch (java.lang.Exception _exception) { 665 return (org.alfresco.webservice.types.ClassDefinition) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.ClassDefinition.class); 666 } 667 } 668 } catch (org.apache.axis.AxisFault axisFaultException) { 669 if (axisFaultException.detail != null) { 670 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 671 throw (java.rmi.RemoteException ) axisFaultException.detail; 672 } 673 if (axisFaultException.detail instanceof org.alfresco.webservice.classification.ClassificationFault) { 674 throw (org.alfresco.webservice.classification.ClassificationFault) axisFaultException.detail; 675 } 676 } 677 throw axisFaultException; 678 } 679 } 680 681 } 682 | Popular Tags |