From e0fa36060fb2b30c018124570a38fb6ddc5c0e65 Mon Sep 17 00:00:00 2001 From: nash Date: Wed, 19 May 2010 21:18:41 +0000 Subject: Merge revision r944832 from 1.0 release branch git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@946403 13f79535-47bb-0310-9956-ffa450edef68 --- .../payment/MakePaymentMemberResponseType.java | 62 ---------------- .../payment/MakePaymentMemberType.java | 82 ---------------------- .../com/tuscanyscatours/payment/ObjectFactory.java | 71 ------------------- .../java/com/tuscanyscatours/payment/Payment.java | 43 ------------ .../tuscanyscatours/payment/PaymentService.java | 71 ------------------- .../com/tuscanyscatours/payment/package-info.java | 2 - 6 files changed, 331 deletions(-) delete mode 100644 sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberResponseType.java delete mode 100644 sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberType.java delete mode 100644 sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/ObjectFactory.java delete mode 100644 sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/Payment.java delete mode 100644 sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/PaymentService.java delete mode 100644 sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/package-info.java (limited to 'sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com') diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberResponseType.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberResponseType.java deleted file mode 100644 index e5f3ef3cad..0000000000 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberResponseType.java +++ /dev/null @@ -1,62 +0,0 @@ - -package com.tuscanyscatours.payment; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for MakePaymentMemberResponseType complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="MakePaymentMemberResponseType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MakePaymentMemberResponseType", propOrder = { - "status" -}) -public class MakePaymentMemberResponseType { - - @XmlElement(name = "Status", required = true) - protected String status; - - /** - * Gets the value of the status property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStatus() { - return status; - } - - /** - * Sets the value of the status property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStatus(String value) { - this.status = value; - } - -} diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberType.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberType.java deleted file mode 100644 index ca94d86628..0000000000 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/MakePaymentMemberType.java +++ /dev/null @@ -1,82 +0,0 @@ - -package com.tuscanyscatours.payment; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for MakePaymentMemberType complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="MakePaymentMemberType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="CustomerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="Amount" type="{http://www.w3.org/2001/XMLSchema}float"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MakePaymentMemberType", propOrder = { - "customerId", - "amount" -}) -public class MakePaymentMemberType { - - @XmlElement(name = "CustomerId", required = true) - protected String customerId; - @XmlElement(name = "Amount") - protected float amount; - - /** - * Gets the value of the customerId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCustomerId() { - return customerId; - } - - /** - * Sets the value of the customerId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCustomerId(String value) { - this.customerId = value; - } - - /** - * Gets the value of the amount property. - * - */ - public float getAmount() { - return amount; - } - - /** - * Sets the value of the amount property. - * - */ - public void setAmount(float value) { - this.amount = value; - } - -} diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/ObjectFactory.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/ObjectFactory.java deleted file mode 100644 index b069b2ba94..0000000000 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/ObjectFactory.java +++ /dev/null @@ -1,71 +0,0 @@ - -package com.tuscanyscatours.payment; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.tuscanyscatours.payment package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _MakePaymentMember_QNAME = new QName("http://www.tuscanyscatours.com/Payment/", "makePaymentMember"); - private final static QName _MakePaymentMemberResponse_QNAME = new QName("http://www.tuscanyscatours.com/Payment/", "makePaymentMemberResponse"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.tuscanyscatours.payment - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link MakePaymentMemberResponseType } - * - */ - public MakePaymentMemberResponseType createMakePaymentMemberResponseType() { - return new MakePaymentMemberResponseType(); - } - - /** - * Create an instance of {@link MakePaymentMemberType } - * - */ - public MakePaymentMemberType createMakePaymentMemberType() { - return new MakePaymentMemberType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link MakePaymentMemberType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.tuscanyscatours.com/Payment/", name = "makePaymentMember") - public JAXBElement createMakePaymentMember(MakePaymentMemberType value) { - return new JAXBElement(_MakePaymentMember_QNAME, MakePaymentMemberType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link MakePaymentMemberResponseType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://www.tuscanyscatours.com/Payment/", name = "makePaymentMemberResponse") - public JAXBElement createMakePaymentMemberResponse(MakePaymentMemberResponseType value) { - return new JAXBElement(_MakePaymentMemberResponse_QNAME, MakePaymentMemberResponseType.class, null, value); - } - -} diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/Payment.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/Payment.java deleted file mode 100644 index bbbd03d89a..0000000000 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/Payment.java +++ /dev/null @@ -1,43 +0,0 @@ - -package com.tuscanyscatours.payment; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebResult; -import javax.jws.WebService; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - - -/** - * This class was generated by the JAX-WS RI. - * JAX-WS RI 2.1.7-b01- - * Generated source version: 2.1 - * - */ -@WebService(name = "Payment", targetNamespace = "http://www.tuscanyscatours.com/Payment/") -@XmlSeeAlso({ - ObjectFactory.class -}) -public interface Payment { - - - /** - * - * @param amount - * @param customerId - * @return - * returns java.lang.String - */ - @WebMethod(action = "http://www.tuscanyscatours.com/Payment/makePayment") - @WebResult(name = "Status", targetNamespace = "") - @RequestWrapper(localName = "makePaymentMember", targetNamespace = "http://www.tuscanyscatours.com/Payment/", className = "com.tuscanyscatours.payment.MakePaymentMemberType") - @ResponseWrapper(localName = "makePaymentMemberResponse", targetNamespace = "http://www.tuscanyscatours.com/Payment/", className = "com.tuscanyscatours.payment.MakePaymentMemberResponseType") - public String makePaymentMember( - @WebParam(name = "CustomerId", targetNamespace = "") - String customerId, - @WebParam(name = "Amount", targetNamespace = "") - float amount); - -} diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/PaymentService.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/PaymentService.java deleted file mode 100644 index a430175976..0000000000 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/PaymentService.java +++ /dev/null @@ -1,71 +0,0 @@ - -package com.tuscanyscatours.payment; - -import java.net.MalformedURLException; -import java.net.URL; -import java.util.logging.Logger; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - - -/** - * This class was generated by the JAX-WS RI. - * JAX-WS RI 2.1.7-b01- - * Generated source version: 2.1 - * - */ -@WebServiceClient(name = "PaymentService", targetNamespace = "http://www.tuscanyscatours.com/Payment/", wsdlLocation = "file:/C:/simon/tuscany/travelsample/contributions/payment-java/src/main/resources/Payment.wsdl") -public class PaymentService - extends Service -{ - - private final static URL PAYMENTSERVICE_WSDL_LOCATION; - private final static Logger logger = Logger.getLogger(com.tuscanyscatours.payment.PaymentService.class.getName()); - - static { - URL url = null; - try { - URL baseUrl; - baseUrl = com.tuscanyscatours.payment.PaymentService.class.getResource("."); - url = new URL(baseUrl, "file:/C:/simon/tuscany/travelsample/contributions/payment-java/src/main/resources/Payment.wsdl"); - } catch (MalformedURLException e) { - logger.warning("Failed to create URL for the wsdl Location: 'file:/C:/simon/tuscany/travelsample/contributions/payment-java/src/main/resources/Payment.wsdl', retrying as a local file"); - logger.warning(e.getMessage()); - } - PAYMENTSERVICE_WSDL_LOCATION = url; - } - - public PaymentService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public PaymentService() { - super(PAYMENTSERVICE_WSDL_LOCATION, new QName("http://www.tuscanyscatours.com/Payment/", "PaymentService")); - } - - /** - * - * @return - * returns Payment - */ - @WebEndpoint(name = "PaymentPort") - public Payment getPaymentPort() { - return super.getPort(new QName("http://www.tuscanyscatours.com/Payment/", "PaymentPort"), Payment.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns Payment - */ - @WebEndpoint(name = "PaymentPort") - public Payment getPaymentPort(WebServiceFeature... features) { - return super.getPort(new QName("http://www.tuscanyscatours.com/Payment/", "PaymentPort"), Payment.class, features); - } - -} diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/package-info.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/package-info.java deleted file mode 100644 index acd208f5c9..0000000000 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-java-callback/src/main/java/com/tuscanyscatours/payment/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.tuscanyscatours.com/Payment/") -package com.tuscanyscatours.payment; -- cgit v1.2.3