1   /**
2    * Portal_ContactServiceSoapBindingStub.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.soap.portal.service.http;
9   
10  public class Portal_ContactServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.liferay.client.soap.portal.service.http.ContactServiceSoap {
11  
12      static org.apache.axis.description.OperationDesc [] _operations;
13  
14      static {
15          _operations = new org.apache.axis.description.OperationDesc[0];
16      }
17  
18      public Portal_ContactServiceSoapBindingStub() throws org.apache.axis.AxisFault {
19           this(null);
20      }
21  
22      public Portal_ContactServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
23           this(service);
24           super.cachedEndpoint = endpointURL;
25      }
26  
27      public Portal_ContactServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
28          if (service == null) {
29              super.service = new org.apache.axis.client.Service();
30          } else {
31              super.service = service;
32          }
33          ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
34      }
35  
36      protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
37          try {
38              org.apache.axis.client.Call _call = super._createCall();
39              if (super.maintainSessionSet) {
40                  _call.setMaintainSession(super.maintainSession);
41              }
42              if (super.cachedUsername != null) {
43                  _call.setUsername(super.cachedUsername);
44              }
45              if (super.cachedPassword != null) {
46                  _call.setPassword(super.cachedPassword);
47              }
48              if (super.cachedEndpoint != null) {
49                  _call.setTargetEndpointAddress(super.cachedEndpoint);
50              }
51              if (super.cachedTimeout != null) {
52                  _call.setTimeout(super.cachedTimeout);
53              }
54              if (super.cachedPortName != null) {
55                  _call.setPortName(super.cachedPortName);
56              }
57              java.util.Enumeration keys = super.cachedProperties.keys();
58              while (keys.hasMoreElements()) {
59                  java.lang.String key = (java.lang.String) keys.nextElement();
60                  _call.setProperty(key, super.cachedProperties.get(key));
61              }
62              return _call;
63          }
64          catch (java.lang.Throwable _t) {
65              throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
66          }
67      }
68  
69  }
70