[jboss-svn-commits] JBL Code SVN: r7709 - labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sun Nov 19 11:11:03 EST 2006
Author: kurt.stam at jboss.com
Date: 2006-11-19 11:10:57 -0500 (Sun, 19 Nov 2006)
New Revision: 7709
Modified:
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWS.java
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSBindingStub.java
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSProxy.java
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSService.java
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSServiceLocator.java
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/WebCustomer.java
Log:
Committing newly generated client
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWS.java 2006-11-19 12:46:39 UTC (rev 7708)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWS.java 2006-11-19 16:10:57 UTC (rev 7709)
@@ -1,13 +1,12 @@
-/**
- * LoanBrokerWS.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
- */
-
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-
-public interface LoanBrokerWS extends java.rmi.Remote {
- public void requestLoan(org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer webCustomer_1) throws java.rmi.RemoteException;
-}
+/**
+ * LoanBrokerWS.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
+ */
+
+package org.jboss.soa.esb.samples.trailblazer.web.generated;
+
+public interface LoanBrokerWS extends java.rmi.Remote {
+ public void requestLoan(org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer webCustomer_1) throws java.rmi.RemoteException;
+}
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSBindingStub.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSBindingStub.java 2006-11-19 12:46:39 UTC (rev 7708)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSBindingStub.java 2006-11-19 16:10:57 UTC (rev 7709)
@@ -1,167 +1,166 @@
-/**
- * LoanBrokerWSBindingStub.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
- */
-
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-
-public class LoanBrokerWSBindingStub extends org.apache.axis.client.Stub implements org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS {
- private java.util.Vector cachedSerClasses = new java.util.Vector();
- private java.util.Vector cachedSerQNames = new java.util.Vector();
- private java.util.Vector cachedSerFactories = new java.util.Vector();
- private java.util.Vector cachedDeserFactories = new java.util.Vector();
-
- static org.apache.axis.description.OperationDesc [] _operations;
-
- static {
- _operations = new org.apache.axis.description.OperationDesc[1];
- _initOperationDesc1();
+/**
+ * LoanBrokerWSBindingStub.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
+ */
+
+package org.jboss.soa.esb.samples.trailblazer.web.generated;
+
+public class LoanBrokerWSBindingStub extends org.apache.axis.client.Stub implements org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS {
+ private java.util.Vector cachedSerClasses = new java.util.Vector();
+ private java.util.Vector cachedSerQNames = new java.util.Vector();
+ private java.util.Vector cachedSerFactories = new java.util.Vector();
+ private java.util.Vector cachedDeserFactories = new java.util.Vector();
+
+ static org.apache.axis.description.OperationDesc [] _operations;
+
+ static {
+ _operations = new org.apache.axis.description.OperationDesc[1];
+ _initOperationDesc1();
}
-
- private static void _initOperationDesc1(){
- org.apache.axis.description.OperationDesc oper;
- org.apache.axis.description.ParameterDesc param;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("RequestLoan");
- param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "WebCustomer_1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://localhost/trailblazer", "WebCustomer"), org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer.class, false, false);
- oper.addParameter(param);
- oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
- oper.setStyle(org.apache.axis.constants.Style.RPC);
- oper.setUse(org.apache.axis.constants.Use.LITERAL);
- _operations[0] = oper;
-
- }
-
- public LoanBrokerWSBindingStub() throws org.apache.axis.AxisFault {
- this(null);
- }
-
- public LoanBrokerWSBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
- this(service);
- super.cachedEndpoint = endpointURL;
- }
-
- public LoanBrokerWSBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
- if (service == null) {
- super.service = new org.apache.axis.client.Service();
- } else {
- super.service = service;
- }
- ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
- java.lang.Class cls;
- javax.xml.namespace.QName qName;
- javax.xml.namespace.QName qName2;
- java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
- java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
- java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
- java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
- java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
- java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
- java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
- java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
- java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
- java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
- qName = new javax.xml.namespace.QName("http://localhost/trailblazer", "WebCustomer");
- cachedSerQNames.add(qName);
- cls = org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer.class;
- cachedSerClasses.add(cls);
- cachedSerFactories.add(beansf);
- cachedDeserFactories.add(beandf);
-
- }
-
- protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
- try {
- org.apache.axis.client.Call _call = super._createCall();
- if (super.maintainSessionSet) {
- _call.setMaintainSession(super.maintainSession);
- }
- if (super.cachedUsername != null) {
- _call.setUsername(super.cachedUsername);
- }
- if (super.cachedPassword != null) {
- _call.setPassword(super.cachedPassword);
- }
- if (super.cachedEndpoint != null) {
- _call.setTargetEndpointAddress(super.cachedEndpoint);
- }
- if (super.cachedTimeout != null) {
- _call.setTimeout(super.cachedTimeout);
- }
- if (super.cachedPortName != null) {
- _call.setPortName(super.cachedPortName);
- }
- java.util.Enumeration keys = super.cachedProperties.keys();
- while (keys.hasMoreElements()) {
- java.lang.String key = (java.lang.String) keys.nextElement();
- _call.setProperty(key, super.cachedProperties.get(key));
- }
- // All the type mapping information is registered
- // when the first call is made.
- // The type mapping information is actually registered in
- // the TypeMappingRegistry of the service, which
- // is the reason why registration is only needed for the first call.
- synchronized (this) {
- if (firstCall()) {
- // must set encoding style before registering serializers
- _call.setEncodingStyle(null);
- for (int i = 0; i < cachedSerFactories.size(); ++i) {
- java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
- javax.xml.namespace.QName qName =
- (javax.xml.namespace.QName) cachedSerQNames.get(i);
- java.lang.Object x = cachedSerFactories.get(i);
- if (x instanceof Class) {
- java.lang.Class sf = (java.lang.Class)
- cachedSerFactories.get(i);
- java.lang.Class df = (java.lang.Class)
- cachedDeserFactories.get(i);
- _call.registerTypeMapping(cls, qName, sf, df, false);
- }
- else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
- org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
- cachedSerFactories.get(i);
- org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
- cachedDeserFactories.get(i);
- _call.registerTypeMapping(cls, qName, sf, df, false);
- }
- }
- }
- }
- return _call;
- }
- catch (java.lang.Throwable _t) {
- throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
- }
- }
-
- public void requestLoan(org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer webCustomer_1) throws java.rmi.RemoteException {
- if (super.cachedEndpoint == null) {
- throw new org.apache.axis.NoEndPointException();
- }
- org.apache.axis.client.Call _call = createCall();
- _call.setOperation(_operations[0]);
- _call.setUseSOAPAction(true);
- _call.setSOAPActionURI("");
- _call.setEncodingStyle(null);
- _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
- _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
- _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
- _call.setOperationName(new javax.xml.namespace.QName("http://localhost/trailblazer", "RequestLoan"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {webCustomer_1});
-
- if (_resp instanceof java.rmi.RemoteException) {
- throw (java.rmi.RemoteException)_resp;
- }
- extractAttachments(_call);
- } catch (org.apache.axis.AxisFault axisFaultException) {
- throw axisFaultException;
-}
- }
-
-}
+
+ private static void _initOperationDesc1(){
+ org.apache.axis.description.OperationDesc oper;
+ org.apache.axis.description.ParameterDesc param;
+ oper = new org.apache.axis.description.OperationDesc();
+ oper.setName("RequestLoan");
+ param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "WebCustomer_1"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://localhost/trailblazer", "WebCustomer"), org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer.class, false, false);
+ oper.addParameter(param);
+ oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
+ oper.setStyle(org.apache.axis.constants.Style.RPC);
+ oper.setUse(org.apache.axis.constants.Use.LITERAL);
+ _operations[0] = oper;
+
+ }
+
+ public LoanBrokerWSBindingStub() throws org.apache.axis.AxisFault {
+ this(null);
+ }
+
+ public LoanBrokerWSBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
+ this(service);
+ super.cachedEndpoint = endpointURL;
+ }
+
+ public LoanBrokerWSBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
+ if (service == null) {
+ super.service = new org.apache.axis.client.Service();
+ } else {
+ super.service = service;
+ }
+ ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
+ java.lang.Class cls;
+ javax.xml.namespace.QName qName;
+ javax.xml.namespace.QName qName2;
+ java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
+ java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
+ java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
+ java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
+ java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
+ java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
+ java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
+ java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
+ java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
+ java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
+ qName = new javax.xml.namespace.QName("http://localhost/trailblazer", "WebCustomer");
+ cachedSerQNames.add(qName);
+ cls = org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer.class;
+ cachedSerClasses.add(cls);
+ cachedSerFactories.add(beansf);
+ cachedDeserFactories.add(beandf);
+
+ }
+
+ protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
+ try {
+ org.apache.axis.client.Call _call = super._createCall();
+ if (super.maintainSessionSet) {
+ _call.setMaintainSession(super.maintainSession);
+ }
+ if (super.cachedUsername != null) {
+ _call.setUsername(super.cachedUsername);
+ }
+ if (super.cachedPassword != null) {
+ _call.setPassword(super.cachedPassword);
+ }
+ if (super.cachedEndpoint != null) {
+ _call.setTargetEndpointAddress(super.cachedEndpoint);
+ }
+ if (super.cachedTimeout != null) {
+ _call.setTimeout(super.cachedTimeout);
+ }
+ if (super.cachedPortName != null) {
+ _call.setPortName(super.cachedPortName);
+ }
+ java.util.Enumeration keys = super.cachedProperties.keys();
+ while (keys.hasMoreElements()) {
+ java.lang.String key = (java.lang.String) keys.nextElement();
+ _call.setProperty(key, super.cachedProperties.get(key));
+ }
+ // All the type mapping information is registered
+ // when the first call is made.
+ // The type mapping information is actually registered in
+ // the TypeMappingRegistry of the service, which
+ // is the reason why registration is only needed for the first call.
+ synchronized (this) {
+ if (firstCall()) {
+ // must set encoding style before registering serializers
+ _call.setEncodingStyle(null);
+ for (int i = 0; i < cachedSerFactories.size(); ++i) {
+ java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
+ javax.xml.namespace.QName qName =
+ (javax.xml.namespace.QName) cachedSerQNames.get(i);
+ java.lang.Object x = cachedSerFactories.get(i);
+ if (x instanceof Class) {
+ java.lang.Class sf = (java.lang.Class)
+ cachedSerFactories.get(i);
+ java.lang.Class df = (java.lang.Class)
+ cachedDeserFactories.get(i);
+ _call.registerTypeMapping(cls, qName, sf, df, false);
+ }
+ else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
+ org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
+ cachedSerFactories.get(i);
+ org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
+ cachedDeserFactories.get(i);
+ _call.registerTypeMapping(cls, qName, sf, df, false);
+ }
+ }
+ }
+ }
+ return _call;
+ }
+ catch (java.lang.Throwable _t) {
+ throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
+ }
+ }
+
+ public void requestLoan(org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer webCustomer_1) throws java.rmi.RemoteException {
+ if (super.cachedEndpoint == null) {
+ throw new org.apache.axis.NoEndPointException();
+ }
+ org.apache.axis.client.Call _call = createCall();
+ _call.setOperation(_operations[0]);
+ _call.setUseSOAPAction(true);
+ _call.setSOAPActionURI("");
+ _call.setEncodingStyle(null);
+ _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
+ _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
+ _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+ _call.setOperationName(new javax.xml.namespace.QName("http://localhost/trailblazer", "RequestLoan"));
+
+ setRequestHeaders(_call);
+ setAttachments(_call);
+ try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {webCustomer_1});
+
+ if (_resp instanceof java.rmi.RemoteException) {
+ throw (java.rmi.RemoteException)_resp;
+ }
+ extractAttachments(_call);
+ } catch (org.apache.axis.AxisFault axisFaultException) {
+ throw axisFaultException;
+}
+ }
+
+}
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSProxy.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSProxy.java 2006-11-19 12:46:39 UTC (rev 7708)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSProxy.java 2006-11-19 16:10:57 UTC (rev 7709)
@@ -1,50 +1,49 @@
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-
-public class LoanBrokerWSProxy implements org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS {
- private String _endpoint = null;
- private org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS loanBrokerWS = null;
-
- public LoanBrokerWSProxy() {
- _initLoanBrokerWSProxy();
- }
-
- private void _initLoanBrokerWSProxy() {
- try {
- loanBrokerWS = (new org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSServiceLocator()).getLoanBrokerWSPort();
- if (loanBrokerWS != null) {
- if (_endpoint != null)
- ((javax.xml.rpc.Stub)loanBrokerWS)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
- else
- _endpoint = (String)((javax.xml.rpc.Stub)loanBrokerWS)._getProperty("javax.xml.rpc.service.endpoint.address");
- }
-
- }
- catch (javax.xml.rpc.ServiceException serviceException) {}
- }
-
- public String getEndpoint() {
- return _endpoint;
- }
-
- public void setEndpoint(String endpoint) {
- _endpoint = endpoint;
- if (loanBrokerWS != null)
- ((javax.xml.rpc.Stub)loanBrokerWS)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
-
- }
-
- public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWS() {
- if (loanBrokerWS == null)
- _initLoanBrokerWSProxy();
- return loanBrokerWS;
- }
-
- public void requestLoan(org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer webCustomer_1) throws java.rmi.RemoteException{
- if (loanBrokerWS == null)
- _initLoanBrokerWSProxy();
- loanBrokerWS.requestLoan(webCustomer_1);
- }
-
-
+package org.jboss.soa.esb.samples.trailblazer.web.generated;
+
+public class LoanBrokerWSProxy implements org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS {
+ private String _endpoint = null;
+ private org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS loanBrokerWS = null;
+
+ public LoanBrokerWSProxy() {
+ _initLoanBrokerWSProxy();
+ }
+
+ private void _initLoanBrokerWSProxy() {
+ try {
+ loanBrokerWS = (new org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSServiceLocator()).getLoanBrokerWSPort();
+ if (loanBrokerWS != null) {
+ if (_endpoint != null)
+ ((javax.xml.rpc.Stub)loanBrokerWS)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
+ else
+ _endpoint = (String)((javax.xml.rpc.Stub)loanBrokerWS)._getProperty("javax.xml.rpc.service.endpoint.address");
+ }
+
+ }
+ catch (javax.xml.rpc.ServiceException serviceException) {}
+ }
+
+ public String getEndpoint() {
+ return _endpoint;
+ }
+
+ public void setEndpoint(String endpoint) {
+ _endpoint = endpoint;
+ if (loanBrokerWS != null)
+ ((javax.xml.rpc.Stub)loanBrokerWS)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
+
+ }
+
+ public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWS() {
+ if (loanBrokerWS == null)
+ _initLoanBrokerWSProxy();
+ return loanBrokerWS;
+ }
+
+ public void requestLoan(org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer webCustomer_1) throws java.rmi.RemoteException{
+ if (loanBrokerWS == null)
+ _initLoanBrokerWSProxy();
+ loanBrokerWS.requestLoan(webCustomer_1);
+ }
+
+
}
\ No newline at end of file
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSService.java 2006-11-19 12:46:39 UTC (rev 7708)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSService.java 2006-11-19 16:10:57 UTC (rev 7709)
@@ -1,16 +1,16 @@
-/**
- * LoanBrokerWSService.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
- */
-
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-public interface LoanBrokerWSService extends javax.xml.rpc.Service {
- public java.lang.String getLoanBrokerWSPortAddress();
-
- public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort() throws javax.xml.rpc.ServiceException;
-
- public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
-}
+/**
+ * LoanBrokerWSService.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
+ */
+
+package org.jboss.soa.esb.samples.trailblazer.web.generated;
+
+public interface LoanBrokerWSService extends javax.xml.rpc.Service {
+ public java.lang.String getLoanBrokerWSPortAddress();
+
+ public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort() throws javax.xml.rpc.ServiceException;
+
+ public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
+}
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSServiceLocator.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSServiceLocator.java 2006-11-19 12:46:39 UTC (rev 7708)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSServiceLocator.java 2006-11-19 16:10:57 UTC (rev 7709)
@@ -1,142 +1,142 @@
-/**
- * LoanBrokerWSServiceLocator.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
- */
-
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-public class LoanBrokerWSServiceLocator extends org.apache.axis.client.Service implements org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSService {
-
- public LoanBrokerWSServiceLocator() {
- }
-
-
- public LoanBrokerWSServiceLocator(org.apache.axis.EngineConfiguration config) {
- super(config);
- }
-
- public LoanBrokerWSServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
- super(wsdlLoc, sName);
- }
-
- // Use to get a proxy class for LoanBrokerWSPort
- private java.lang.String LoanBrokerWSPort_address = "http://d820:8080/trailblazer/LoanBrokerWS";
-
- public java.lang.String getLoanBrokerWSPortAddress() {
- return LoanBrokerWSPort_address;
- }
-
- // The WSDD service name defaults to the port name.
- private java.lang.String LoanBrokerWSPortWSDDServiceName = "LoanBrokerWSPort";
-
- public java.lang.String getLoanBrokerWSPortWSDDServiceName() {
- return LoanBrokerWSPortWSDDServiceName;
- }
-
- public void setLoanBrokerWSPortWSDDServiceName(java.lang.String name) {
- LoanBrokerWSPortWSDDServiceName = name;
- }
-
- public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort() throws javax.xml.rpc.ServiceException {
- java.net.URL endpoint;
- try {
- endpoint = new java.net.URL(LoanBrokerWSPort_address);
- }
- catch (java.net.MalformedURLException e) {
- throw new javax.xml.rpc.ServiceException(e);
- }
- return getLoanBrokerWSPort(endpoint);
- }
-
- public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
- try {
- org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub _stub = new org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub(portAddress, this);
- _stub.setPortName(getLoanBrokerWSPortWSDDServiceName());
- return _stub;
- }
- catch (org.apache.axis.AxisFault e) {
- return null;
- }
- }
-
- public void setLoanBrokerWSPortEndpointAddress(java.lang.String address) {
- LoanBrokerWSPort_address = address;
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- try {
- if (org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS.class.isAssignableFrom(serviceEndpointInterface)) {
- org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub _stub = new org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub(new java.net.URL(LoanBrokerWSPort_address), this);
- _stub.setPortName(getLoanBrokerWSPortWSDDServiceName());
- return _stub;
- }
- }
- catch (java.lang.Throwable t) {
- throw new javax.xml.rpc.ServiceException(t);
- }
- throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
- }
-
- /**
- * For the given interface, get the stub implementation.
- * If this service has no port for the given interface,
- * then ServiceException is thrown.
- */
- public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
- if (portName == null) {
- return getPort(serviceEndpointInterface);
- }
- java.lang.String inputPortName = portName.getLocalPart();
- if ("LoanBrokerWSPort".equals(inputPortName)) {
- return getLoanBrokerWSPort();
- }
- else {
- java.rmi.Remote _stub = getPort(serviceEndpointInterface);
- ((org.apache.axis.client.Stub) _stub).setPortName(portName);
- return _stub;
- }
- }
-
- public javax.xml.namespace.QName getServiceName() {
- return new javax.xml.namespace.QName("http://localhost/trailblazer", "LoanBrokerWSService");
- }
-
- private java.util.HashSet ports = null;
-
- public java.util.Iterator getPorts() {
- if (ports == null) {
- ports = new java.util.HashSet();
- ports.add(new javax.xml.namespace.QName("http://localhost/trailblazer", "LoanBrokerWSPort"));
- }
- return ports.iterator();
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
-
-if ("LoanBrokerWSPort".equals(portName)) {
- setLoanBrokerWSPortEndpointAddress(address);
- }
- else
-{ // Unknown Port Name
- throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
- }
- }
-
- /**
- * Set the endpoint address for the specified port name.
- */
- public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
- setEndpointAddress(portName.getLocalPart(), address);
- }
-
-}
+/**
+ * LoanBrokerWSServiceLocator.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
+ */
+
+package org.jboss.soa.esb.samples.trailblazer.web.generated;
+
+public class LoanBrokerWSServiceLocator extends org.apache.axis.client.Service implements org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSService {
+
+ public LoanBrokerWSServiceLocator() {
+ }
+
+
+ public LoanBrokerWSServiceLocator(org.apache.axis.EngineConfiguration config) {
+ super(config);
+ }
+
+ public LoanBrokerWSServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException {
+ super(wsdlLoc, sName);
+ }
+
+ // Use to get a proxy class for LoanBrokerWSPort
+ private java.lang.String LoanBrokerWSPort_address = "http://localhost:8080/trailblazer/LoanBrokerWS";
+
+ public java.lang.String getLoanBrokerWSPortAddress() {
+ return LoanBrokerWSPort_address;
+ }
+
+ // The WSDD service name defaults to the port name.
+ private java.lang.String LoanBrokerWSPortWSDDServiceName = "LoanBrokerWSPort";
+
+ public java.lang.String getLoanBrokerWSPortWSDDServiceName() {
+ return LoanBrokerWSPortWSDDServiceName;
+ }
+
+ public void setLoanBrokerWSPortWSDDServiceName(java.lang.String name) {
+ LoanBrokerWSPortWSDDServiceName = name;
+ }
+
+ public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort() throws javax.xml.rpc.ServiceException {
+ java.net.URL endpoint;
+ try {
+ endpoint = new java.net.URL(LoanBrokerWSPort_address);
+ }
+ catch (java.net.MalformedURLException e) {
+ throw new javax.xml.rpc.ServiceException(e);
+ }
+ return getLoanBrokerWSPort(endpoint);
+ }
+
+ public org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS getLoanBrokerWSPort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
+ try {
+ org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub _stub = new org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub(portAddress, this);
+ _stub.setPortName(getLoanBrokerWSPortWSDDServiceName());
+ return _stub;
+ }
+ catch (org.apache.axis.AxisFault e) {
+ return null;
+ }
+ }
+
+ public void setLoanBrokerWSPortEndpointAddress(java.lang.String address) {
+ LoanBrokerWSPort_address = address;
+ }
+
+ /**
+ * For the given interface, get the stub implementation.
+ * If this service has no port for the given interface,
+ * then ServiceException is thrown.
+ */
+ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
+ try {
+ if (org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWS.class.isAssignableFrom(serviceEndpointInterface)) {
+ org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub _stub = new org.jboss.soa.esb.samples.trailblazer.web.generated.LoanBrokerWSBindingStub(new java.net.URL(LoanBrokerWSPort_address), this);
+ _stub.setPortName(getLoanBrokerWSPortWSDDServiceName());
+ return _stub;
+ }
+ }
+ catch (java.lang.Throwable t) {
+ throw new javax.xml.rpc.ServiceException(t);
+ }
+ throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
+ }
+
+ /**
+ * For the given interface, get the stub implementation.
+ * If this service has no port for the given interface,
+ * then ServiceException is thrown.
+ */
+ public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
+ if (portName == null) {
+ return getPort(serviceEndpointInterface);
+ }
+ java.lang.String inputPortName = portName.getLocalPart();
+ if ("LoanBrokerWSPort".equals(inputPortName)) {
+ return getLoanBrokerWSPort();
+ }
+ else {
+ java.rmi.Remote _stub = getPort(serviceEndpointInterface);
+ ((org.apache.axis.client.Stub) _stub).setPortName(portName);
+ return _stub;
+ }
+ }
+
+ public javax.xml.namespace.QName getServiceName() {
+ return new javax.xml.namespace.QName("http://localhost/trailblazer", "LoanBrokerWSService");
+ }
+
+ private java.util.HashSet ports = null;
+
+ public java.util.Iterator getPorts() {
+ if (ports == null) {
+ ports = new java.util.HashSet();
+ ports.add(new javax.xml.namespace.QName("http://localhost/trailblazer", "LoanBrokerWSPort"));
+ }
+ return ports.iterator();
+ }
+
+ /**
+ * Set the endpoint address for the specified port name.
+ */
+ public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
+
+if ("LoanBrokerWSPort".equals(portName)) {
+ setLoanBrokerWSPortEndpointAddress(address);
+ }
+ else
+{ // Unknown Port Name
+ throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
+ }
+ }
+
+ /**
+ * Set the endpoint address for the specified port name.
+ */
+ public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
+ setEndpointAddress(portName.getLocalPart(), address);
+ }
+
+}
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/WebCustomer.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/WebCustomer.java 2006-11-19 12:46:39 UTC (rev 7708)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/WebCustomer.java 2006-11-19 16:10:57 UTC (rev 7709)
@@ -1,355 +1,355 @@
-/**
- * WebCustomer.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
- */
-
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-public class WebCustomer implements java.io.Serializable {
- private java.lang.String address;
-
- private java.lang.String email;
-
- private java.lang.String employerName;
-
- private double loanAmount;
-
- private int loanDuration;
-
- private java.lang.String name;
-
- private double salary;
-
- private int ssn;
-
- public WebCustomer() {
- }
-
- public WebCustomer(
- java.lang.String address,
- java.lang.String email,
- java.lang.String employerName,
- double loanAmount,
- int loanDuration,
- java.lang.String name,
- double salary,
- int ssn) {
- this.address = address;
- this.email = email;
- this.employerName = employerName;
- this.loanAmount = loanAmount;
- this.loanDuration = loanDuration;
- this.name = name;
- this.salary = salary;
- this.ssn = ssn;
- }
-
-
- /**
- * Gets the address value for this WebCustomer.
- *
- * @return address
- */
- public java.lang.String getAddress() {
- return address;
- }
-
-
- /**
- * Sets the address value for this WebCustomer.
- *
- * @param address
- */
- public void setAddress(java.lang.String address) {
- this.address = address;
- }
-
-
- /**
- * Gets the email value for this WebCustomer.
- *
- * @return email
- */
- public java.lang.String getEmail() {
- return email;
- }
-
-
- /**
- * Sets the email value for this WebCustomer.
- *
- * @param email
- */
- public void setEmail(java.lang.String email) {
- this.email = email;
- }
-
-
- /**
- * Gets the employerName value for this WebCustomer.
- *
- * @return employerName
- */
- public java.lang.String getEmployerName() {
- return employerName;
- }
-
-
- /**
- * Sets the employerName value for this WebCustomer.
- *
- * @param employerName
- */
- public void setEmployerName(java.lang.String employerName) {
- this.employerName = employerName;
- }
-
-
- /**
- * Gets the loanAmount value for this WebCustomer.
- *
- * @return loanAmount
- */
- public double getLoanAmount() {
- return loanAmount;
- }
-
-
- /**
- * Sets the loanAmount value for this WebCustomer.
- *
- * @param loanAmount
- */
- public void setLoanAmount(double loanAmount) {
- this.loanAmount = loanAmount;
- }
-
-
- /**
- * Gets the loanDuration value for this WebCustomer.
- *
- * @return loanDuration
- */
- public int getLoanDuration() {
- return loanDuration;
- }
-
-
- /**
- * Sets the loanDuration value for this WebCustomer.
- *
- * @param loanDuration
- */
- public void setLoanDuration(int loanDuration) {
- this.loanDuration = loanDuration;
- }
-
-
- /**
- * Gets the name value for this WebCustomer.
- *
- * @return name
- */
- public java.lang.String getName() {
- return name;
- }
-
-
- /**
- * Sets the name value for this WebCustomer.
- *
- * @param name
- */
- public void setName(java.lang.String name) {
- this.name = name;
- }
-
-
- /**
- * Gets the salary value for this WebCustomer.
- *
- * @return salary
- */
- public double getSalary() {
- return salary;
- }
-
-
- /**
- * Sets the salary value for this WebCustomer.
- *
- * @param salary
- */
- public void setSalary(double salary) {
- this.salary = salary;
- }
-
-
- /**
- * Gets the ssn value for this WebCustomer.
- *
- * @return ssn
- */
- public int getSsn() {
- return ssn;
- }
-
-
- /**
- * Sets the ssn value for this WebCustomer.
- *
- * @param ssn
- */
- public void setSsn(int ssn) {
- this.ssn = ssn;
- }
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof WebCustomer)) return false;
- WebCustomer other = (WebCustomer) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.address==null && other.getAddress()==null) ||
- (this.address!=null &&
- this.address.equals(other.getAddress()))) &&
- ((this.email==null && other.getEmail()==null) ||
- (this.email!=null &&
- this.email.equals(other.getEmail()))) &&
- ((this.employerName==null && other.getEmployerName()==null) ||
- (this.employerName!=null &&
- this.employerName.equals(other.getEmployerName()))) &&
- this.loanAmount == other.getLoanAmount() &&
- this.loanDuration == other.getLoanDuration() &&
- ((this.name==null && other.getName()==null) ||
- (this.name!=null &&
- this.name.equals(other.getName()))) &&
- this.salary == other.getSalary() &&
- this.ssn == other.getSsn();
- __equalsCalc = null;
- return _equals;
- }
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
- }
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getAddress() != null) {
- _hashCode += getAddress().hashCode();
- }
- if (getEmail() != null) {
- _hashCode += getEmail().hashCode();
- }
- if (getEmployerName() != null) {
- _hashCode += getEmployerName().hashCode();
- }
- _hashCode += new Double(getLoanAmount()).hashCode();
- _hashCode += getLoanDuration();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- _hashCode += new Double(getSalary()).hashCode();
- _hashCode += getSsn();
- __hashCodeCalc = false;
- return _hashCode;
- }
-
- // Type metadata
- private static org.apache.axis.description.TypeDesc typeDesc =
- new org.apache.axis.description.TypeDesc(WebCustomer.class, true);
-
- static {
- typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost/trailblazer", "WebCustomer"));
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("address");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "address"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("email");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "email"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("employerName");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "employerName"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("loanAmount");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "loanAmount"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("loanDuration");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "loanDuration"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "name"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- elemField.setNillable(true);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("salary");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "salary"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ssn");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "ssn"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
- elemField.setNillable(false);
- typeDesc.addFieldDesc(elemField);
- }
-
- /**
- * Return type metadata object
- */
- public static org.apache.axis.description.TypeDesc getTypeDesc() {
- return typeDesc;
- }
-
- /**
- * Get Custom Serializer
- */
- public static org.apache.axis.encoding.Serializer getSerializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanSerializer(
- _javaType, _xmlType, typeDesc);
- }
-
- /**
- * Get Custom Deserializer
- */
- public static org.apache.axis.encoding.Deserializer getDeserializer(
- java.lang.String mechType,
- java.lang.Class _javaType,
- javax.xml.namespace.QName _xmlType) {
- return
- new org.apache.axis.encoding.ser.BeanDeserializer(
- _javaType, _xmlType, typeDesc);
- }
-
-}
+/**
+ * WebCustomer.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
+ */
+
+package org.jboss.soa.esb.samples.trailblazer.web.generated;
+
+public class WebCustomer implements java.io.Serializable {
+ private java.lang.String address;
+
+ private java.lang.String email;
+
+ private java.lang.String employerName;
+
+ private double loanAmount;
+
+ private int loanDuration;
+
+ private java.lang.String name;
+
+ private double salary;
+
+ private int ssn;
+
+ public WebCustomer() {
+ }
+
+ public WebCustomer(
+ java.lang.String address,
+ java.lang.String email,
+ java.lang.String employerName,
+ double loanAmount,
+ int loanDuration,
+ java.lang.String name,
+ double salary,
+ int ssn) {
+ this.address = address;
+ this.email = email;
+ this.employerName = employerName;
+ this.loanAmount = loanAmount;
+ this.loanDuration = loanDuration;
+ this.name = name;
+ this.salary = salary;
+ this.ssn = ssn;
+ }
+
+
+ /**
+ * Gets the address value for this WebCustomer.
+ *
+ * @return address
+ */
+ public java.lang.String getAddress() {
+ return address;
+ }
+
+
+ /**
+ * Sets the address value for this WebCustomer.
+ *
+ * @param address
+ */
+ public void setAddress(java.lang.String address) {
+ this.address = address;
+ }
+
+
+ /**
+ * Gets the email value for this WebCustomer.
+ *
+ * @return email
+ */
+ public java.lang.String getEmail() {
+ return email;
+ }
+
+
+ /**
+ * Sets the email value for this WebCustomer.
+ *
+ * @param email
+ */
+ public void setEmail(java.lang.String email) {
+ this.email = email;
+ }
+
+
+ /**
+ * Gets the employerName value for this WebCustomer.
+ *
+ * @return employerName
+ */
+ public java.lang.String getEmployerName() {
+ return employerName;
+ }
+
+
+ /**
+ * Sets the employerName value for this WebCustomer.
+ *
+ * @param employerName
+ */
+ public void setEmployerName(java.lang.String employerName) {
+ this.employerName = employerName;
+ }
+
+
+ /**
+ * Gets the loanAmount value for this WebCustomer.
+ *
+ * @return loanAmount
+ */
+ public double getLoanAmount() {
+ return loanAmount;
+ }
+
+
+ /**
+ * Sets the loanAmount value for this WebCustomer.
+ *
+ * @param loanAmount
+ */
+ public void setLoanAmount(double loanAmount) {
+ this.loanAmount = loanAmount;
+ }
+
+
+ /**
+ * Gets the loanDuration value for this WebCustomer.
+ *
+ * @return loanDuration
+ */
+ public int getLoanDuration() {
+ return loanDuration;
+ }
+
+
+ /**
+ * Sets the loanDuration value for this WebCustomer.
+ *
+ * @param loanDuration
+ */
+ public void setLoanDuration(int loanDuration) {
+ this.loanDuration = loanDuration;
+ }
+
+
+ /**
+ * Gets the name value for this WebCustomer.
+ *
+ * @return name
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+
+ /**
+ * Sets the name value for this WebCustomer.
+ *
+ * @param name
+ */
+ public void setName(java.lang.String name) {
+ this.name = name;
+ }
+
+
+ /**
+ * Gets the salary value for this WebCustomer.
+ *
+ * @return salary
+ */
+ public double getSalary() {
+ return salary;
+ }
+
+
+ /**
+ * Sets the salary value for this WebCustomer.
+ *
+ * @param salary
+ */
+ public void setSalary(double salary) {
+ this.salary = salary;
+ }
+
+
+ /**
+ * Gets the ssn value for this WebCustomer.
+ *
+ * @return ssn
+ */
+ public int getSsn() {
+ return ssn;
+ }
+
+
+ /**
+ * Sets the ssn value for this WebCustomer.
+ *
+ * @param ssn
+ */
+ public void setSsn(int ssn) {
+ this.ssn = ssn;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+ public synchronized boolean equals(java.lang.Object obj) {
+ if (!(obj instanceof WebCustomer)) return false;
+ WebCustomer other = (WebCustomer) obj;
+ if (obj == null) return false;
+ if (this == obj) return true;
+ if (__equalsCalc != null) {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true &&
+ ((this.address==null && other.getAddress()==null) ||
+ (this.address!=null &&
+ this.address.equals(other.getAddress()))) &&
+ ((this.email==null && other.getEmail()==null) ||
+ (this.email!=null &&
+ this.email.equals(other.getEmail()))) &&
+ ((this.employerName==null && other.getEmployerName()==null) ||
+ (this.employerName!=null &&
+ this.employerName.equals(other.getEmployerName()))) &&
+ this.loanAmount == other.getLoanAmount() &&
+ this.loanDuration == other.getLoanDuration() &&
+ ((this.name==null && other.getName()==null) ||
+ (this.name!=null &&
+ this.name.equals(other.getName()))) &&
+ this.salary == other.getSalary() &&
+ this.ssn == other.getSsn();
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+ public synchronized int hashCode() {
+ if (__hashCodeCalc) {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getAddress() != null) {
+ _hashCode += getAddress().hashCode();
+ }
+ if (getEmail() != null) {
+ _hashCode += getEmail().hashCode();
+ }
+ if (getEmployerName() != null) {
+ _hashCode += getEmployerName().hashCode();
+ }
+ _hashCode += new Double(getLoanAmount()).hashCode();
+ _hashCode += getLoanDuration();
+ if (getName() != null) {
+ _hashCode += getName().hashCode();
+ }
+ _hashCode += new Double(getSalary()).hashCode();
+ _hashCode += getSsn();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+ // Type metadata
+ private static org.apache.axis.description.TypeDesc typeDesc =
+ new org.apache.axis.description.TypeDesc(WebCustomer.class, true);
+
+ static {
+ typeDesc.setXmlType(new javax.xml.namespace.QName("http://localhost/trailblazer", "WebCustomer"));
+ org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("address");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "address"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("email");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "email"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("employerName");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "employerName"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("loanAmount");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "loanAmount"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("loanDuration");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "loanDuration"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("name");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "name"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+ elemField.setNillable(true);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("salary");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "salary"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ elemField = new org.apache.axis.description.ElementDesc();
+ elemField.setFieldName("ssn");
+ elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/trailblazer", "ssn"));
+ elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
+ elemField.setNillable(false);
+ typeDesc.addFieldDesc(elemField);
+ }
+
+ /**
+ * Return type metadata object
+ */
+ public static org.apache.axis.description.TypeDesc getTypeDesc() {
+ return typeDesc;
+ }
+
+ /**
+ * Get Custom Serializer
+ */
+ public static org.apache.axis.encoding.Serializer getSerializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanSerializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+ /**
+ * Get Custom Deserializer
+ */
+ public static org.apache.axis.encoding.Deserializer getDeserializer(
+ java.lang.String mechType,
+ java.lang.Class _javaType,
+ javax.xml.namespace.QName _xmlType) {
+ return
+ new org.apache.axis.encoding.ser.BeanDeserializer(
+ _javaType, _xmlType, typeDesc);
+ }
+
+}
More information about the jboss-svn-commits
mailing list