EASLoginSoapBindingStub.java 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. /**
  2. * EASLoginSoapBindingStub.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. package com.steerinfo.dil.wsdl;
  8. public class EASLoginSoapBindingStub extends org.apache.axis.client.Stub implements EASLoginProxy {
  9. private java.util.Vector cachedSerClasses = new java.util.Vector();
  10. private java.util.Vector cachedSerQNames = new java.util.Vector();
  11. private java.util.Vector cachedSerFactories = new java.util.Vector();
  12. private java.util.Vector cachedDeserFactories = new java.util.Vector();
  13. static org.apache.axis.description.OperationDesc [] _operations;
  14. static {
  15. _operations = new org.apache.axis.description.OperationDesc[5];
  16. _initOperationDesc1();
  17. }
  18. private static void _initOperationDesc1(){
  19. org.apache.axis.description.OperationDesc oper;
  20. org.apache.axis.description.ParameterDesc param;
  21. oper = new org.apache.axis.description.OperationDesc();
  22. oper.setName("login");
  23. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "userName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  24. oper.addParameter(param);
  25. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "password"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  26. oper.addParameter(param);
  27. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "slnName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  28. oper.addParameter(param);
  29. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dcName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  30. oper.addParameter(param);
  31. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "language"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  32. oper.addParameter(param);
  33. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dbType"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
  34. oper.addParameter(param);
  35. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "authPattern"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  36. oper.addParameter(param);
  37. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "isEncodePwd"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
  38. oper.addParameter(param);
  39. oper.setReturnType(new javax.xml.namespace.QName("urn:client", "WSContext"));
  40. oper.setReturnClass(WSContext.class);
  41. oper.setReturnQName(new javax.xml.namespace.QName("", "loginReturn"));
  42. oper.setStyle(org.apache.axis.constants.Style.RPC);
  43. oper.setUse(org.apache.axis.constants.Use.ENCODED);
  44. _operations[0] = oper;
  45. oper = new org.apache.axis.description.OperationDesc();
  46. oper.setName("login");
  47. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "userName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  48. oper.addParameter(param);
  49. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "password"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  50. oper.addParameter(param);
  51. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "slnName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  52. oper.addParameter(param);
  53. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dcName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  54. oper.addParameter(param);
  55. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "language"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  56. oper.addParameter(param);
  57. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dbType"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
  58. oper.addParameter(param);
  59. oper.setReturnType(new javax.xml.namespace.QName("urn:client", "WSContext"));
  60. oper.setReturnClass(WSContext.class);
  61. oper.setReturnQName(new javax.xml.namespace.QName("", "loginReturn"));
  62. oper.setStyle(org.apache.axis.constants.Style.RPC);
  63. oper.setUse(org.apache.axis.constants.Use.ENCODED);
  64. _operations[1] = oper;
  65. oper = new org.apache.axis.description.OperationDesc();
  66. oper.setName("login");
  67. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "userName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  68. oper.addParameter(param);
  69. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "password"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  70. oper.addParameter(param);
  71. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "slnName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  72. oper.addParameter(param);
  73. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dcName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  74. oper.addParameter(param);
  75. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "language"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  76. oper.addParameter(param);
  77. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dbType"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
  78. oper.addParameter(param);
  79. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "authPattern"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  80. oper.addParameter(param);
  81. oper.setReturnType(new javax.xml.namespace.QName("urn:client", "WSContext"));
  82. oper.setReturnClass(WSContext.class);
  83. oper.setReturnQName(new javax.xml.namespace.QName("", "loginReturn"));
  84. oper.setStyle(org.apache.axis.constants.Style.RPC);
  85. oper.setUse(org.apache.axis.constants.Use.ENCODED);
  86. _operations[2] = oper;
  87. oper = new org.apache.axis.description.OperationDesc();
  88. oper.setName("logout");
  89. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "userName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  90. oper.addParameter(param);
  91. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "slnName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  92. oper.addParameter(param);
  93. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dcName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  94. oper.addParameter(param);
  95. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "language"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  96. oper.addParameter(param);
  97. oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
  98. oper.setReturnClass(boolean.class);
  99. oper.setReturnQName(new javax.xml.namespace.QName("", "logoutReturn"));
  100. oper.setStyle(org.apache.axis.constants.Style.RPC);
  101. oper.setUse(org.apache.axis.constants.Use.ENCODED);
  102. _operations[3] = oper;
  103. oper = new org.apache.axis.description.OperationDesc();
  104. oper.setName("loginByLtpaToken");
  105. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "userName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  106. oper.addParameter(param);
  107. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "ltpaToken"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  108. oper.addParameter(param);
  109. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "slnName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  110. oper.addParameter(param);
  111. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dcName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  112. oper.addParameter(param);
  113. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "language"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
  114. oper.addParameter(param);
  115. param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "dbType"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false);
  116. oper.addParameter(param);
  117. oper.setReturnType(new javax.xml.namespace.QName("urn:client", "WSContext"));
  118. oper.setReturnClass(WSContext.class);
  119. oper.setReturnQName(new javax.xml.namespace.QName("", "loginByLtpaTokenReturn"));
  120. oper.setStyle(org.apache.axis.constants.Style.RPC);
  121. oper.setUse(org.apache.axis.constants.Use.ENCODED);
  122. _operations[4] = oper;
  123. }
  124. public EASLoginSoapBindingStub() throws org.apache.axis.AxisFault {
  125. this(null);
  126. }
  127. public EASLoginSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
  128. this(service);
  129. super.cachedEndpoint = endpointURL;
  130. }
  131. public EASLoginSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
  132. if (service == null) {
  133. super.service = new org.apache.axis.client.Service();
  134. } else {
  135. super.service = service;
  136. }
  137. ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.1");
  138. Class cls;
  139. javax.xml.namespace.QName qName;
  140. javax.xml.namespace.QName qName2;
  141. Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
  142. Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
  143. Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
  144. Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
  145. Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
  146. Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
  147. Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
  148. Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
  149. Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
  150. Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
  151. qName = new javax.xml.namespace.QName("urn:client", "WSContext");
  152. cachedSerQNames.add(qName);
  153. cls = WSContext.class;
  154. cachedSerClasses.add(cls);
  155. cachedSerFactories.add(beansf);
  156. cachedDeserFactories.add(beandf);
  157. }
  158. protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
  159. try {
  160. org.apache.axis.client.Call _call = super._createCall();
  161. if (super.maintainSessionSet) {
  162. _call.setMaintainSession(super.maintainSession);
  163. }
  164. if (super.cachedUsername != null) {
  165. _call.setUsername(super.cachedUsername);
  166. }
  167. if (super.cachedPassword != null) {
  168. _call.setPassword(super.cachedPassword);
  169. }
  170. if (super.cachedEndpoint != null) {
  171. _call.setTargetEndpointAddress(super.cachedEndpoint);
  172. }
  173. if (super.cachedTimeout != null) {
  174. _call.setTimeout(super.cachedTimeout);
  175. }
  176. if (super.cachedPortName != null) {
  177. _call.setPortName(super.cachedPortName);
  178. }
  179. java.util.Enumeration keys = super.cachedProperties.keys();
  180. while (keys.hasMoreElements()) {
  181. String key = (String) keys.nextElement();
  182. _call.setProperty(key, super.cachedProperties.get(key));
  183. }
  184. // All the type mapping information is registered
  185. // when the first call is made.
  186. // The type mapping information is actually registered in
  187. // the TypeMappingRegistry of the service, which
  188. // is the reason why registration is only needed for the first call.
  189. synchronized (this) {
  190. if (firstCall()) {
  191. // must set encoding style before registering serializers
  192. _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  193. _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);
  194. for (int i = 0; i < cachedSerFactories.size(); ++i) {
  195. Class cls = (Class) cachedSerClasses.get(i);
  196. javax.xml.namespace.QName qName =
  197. (javax.xml.namespace.QName) cachedSerQNames.get(i);
  198. Object x = cachedSerFactories.get(i);
  199. if (x instanceof Class) {
  200. Class sf = (Class)
  201. cachedSerFactories.get(i);
  202. Class df = (Class)
  203. cachedDeserFactories.get(i);
  204. _call.registerTypeMapping(cls, qName, sf, df, false);
  205. }
  206. else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
  207. org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
  208. cachedSerFactories.get(i);
  209. org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
  210. cachedDeserFactories.get(i);
  211. _call.registerTypeMapping(cls, qName, sf, df, false);
  212. }
  213. }
  214. }
  215. }
  216. return _call;
  217. }
  218. catch (Throwable _t) {
  219. throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
  220. }
  221. }
  222. public WSContext login(String userName, String password, String slnName, String dcName, String language, int dbType, String authPattern, int isEncodePwd) throws java.rmi.RemoteException {
  223. if (super.cachedEndpoint == null) {
  224. throw new org.apache.axis.NoEndPointException();
  225. }
  226. org.apache.axis.client.Call _call = createCall();
  227. _call.setOperation(_operations[0]);
  228. _call.setUseSOAPAction(true);
  229. _call.setSOAPActionURI("");
  230. _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  231. _call.setOperationName(new javax.xml.namespace.QName("http://login.webservice.bos.kingdee.com", "login"));
  232. setRequestHeaders(_call);
  233. setAttachments(_call);
  234. try { Object _resp = _call.invoke(new Object[] {userName, password, slnName, dcName, language, new Integer(dbType), authPattern, new Integer(isEncodePwd)});
  235. if (_resp instanceof java.rmi.RemoteException) {
  236. throw (java.rmi.RemoteException)_resp;
  237. }
  238. else {
  239. extractAttachments(_call);
  240. try {
  241. return (WSContext) _resp;
  242. } catch (Exception _exception) {
  243. return (WSContext) org.apache.axis.utils.JavaUtils.convert(_resp, WSContext.class);
  244. }
  245. }
  246. } catch (org.apache.axis.AxisFault axisFaultException) {
  247. throw axisFaultException;
  248. }
  249. }
  250. public WSContext login(String userName, String password, String slnName, String dcName, String language, int dbType) throws java.rmi.RemoteException {
  251. if (super.cachedEndpoint == null) {
  252. throw new org.apache.axis.NoEndPointException();
  253. }
  254. org.apache.axis.client.Call _call = createCall();
  255. _call.setOperation(_operations[1]);
  256. _call.setUseSOAPAction(true);
  257. _call.setSOAPActionURI("");
  258. _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  259. _call.setOperationName(new javax.xml.namespace.QName("http://login.webservice.bos.kingdee.com", "login"));
  260. setRequestHeaders(_call);
  261. setAttachments(_call);
  262. try { Object _resp = _call.invoke(new Object[] {userName, password, slnName, dcName, language, new Integer(dbType)});
  263. if (_resp instanceof java.rmi.RemoteException) {
  264. throw (java.rmi.RemoteException)_resp;
  265. }
  266. else {
  267. extractAttachments(_call);
  268. try {
  269. return (WSContext) _resp;
  270. } catch (Exception _exception) {
  271. return (WSContext) org.apache.axis.utils.JavaUtils.convert(_resp, WSContext.class);
  272. }
  273. }
  274. } catch (org.apache.axis.AxisFault axisFaultException) {
  275. throw axisFaultException;
  276. }
  277. }
  278. public WSContext login(String userName, String password, String slnName, String dcName, String language, int dbType, String authPattern) throws java.rmi.RemoteException {
  279. if (super.cachedEndpoint == null) {
  280. throw new org.apache.axis.NoEndPointException();
  281. }
  282. org.apache.axis.client.Call _call = createCall();
  283. _call.setOperation(_operations[2]);
  284. _call.setUseSOAPAction(true);
  285. _call.setSOAPActionURI("");
  286. _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  287. _call.setOperationName(new javax.xml.namespace.QName("http://login.webservice.bos.kingdee.com", "login"));
  288. setRequestHeaders(_call);
  289. setAttachments(_call);
  290. try { Object _resp = _call.invoke(new Object[] {userName, password, slnName, dcName, language, new Integer(dbType), authPattern});
  291. if (_resp instanceof java.rmi.RemoteException) {
  292. throw (java.rmi.RemoteException)_resp;
  293. }
  294. else {
  295. extractAttachments(_call);
  296. try {
  297. return (WSContext) _resp;
  298. } catch (Exception _exception) {
  299. return (WSContext) org.apache.axis.utils.JavaUtils.convert(_resp, WSContext.class);
  300. }
  301. }
  302. } catch (org.apache.axis.AxisFault axisFaultException) {
  303. throw axisFaultException;
  304. }
  305. }
  306. public boolean logout(String userName, String slnName, String dcName, String language) throws java.rmi.RemoteException {
  307. if (super.cachedEndpoint == null) {
  308. throw new org.apache.axis.NoEndPointException();
  309. }
  310. org.apache.axis.client.Call _call = createCall();
  311. _call.setOperation(_operations[3]);
  312. _call.setUseSOAPAction(true);
  313. _call.setSOAPActionURI("");
  314. _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  315. _call.setOperationName(new javax.xml.namespace.QName("http://login.webservice.bos.kingdee.com", "logout"));
  316. setRequestHeaders(_call);
  317. setAttachments(_call);
  318. try { Object _resp = _call.invoke(new Object[] {userName, slnName, dcName, language});
  319. if (_resp instanceof java.rmi.RemoteException) {
  320. throw (java.rmi.RemoteException)_resp;
  321. }
  322. else {
  323. extractAttachments(_call);
  324. try {
  325. return ((Boolean) _resp).booleanValue();
  326. } catch (Exception _exception) {
  327. return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue();
  328. }
  329. }
  330. } catch (org.apache.axis.AxisFault axisFaultException) {
  331. throw axisFaultException;
  332. }
  333. }
  334. public WSContext loginByLtpaToken(String userName, String ltpaToken, String slnName, String dcName, String language, int dbType) throws java.rmi.RemoteException {
  335. if (super.cachedEndpoint == null) {
  336. throw new org.apache.axis.NoEndPointException();
  337. }
  338. org.apache.axis.client.Call _call = createCall();
  339. _call.setOperation(_operations[4]);
  340. _call.setUseSOAPAction(true);
  341. _call.setSOAPActionURI("");
  342. _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
  343. _call.setOperationName(new javax.xml.namespace.QName("http://login.webservice.bos.kingdee.com", "loginByLtpaToken"));
  344. setRequestHeaders(_call);
  345. setAttachments(_call);
  346. try { Object _resp = _call.invoke(new Object[] {userName, ltpaToken, slnName, dcName, language, new Integer(dbType)});
  347. if (_resp instanceof java.rmi.RemoteException) {
  348. throw (java.rmi.RemoteException)_resp;
  349. }
  350. else {
  351. extractAttachments(_call);
  352. try {
  353. return (WSContext) _resp;
  354. } catch (Exception _exception) {
  355. return (WSContext) org.apache.axis.utils.JavaUtils.convert(_resp, WSContext.class);
  356. }
  357. }
  358. } catch (org.apache.axis.AxisFault axisFaultException) {
  359. throw axisFaultException;
  360. }
  361. }
  362. }