[jboss-svn-commits] JBL Code SVN: r7692 - in 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
Fri Nov 17 15:37:11 EST 2006
Author: daniel.brum at jboss.com
Date: 2006-11-17 15:37:08 -0500 (Fri, 17 Nov 2006)
New Revision: 7692
Added:
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSProxy.java
Removed:
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/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
Modified:
labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java
Log:
Modified: labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java
===================================================================
--- labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java 2006-11-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/LoanBrokerWS.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -45,7 +45,7 @@
/**
* The Loan broker web service, which will handle a loan request.
*/
- at WebService(name = "LoanBrokerWS", targetNamespace = "http://localhost/loanbroker")
+ at WebService(name = "LoanBrokerWS", targetNamespace = "http://localhost/trailblazer")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class LoanBrokerWS
{
Deleted: 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-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWS.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -1,27 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-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;
-}
Deleted: 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-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSBindingStub.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -1,162 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-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;
- oper = new org.apache.axis.description.OperationDesc();
- oper.setName("RequestLoan");
- oper.addParameter(new javax.xml.namespace.QName("", "WebCustomer_1"), new javax.xml.namespace.QName("http://localhost/loanbroker", "WebCustomer"), org.jboss.soa.esb.samples.trailblazer.web.generated.WebCustomer.class, org.apache.axis.description.ParameterDesc.IN, false, false);
- 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;
- }
-// java.lang.Class cls;
-// javax.xml.namespace.QName qName;
-// 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;
-// qName = new javax.xml.namespace.QName("http://localhost/loanbroker", "WebCustomer");
-// cachedSerQNames.add(qName);
-// cls = org.jboss.soa.esb.samples.loanbroker.web.client.WebCustomer.class;
-// cachedSerClasses.add(cls);
-// cachedSerFactories.add(beansf);
-// cachedDeserFactories.add(beandf);
-
- }
-
- private org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
- try {
- org.apache.axis.client.Call _call =
- (org.apache.axis.client.Call) super.service.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.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);
- }
- }
- }
- 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/loanbroker", "RequestLoan"));
-
- setRequestHeaders(_call);
- setAttachments(_call);
- 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);
- }
-
-}
Added: 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-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSProxy.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -0,0 +1,50 @@
+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
Deleted: 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-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSService.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -1,30 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-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;
-}
Deleted: 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-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/LoanBrokerWSServiceLocator.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -1,143 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-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 {
-
- private static final long serialVersionUID = 1L;
- // Use to get a proxy class for LoanBrokerWSPort
- private java.lang.String LoanBrokerWSPort_address = "http://localhost:8080/loanbroker/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);
- }
- 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/loanbroker", "LoanBrokerWSService");
- }
-
- private java.util.HashSet<javax.xml.namespace.QName> ports = null;
-
- public java.util.Iterator getPorts() {
- if (ports == null) {
- ports = new java.util.HashSet<javax.xml.namespace.QName>();
- ports.add(new javax.xml.namespace.QName("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);
- }
-
-}
Deleted: 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-17 18:09:13 UTC (rev 7691)
+++ labs/jbossesb/trunk/product/samples/trailblazer2/client/src/org/jboss/soa/esb/samples/trailblazer/web/generated/WebCustomer.java 2006-11-17 20:37:08 UTC (rev 7692)
@@ -1,310 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.soa.esb.samples.trailblazer.web.generated;
-
-public class WebCustomer implements java.io.Serializable {
-
- private static final long serialVersionUID = 1L;
- private java.lang.String address;
- private 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() {
- }
-
-
- /**
- * 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 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 amountValue 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;
- }
-
- 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.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();
- __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 (getEmployerName() != null) {
- _hashCode += getEmployerName().hashCode();
- }
- _hashCode += new Double(getLoanAmount()).hashCode();
- _hashCode += getLoanDuration();
- if (getName() != null) {
- _hashCode += getName().hashCode();
- }
- _hashCode += new Double(getSalary()).hashCode();
- __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/loanbroker", "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/loanbroker", "address"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("email");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "email"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("employerName");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "employerName"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("loanAmount");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "loanAmount"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("loanDuration");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "loanDuration"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("name");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "name"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("salary");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "salary"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
- typeDesc.addFieldDesc(elemField);
- elemField = new org.apache.axis.description.ElementDesc();
- elemField.setFieldName("ssn");
- elemField.setXmlName(new javax.xml.namespace.QName("http://localhost/loanbroker", "ssn"));
- elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
- 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);
- }
-
-
- public String getEmail() {
- return email;
- }
-
-
- public void setEmail(String email) {
- this.email = email;
- }
-
-
- public int getSsn() {
- return ssn;
- }
-
-
- public void setSsn(int ssn) {
- this.ssn = ssn;
- }
-
-}
More information about the jboss-svn-commits
mailing list