01: /**
02: * TravelServiceSoapBindingSkeleton.java
03: *
04: * This file was auto-generated from WSDL
05: * by the Apache Axis WSDL2Java emitter.
06: */package net.sourceforge.bexee.Travel;
07:
08: public class TravelServiceSoapBindingSkeleton implements
09: net.sourceforge.bexee.Travel.TravelService,
10: org.apache.axis.wsdl.Skeleton {
11: private net.sourceforge.bexee.Travel.TravelService impl;
12: private static java.util.Map _myOperations = new java.util.Hashtable();
13: private static java.util.Collection _myOperationsList = new java.util.ArrayList();
14:
15: /**
16: * Returns List of OperationDesc objects with this name
17: */
18: public static java.util.List getOperationDescByName(
19: java.lang.String methodName) {
20: return (java.util.List) _myOperations.get(methodName);
21: }
22:
23: /**
24: * Returns Collection of OperationDescs
25: */
26: public static java.util.Collection getOperationDescs() {
27: return _myOperationsList;
28: }
29:
30: static {
31: org.apache.axis.description.OperationDesc _oper;
32: org.apache.axis.description.FaultDesc _fault;
33: org.apache.axis.description.ParameterDesc[] _params;
34: _params = new org.apache.axis.description.ParameterDesc[] { new org.apache.axis.description.ParameterDesc(
35: new javax.xml.namespace.QName("", "input"),
36: org.apache.axis.description.ParameterDesc.IN,
37: new javax.xml.namespace.QName(
38: "http://www.w3.org/2001/XMLSchema", "string"),
39: java.lang.String.class, false, false), };
40: _oper = new org.apache.axis.description.OperationDesc("book",
41: _params,
42: new javax.xml.namespace.QName("", "bookReturn"));
43: _oper.setReturnType(new javax.xml.namespace.QName(
44: "http://www.w3.org/2001/XMLSchema", "string"));
45: _oper.setElementQName(new javax.xml.namespace.QName(
46: "http://bexee.sourceforge.net/Travel", "book"));
47: _oper.setSoapAction("");
48: _myOperationsList.add(_oper);
49: if (_myOperations.get("book") == null) {
50: _myOperations.put("book", new java.util.ArrayList());
51: }
52: ((java.util.List) _myOperations.get("book")).add(_oper);
53: _params = new org.apache.axis.description.ParameterDesc[] { new org.apache.axis.description.ParameterDesc(
54: new javax.xml.namespace.QName("", "input"),
55: org.apache.axis.description.ParameterDesc.IN,
56: new javax.xml.namespace.QName(
57: "http://www.w3.org/2001/XMLSchema", "string"),
58: java.lang.String.class, false, false), };
59: _oper = new org.apache.axis.description.OperationDesc(
60: "getOffer", _params, new javax.xml.namespace.QName("",
61: "getOfferReturn"));
62: _oper.setReturnType(new javax.xml.namespace.QName(
63: "http://www.w3.org/2001/XMLSchema", "string"));
64: _oper.setElementQName(new javax.xml.namespace.QName(
65: "http://bexee.sourceforge.net/Travel", "getOffer"));
66: _oper.setSoapAction("");
67: _myOperationsList.add(_oper);
68: if (_myOperations.get("getOffer") == null) {
69: _myOperations.put("getOffer", new java.util.ArrayList());
70: }
71: ((java.util.List) _myOperations.get("getOffer")).add(_oper);
72: }
73:
74: public TravelServiceSoapBindingSkeleton() {
75: this .impl = new net.sourceforge.bexee.Travel.TravelServiceSoapBindingImpl();
76: }
77:
78: public TravelServiceSoapBindingSkeleton(
79: net.sourceforge.bexee.Travel.TravelService impl) {
80: this .impl = impl;
81: }
82:
83: public java.lang.String book(java.lang.String input)
84: throws java.rmi.RemoteException {
85: java.lang.String ret = impl.book(input);
86: return ret;
87: }
88:
89: public java.lang.String getOffer(java.lang.String input)
90: throws java.rmi.RemoteException {
91: java.lang.String ret = impl.getOffer(input);
92: return ret;
93: }
94:
95: }
|