diff --git a/src/main/java/https/www_w3schools_com/xml/CelsiusToFahrenheit.java b/src/main/java/https/www_w3schools_com/xml/CelsiusToFahrenheit.java new file mode 100644 index 0000000..a1c72f6 --- /dev/null +++ b/src/main/java/https/www_w3schools_com/xml/CelsiusToFahrenheit.java @@ -0,0 +1,64 @@ + +package https.www_w3schools_com.xml; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *
Java class for anonymous complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Celsius" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "celsius"
+})
+@XmlRootElement(name = "CelsiusToFahrenheit")
+public class CelsiusToFahrenheit {
+
+ @XmlElement(name = "Celsius")
+ protected String celsius;
+
+ /**
+ * Gets the value of the celsius property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCelsius() {
+ return celsius;
+ }
+
+ /**
+ * Sets the value of the celsius property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCelsius(String value) {
+ this.celsius = value;
+ }
+
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/CelsiusToFahrenheitResponse.java b/src/main/java/https/www_w3schools_com/xml/CelsiusToFahrenheitResponse.java
new file mode 100644
index 0000000..5f925bc
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/CelsiusToFahrenheitResponse.java
@@ -0,0 +1,64 @@
+
+package https.www_w3schools_com.xml;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Java class for anonymous complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="CelsiusToFahrenheitResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "celsiusToFahrenheitResult"
+})
+@XmlRootElement(name = "CelsiusToFahrenheitResponse")
+public class CelsiusToFahrenheitResponse {
+
+ @XmlElement(name = "CelsiusToFahrenheitResult")
+ protected String celsiusToFahrenheitResult;
+
+ /**
+ * Gets the value of the celsiusToFahrenheitResult property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCelsiusToFahrenheitResult() {
+ return celsiusToFahrenheitResult;
+ }
+
+ /**
+ * Sets the value of the celsiusToFahrenheitResult property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCelsiusToFahrenheitResult(String value) {
+ this.celsiusToFahrenheitResult = value;
+ }
+
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/ClientTemp.java b/src/main/java/https/www_w3schools_com/xml/ClientTemp.java
new file mode 100644
index 0000000..029f629
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/ClientTemp.java
@@ -0,0 +1,22 @@
+package https.www_w3schools_com.xml;
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPException;
+import javax.xml.ws.Service;
+import java.io.IOException;
+import java.net.URL;
+
+public class ClientTemp {
+ private static final String ADDRESS = "https://www.w3schools.com/xml/tempconvert.asmx?WSDL";
+
+ public ClientTemp() {
+ }
+
+ public String result(String convert) throws SOAPException, IOException {
+ URL url = new URL(ADDRESS);
+ QName qName = new QName("https://www.w3schools.com/xml/", "TempConvert");
+ Service service = Service.create(url, qName);
+ TempConvertSoap hello = service.getPort(TempConvertSoap.class);
+ return hello.celsiusToFahrenheit(convert);
+ }
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/FahrenheitToCelsius.java b/src/main/java/https/www_w3schools_com/xml/FahrenheitToCelsius.java
new file mode 100644
index 0000000..2ddce77
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/FahrenheitToCelsius.java
@@ -0,0 +1,64 @@
+
+package https.www_w3schools_com.xml;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Java class for anonymous complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="Fahrenheit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "fahrenheit"
+})
+@XmlRootElement(name = "FahrenheitToCelsius")
+public class FahrenheitToCelsius {
+
+ @XmlElement(name = "Fahrenheit")
+ protected String fahrenheit;
+
+ /**
+ * Gets the value of the fahrenheit property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFahrenheit() {
+ return fahrenheit;
+ }
+
+ /**
+ * Sets the value of the fahrenheit property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFahrenheit(String value) {
+ this.fahrenheit = value;
+ }
+
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/FahrenheitToCelsiusResponse.java b/src/main/java/https/www_w3schools_com/xml/FahrenheitToCelsiusResponse.java
new file mode 100644
index 0000000..39a629c
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/FahrenheitToCelsiusResponse.java
@@ -0,0 +1,64 @@
+
+package https.www_w3schools_com.xml;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Java class for anonymous complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="FahrenheitToCelsiusResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "fahrenheitToCelsiusResult"
+})
+@XmlRootElement(name = "FahrenheitToCelsiusResponse")
+public class FahrenheitToCelsiusResponse {
+
+ @XmlElement(name = "FahrenheitToCelsiusResult")
+ protected String fahrenheitToCelsiusResult;
+
+ /**
+ * Gets the value of the fahrenheitToCelsiusResult property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFahrenheitToCelsiusResult() {
+ return fahrenheitToCelsiusResult;
+ }
+
+ /**
+ * Sets the value of the fahrenheitToCelsiusResult property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFahrenheitToCelsiusResult(String value) {
+ this.fahrenheitToCelsiusResult = value;
+ }
+
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/ObjectFactory.java b/src/main/java/https/www_w3schools_com/xml/ObjectFactory.java
new file mode 100644
index 0000000..bcf6695
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/ObjectFactory.java
@@ -0,0 +1,77 @@
+
+package https.www_w3schools_com.xml;
+
+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 https.www_w3schools_com.xml 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 _String_QNAME = new QName("https://www.w3schools.com/xml/", "string");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: https.www_w3schools_com.xml
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link CelsiusToFahrenheit }
+ *
+ */
+ public CelsiusToFahrenheit createCelsiusToFahrenheit() {
+ return new CelsiusToFahrenheit();
+ }
+
+ /**
+ * Create an instance of {@link FahrenheitToCelsius }
+ *
+ */
+ public FahrenheitToCelsius createFahrenheitToCelsius() {
+ return new FahrenheitToCelsius();
+ }
+
+ /**
+ * Create an instance of {@link FahrenheitToCelsiusResponse }
+ *
+ */
+ public FahrenheitToCelsiusResponse createFahrenheitToCelsiusResponse() {
+ return new FahrenheitToCelsiusResponse();
+ }
+
+ /**
+ * Create an instance of {@link CelsiusToFahrenheitResponse }
+ *
+ */
+ public CelsiusToFahrenheitResponse createCelsiusToFahrenheitResponse() {
+ return new CelsiusToFahrenheitResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "https://www.w3schools.com/xml/", name = "string")
+ public JAXBElement Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for Currency.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Differenct currency Code and Names around the world AFA-Afghanistan Afghani 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 _Double_QNAME = new QName("http://www.webserviceX.NET/", "double");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.webservicex
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link ConversionRate }
+ *
+ */
+ public ConversionRate createConversionRate() {
+ return new ConversionRate();
+ }
+
+ /**
+ * Create an instance of {@link ConversionRateResponse }
+ *
+ */
+ public ConversionRateResponse createConversionRateResponse() {
+ return new ConversionRateResponse();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.webserviceX.NET/", name = "double")
+ public JAXBElement Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * 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 _HelloNameResponseReturn_QNAME = new QName("http://nks34.t320", "return");
+ private final static QName _HelloNameName_QNAME = new QName("http://nks34.t320", "name");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: t320.nks34
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link HelloNameResponse }
+ *
+ */
+ public HelloNameResponse createHelloNameResponse() {
+ return new HelloNameResponse();
+ }
+
+ /**
+ * Create an instance of {@link HelloName }
+ *
+ */
+ public HelloName createHelloName() {
+ return new HelloName();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://nks34.t320", name = "return", scope = HelloNameResponse.class)
+ public JAXBElement ${info} ${answ}features parameter will have their default values.
+ * @return
+ * returns TempConvertSoap
+ */
+ @WebEndpoint(name = "TempConvertSoap")
+ public TempConvertSoap getTempConvertSoap(WebServiceFeature... features) {
+ return super.getPort(new QName("https://www.w3schools.com/xml/", "TempConvertSoap"), TempConvertSoap.class, features);
+ }
+
+ private static URL __getWsdlLocation() {
+ if (TEMPCONVERT_EXCEPTION!= null) {
+ throw TEMPCONVERT_EXCEPTION;
+ }
+ return TEMPCONVERT_WSDL_LOCATION;
+ }
+
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/TempConvertSoap.java b/src/main/java/https/www_w3schools_com/xml/TempConvertSoap.java
new file mode 100644
index 0000000..73fba7f
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/TempConvertSoap.java
@@ -0,0 +1,54 @@
+
+package https.www_w3schools_com.xml;
+
+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.2.9-b130926.1035
+ * Generated source version: 2.2
+ *
+ */
+@WebService(name = "TempConvertSoap", targetNamespace = "https://www.w3schools.com/xml/")
+@XmlSeeAlso({
+ ObjectFactory.class
+})
+public interface TempConvertSoap {
+
+
+ /**
+ *
+ * @param fahrenheit
+ * @return
+ * returns java.lang.String
+ */
+ @WebMethod(operationName = "FahrenheitToCelsius", action = "https://www.w3schools.com/xml/FahrenheitToCelsius")
+ @WebResult(name = "FahrenheitToCelsiusResult", targetNamespace = "https://www.w3schools.com/xml/")
+ @RequestWrapper(localName = "FahrenheitToCelsius", targetNamespace = "https://www.w3schools.com/xml/", className = "https.www_w3schools_com.xml.FahrenheitToCelsius")
+ @ResponseWrapper(localName = "FahrenheitToCelsiusResponse", targetNamespace = "https://www.w3schools.com/xml/", className = "https.www_w3schools_com.xml.FahrenheitToCelsiusResponse")
+ public String fahrenheitToCelsius(
+ @WebParam(name = "Fahrenheit", targetNamespace = "https://www.w3schools.com/xml/")
+ String fahrenheit);
+
+ /**
+ *
+ * @param celsius
+ * @return
+ * returns java.lang.String
+ */
+ @WebMethod(operationName = "CelsiusToFahrenheit", action = "https://www.w3schools.com/xml/CelsiusToFahrenheit")
+ @WebResult(name = "CelsiusToFahrenheitResult", targetNamespace = "https://www.w3schools.com/xml/")
+ @RequestWrapper(localName = "CelsiusToFahrenheit", targetNamespace = "https://www.w3schools.com/xml/", className = "https.www_w3schools_com.xml.CelsiusToFahrenheit")
+ @ResponseWrapper(localName = "CelsiusToFahrenheitResponse", targetNamespace = "https://www.w3schools.com/xml/", className = "https.www_w3schools_com.xml.CelsiusToFahrenheitResponse")
+ public String celsiusToFahrenheit(
+ @WebParam(name = "Celsius", targetNamespace = "https://www.w3schools.com/xml/")
+ String celsius);
+
+}
diff --git a/src/main/java/https/www_w3schools_com/xml/package-info.java b/src/main/java/https/www_w3schools_com/xml/package-info.java
new file mode 100644
index 0000000..5c04403
--- /dev/null
+++ b/src/main/java/https/www_w3schools_com/xml/package-info.java
@@ -0,0 +1,2 @@
+@javax.xml.bind.annotation.XmlSchema(namespace = "https://www.w3schools.com/xml/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package https.www_w3schools_com.xml;
diff --git a/src/main/java/io/delivery/config/AppConfig.java b/src/main/java/io/delivery/config/AppConfig.java
index 4f40daa..7054423 100644
--- a/src/main/java/io/delivery/config/AppConfig.java
+++ b/src/main/java/io/delivery/config/AppConfig.java
@@ -1,5 +1,6 @@
package io.delivery.config;
+import https.www_w3schools_com.xml.ClientTemp;
import io.delivery.dao.*;
import io.delivery.dao.impl.*;
import io.delivery.entity.*;
@@ -9,6 +10,8 @@
import io.delivery.service.*;
import io.delivery.service.impl.*;
import net.yandex.speller.services.spellservice.Client;
+import net.webservicex.ConversionRate;
+import net.webservicex.CurrencyClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@@ -18,6 +21,7 @@
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.jdbc.JdbcDaoImpl;
+import t320.nks34.HelloClient;
@Configuration
@PropertySource(value = {"classpath:util.properties"})
@@ -123,8 +127,29 @@ public CustomerDao customerDao() {
}
@Bean
+
public Client client() {
return new Client();
}
+
+ @Bean
+ public CurrencyClient currencyClient() {
+ return new CurrencyClient();
+ }
+
+ @Bean
+ public ConversionRate conversionRate() {
+ return new ConversionRate();
+ }
+
+ @Bean
+ public ClientTemp clientTemp() {
+ return new ClientTemp();
+ }
+
+ @Bean
+ public HelloClient helloClient() {
+ return new HelloClient();
+ }
}
diff --git a/src/main/java/io/delivery/controller/AppController.java b/src/main/java/io/delivery/controller/AppController.java
index 5e9bbbe..1b6f19c 100644
--- a/src/main/java/io/delivery/controller/AppController.java
+++ b/src/main/java/io/delivery/controller/AppController.java
@@ -1,9 +1,13 @@
package io.delivery.controller;
+import https.www_w3schools_com.xml.ClientTemp;
import io.delivery.model.Answer;
import io.delivery.model.Message;
import io.delivery.model.TableCreator;
import io.delivery.service.*;
+import net.webservicex.ConversionRate;
+import net.webservicex.Currency;
+import net.webservicex.CurrencyClient;
import net.yandex.speller.services.spellservice.Client;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
@@ -12,7 +16,9 @@
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
+import t320.nks34.HelloClient;
import javax.xml.soap.SOAPException;
import java.io.IOException;
@@ -39,6 +45,15 @@ public class AppController {
private Test test;
@Autowired
private Client client;
+ @Autowired
+ private CurrencyClient currencyClient;
+ @Autowired
+ private ConversionRate conversionRate;
+ @Autowired
+ private ClientTemp clientTemp;
+ @Autowired
+ private HelloClient helloClient;
+
@RequestMapping(value = {"/password/{password}"}, method = RequestMethod.GET)
public ModelAndView passwordEncode(@PathVariable("password") String password) {
@@ -67,9 +82,9 @@ public String secure() {
return "/secure";
}
- @RequestMapping(value = "/registration")
- public String registration() {
- return "/registration";
+ @RequestMapping(value = "/customer")
+ public String customer() {
+ return "/customer";
}
@RequestMapping(value = "/noregistration")
@@ -89,4 +104,34 @@ public ModelAndView checkWord(@PathVariable("check") String check) throws IOExce
modelAndView.addObject("info", client.result(check));
return modelAndView;
}
+
+ @RequestMapping(value = {"/currency/{convert}"}, method = RequestMethod.GET)
+ /**
+ * http://localhost:8080/currency/CAD?to=EUR
+ */
+ public ModelAndView currencyConvertor(@PathVariable("convert") Currency convert,
+ @RequestParam (value = "to") Currency toCurrency) throws IOException, SOAPException {
+ ModelAndView modelAndView = new ModelAndView();
+ modelAndView.setViewName("resultconvert");
+ modelAndView.addObject("result", currencyClient.result(convert, toCurrency));
+ modelAndView.addObject("fromCurrency", conversionRate.getFromCurrency());
+ modelAndView.addObject("to", conversionRate.getToCurrency());
+ return modelAndView;
+ }
+
+ @RequestMapping(value = {"/temp/{convert}"}, method = RequestMethod.GET)
+ public ModelAndView convertTemp(@PathVariable("convert") String convert) throws IOException, SOAPException {
+ ModelAndView modelAndView = new ModelAndView();
+ modelAndView.setViewName("temperatur");
+ modelAndView.addObject("convertTemp", clientTemp.result(convert));
+ return modelAndView;
+ }
+
+ @RequestMapping(value = {"/testSoap/{check}"}, method = RequestMethod.GET)
+ public ModelAndView testSoap(@PathVariable("check") String check) throws IOException, SOAPException {
+ ModelAndView modelAndView = new ModelAndView();
+ modelAndView.setViewName("soap");
+ modelAndView.addObject("test", helloClient.result(check));
+ return modelAndView;
+ }
}
diff --git a/src/main/java/io/delivery/controller/NoRegistrationCustomerController.java b/src/main/java/io/delivery/controller/NoRegistrationCustomerController.java
index c637238..7dd583b 100644
--- a/src/main/java/io/delivery/controller/NoRegistrationCustomerController.java
+++ b/src/main/java/io/delivery/controller/NoRegistrationCustomerController.java
@@ -9,7 +9,7 @@
import java.util.List;
@Controller
-@RequestMapping("/noregcustomer")
+@RequestMapping("/noregistration")
public class NoRegistrationCustomerController {
final private NoRegistrationCustomerService noRegistrationCustomerService;
diff --git a/src/main/java/net/webservicex/ConversionRate.java b/src/main/java/net/webservicex/ConversionRate.java
new file mode 100644
index 0000000..37f4e1f
--- /dev/null
+++ b/src/main/java/net/webservicex/ConversionRate.java
@@ -0,0 +1,95 @@
+
+package net.webservicex;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="FromCurrency" type="{http://www.webserviceX.NET/}Currency"/>
+ * <element name="ToCurrency" type="{http://www.webserviceX.NET/}Currency"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "fromCurrency",
+ "toCurrency"
+})
+@XmlRootElement(name = "ConversionRate")
+public class ConversionRate {
+
+ @XmlElement(name = "FromCurrency", required = true)
+ @XmlSchemaType(name = "string")
+ protected Currency fromCurrency;
+ @XmlElement(name = "ToCurrency", required = true)
+ @XmlSchemaType(name = "string")
+ protected Currency toCurrency;
+
+ /**
+ * Gets the value of the fromCurrency property.
+ *
+ * @return
+ * possible object is
+ * {@link Currency }
+ *
+ */
+ public Currency getFromCurrency() {
+ return fromCurrency;
+ }
+
+ /**
+ * Sets the value of the fromCurrency property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Currency }
+ *
+ */
+ public void setFromCurrency(Currency value) {
+ this.fromCurrency = value;
+ }
+
+ /**
+ * Gets the value of the toCurrency property.
+ *
+ * @return
+ * possible object is
+ * {@link Currency }
+ *
+ */
+ public Currency getToCurrency() {
+ return toCurrency;
+ }
+
+ /**
+ * Sets the value of the toCurrency property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Currency }
+ *
+ */
+ public void setToCurrency(Currency value) {
+ this.toCurrency = value;
+ }
+
+}
diff --git a/src/main/java/net/webservicex/ConversionRateResponse.java b/src/main/java/net/webservicex/ConversionRateResponse.java
new file mode 100644
index 0000000..4580df1
--- /dev/null
+++ b/src/main/java/net/webservicex/ConversionRateResponse.java
@@ -0,0 +1,56 @@
+
+package net.webservicex;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="ConversionRateResult" type="{http://www.w3.org/2001/XMLSchema}double"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "conversionRateResult"
+})
+@XmlRootElement(name = "ConversionRateResponse")
+public class ConversionRateResponse {
+
+ @XmlElement(name = "ConversionRateResult")
+ protected double conversionRateResult;
+
+ /**
+ * Gets the value of the conversionRateResult property.
+ *
+ */
+ public double getConversionRateResult() {
+ return conversionRateResult;
+ }
+
+ /**
+ * Sets the value of the conversionRateResult property.
+ *
+ */
+ public void setConversionRateResult(double value) {
+ this.conversionRateResult = value;
+ }
+
+}
diff --git a/src/main/java/net/webservicex/Currency.java b/src/main/java/net/webservicex/Currency.java
new file mode 100644
index 0000000..69e1627
--- /dev/null
+++ b/src/main/java/net/webservicex/Currency.java
@@ -0,0 +1,336 @@
+
+package net.webservicex;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * <simpleType name="Currency">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="AFA"/>
+ * <enumeration value="ALL"/>
+ * <enumeration value="DZD"/>
+ * <enumeration value="ARS"/>
+ * <enumeration value="AWG"/>
+ * <enumeration value="AUD"/>
+ * <enumeration value="BSD"/>
+ * <enumeration value="BHD"/>
+ * <enumeration value="BDT"/>
+ * <enumeration value="BBD"/>
+ * <enumeration value="BZD"/>
+ * <enumeration value="BMD"/>
+ * <enumeration value="BTN"/>
+ * <enumeration value="BOB"/>
+ * <enumeration value="BWP"/>
+ * <enumeration value="BRL"/>
+ * <enumeration value="GBP"/>
+ * <enumeration value="BND"/>
+ * <enumeration value="BIF"/>
+ * <enumeration value="XOF"/>
+ * <enumeration value="XAF"/>
+ * <enumeration value="KHR"/>
+ * <enumeration value="CAD"/>
+ * <enumeration value="CVE"/>
+ * <enumeration value="KYD"/>
+ * <enumeration value="CLP"/>
+ * <enumeration value="CNY"/>
+ * <enumeration value="COP"/>
+ * <enumeration value="KMF"/>
+ * <enumeration value="CRC"/>
+ * <enumeration value="HRK"/>
+ * <enumeration value="CUP"/>
+ * <enumeration value="CYP"/>
+ * <enumeration value="CZK"/>
+ * <enumeration value="DKK"/>
+ * <enumeration value="DJF"/>
+ * <enumeration value="DOP"/>
+ * <enumeration value="XCD"/>
+ * <enumeration value="EGP"/>
+ * <enumeration value="SVC"/>
+ * <enumeration value="EEK"/>
+ * <enumeration value="ETB"/>
+ * <enumeration value="EUR"/>
+ * <enumeration value="FKP"/>
+ * <enumeration value="GMD"/>
+ * <enumeration value="GHC"/>
+ * <enumeration value="GIP"/>
+ * <enumeration value="XAU"/>
+ * <enumeration value="GTQ"/>
+ * <enumeration value="GNF"/>
+ * <enumeration value="GYD"/>
+ * <enumeration value="HTG"/>
+ * <enumeration value="HNL"/>
+ * <enumeration value="HKD"/>
+ * <enumeration value="HUF"/>
+ * <enumeration value="ISK"/>
+ * <enumeration value="INR"/>
+ * <enumeration value="IDR"/>
+ * <enumeration value="IQD"/>
+ * <enumeration value="ILS"/>
+ * <enumeration value="JMD"/>
+ * <enumeration value="JPY"/>
+ * <enumeration value="JOD"/>
+ * <enumeration value="KZT"/>
+ * <enumeration value="KES"/>
+ * <enumeration value="KRW"/>
+ * <enumeration value="KWD"/>
+ * <enumeration value="LAK"/>
+ * <enumeration value="LVL"/>
+ * <enumeration value="LBP"/>
+ * <enumeration value="LSL"/>
+ * <enumeration value="LRD"/>
+ * <enumeration value="LYD"/>
+ * <enumeration value="LTL"/>
+ * <enumeration value="MOP"/>
+ * <enumeration value="MKD"/>
+ * <enumeration value="MGF"/>
+ * <enumeration value="MWK"/>
+ * <enumeration value="MYR"/>
+ * <enumeration value="MVR"/>
+ * <enumeration value="MTL"/>
+ * <enumeration value="MRO"/>
+ * <enumeration value="MUR"/>
+ * <enumeration value="MXN"/>
+ * <enumeration value="MDL"/>
+ * <enumeration value="MNT"/>
+ * <enumeration value="MAD"/>
+ * <enumeration value="MZM"/>
+ * <enumeration value="MMK"/>
+ * <enumeration value="NAD"/>
+ * <enumeration value="NPR"/>
+ * <enumeration value="ANG"/>
+ * <enumeration value="NZD"/>
+ * <enumeration value="NIO"/>
+ * <enumeration value="NGN"/>
+ * <enumeration value="KPW"/>
+ * <enumeration value="NOK"/>
+ * <enumeration value="OMR"/>
+ * <enumeration value="XPF"/>
+ * <enumeration value="PKR"/>
+ * <enumeration value="XPD"/>
+ * <enumeration value="PAB"/>
+ * <enumeration value="PGK"/>
+ * <enumeration value="PYG"/>
+ * <enumeration value="PEN"/>
+ * <enumeration value="PHP"/>
+ * <enumeration value="XPT"/>
+ * <enumeration value="PLN"/>
+ * <enumeration value="QAR"/>
+ * <enumeration value="ROL"/>
+ * <enumeration value="RUB"/>
+ * <enumeration value="WST"/>
+ * <enumeration value="STD"/>
+ * <enumeration value="SAR"/>
+ * <enumeration value="SCR"/>
+ * <enumeration value="SLL"/>
+ * <enumeration value="XAG"/>
+ * <enumeration value="SGD"/>
+ * <enumeration value="SKK"/>
+ * <enumeration value="SIT"/>
+ * <enumeration value="SBD"/>
+ * <enumeration value="SOS"/>
+ * <enumeration value="ZAR"/>
+ * <enumeration value="LKR"/>
+ * <enumeration value="SHP"/>
+ * <enumeration value="SDD"/>
+ * <enumeration value="SRG"/>
+ * <enumeration value="SZL"/>
+ * <enumeration value="SEK"/>
+ * <enumeration value="CHF"/>
+ * <enumeration value="SYP"/>
+ * <enumeration value="TWD"/>
+ * <enumeration value="TZS"/>
+ * <enumeration value="THB"/>
+ * <enumeration value="TOP"/>
+ * <enumeration value="TTD"/>
+ * <enumeration value="TND"/>
+ * <enumeration value="TRL"/>
+ * <enumeration value="USD"/>
+ * <enumeration value="AED"/>
+ * <enumeration value="UGX"/>
+ * <enumeration value="UAH"/>
+ * <enumeration value="UYU"/>
+ * <enumeration value="VUV"/>
+ * <enumeration value="VEB"/>
+ * <enumeration value="VND"/>
+ * <enumeration value="YER"/>
+ * <enumeration value="YUM"/>
+ * <enumeration value="ZMK"/>
+ * <enumeration value="ZWD"/>
+ * <enumeration value="TRY"/>
+ * </restriction>
+ * </simpleType>
+ *
+ *
+ */
+@XmlType(name = "Currency")
+@XmlEnum
+public enum Currency {
+
+ AFA,
+ ALL,
+ DZD,
+ ARS,
+ AWG,
+ AUD,
+ BSD,
+ BHD,
+ BDT,
+ BBD,
+ BZD,
+ BMD,
+ BTN,
+ BOB,
+ BWP,
+ BRL,
+ GBP,
+ BND,
+ BIF,
+ XOF,
+ XAF,
+ KHR,
+ CAD,
+ CVE,
+ KYD,
+ CLP,
+ CNY,
+ COP,
+ KMF,
+ CRC,
+ HRK,
+ CUP,
+ CYP,
+ CZK,
+ DKK,
+ DJF,
+ DOP,
+ XCD,
+ EGP,
+ SVC,
+ EEK,
+ ETB,
+ EUR,
+ FKP,
+ GMD,
+ GHC,
+ GIP,
+ XAU,
+ GTQ,
+ GNF,
+ GYD,
+ HTG,
+ HNL,
+ HKD,
+ HUF,
+ ISK,
+ INR,
+ IDR,
+ IQD,
+ ILS,
+ JMD,
+ JPY,
+ JOD,
+ KZT,
+ KES,
+ KRW,
+ KWD,
+ LAK,
+ LVL,
+ LBP,
+ LSL,
+ LRD,
+ LYD,
+ LTL,
+ MOP,
+ MKD,
+ MGF,
+ MWK,
+ MYR,
+ MVR,
+ MTL,
+ MRO,
+ MUR,
+ MXN,
+ MDL,
+ MNT,
+ MAD,
+ MZM,
+ MMK,
+ NAD,
+ NPR,
+ ANG,
+ NZD,
+ NIO,
+ NGN,
+ KPW,
+ NOK,
+ OMR,
+ XPF,
+ PKR,
+ XPD,
+ PAB,
+ PGK,
+ PYG,
+ PEN,
+ PHP,
+ XPT,
+ PLN,
+ QAR,
+ ROL,
+ RUB,
+ WST,
+ STD,
+ SAR,
+ SCR,
+ SLL,
+ XAG,
+ SGD,
+ SKK,
+ SIT,
+ SBD,
+ SOS,
+ ZAR,
+ LKR,
+ SHP,
+ SDD,
+ SRG,
+ SZL,
+ SEK,
+ CHF,
+ SYP,
+ TWD,
+ TZS,
+ THB,
+ TOP,
+ TTD,
+ TND,
+ TRL,
+ USD,
+ AED,
+ UGX,
+ UAH,
+ UYU,
+ VUV,
+ VEB,
+ VND,
+ YER,
+ YUM,
+ ZMK,
+ ZWD,
+ TRY;
+
+ public String value() {
+ return name();
+ }
+
+ public static Currency fromValue(String v) {
+ return valueOf(v);
+ }
+
+}
diff --git a/src/main/java/net/webservicex/CurrencyClient.java b/src/main/java/net/webservicex/CurrencyClient.java
new file mode 100644
index 0000000..032542e
--- /dev/null
+++ b/src/main/java/net/webservicex/CurrencyClient.java
@@ -0,0 +1,30 @@
+package net.webservicex;
+
+import org.springframework.beans.factory.annotation.Autowired;
+
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPException;
+import javax.xml.ws.Service;
+import java.io.IOException;
+import java.net.URL;
+
+public class CurrencyClient {
+ private final String ADDRESS = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL";
+ @Autowired
+ ConversionRate conversionRate;
+
+ public CurrencyClient() {
+ }
+
+ public double result(Currency fromCurrency, Currency toCurrency) throws SOAPException, IOException {
+ URL url = new URL(ADDRESS);
+ QName qName = new QName("http://www.webserviceX.NET/", "CurrencyConvertor");
+ Service service = Service.create(url, qName);
+
+ CurrencyConvertorSoap convertorSoap = service.getPort(CurrencyConvertorSoap.class);
+ conversionRate.setFromCurrency(fromCurrency);
+ conversionRate.setToCurrency(toCurrency);
+
+ return convertorSoap.conversionRate(conversionRate.getFromCurrency(), conversionRate.getToCurrency());
+ }
+}
diff --git a/src/main/java/net/webservicex/CurrencyConvertor.java b/src/main/java/net/webservicex/CurrencyConvertor.java
new file mode 100644
index 0000000..b88d8b1
--- /dev/null
+++ b/src/main/java/net/webservicex/CurrencyConvertor.java
@@ -0,0 +1,94 @@
+
+package net.webservicex;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceFeature;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.2.9-b130926.1035
+ * Generated source version: 2.2
+ *
+ */
+@WebServiceClient(name = "CurrencyConvertor", targetNamespace = "http://www.webserviceX.NET/", wsdlLocation = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL")
+public class CurrencyConvertor
+ extends Service
+{
+
+ private final static URL CURRENCYCONVERTOR_WSDL_LOCATION;
+ private final static WebServiceException CURRENCYCONVERTOR_EXCEPTION;
+ private final static QName CURRENCYCONVERTOR_QNAME = new QName("http://www.webserviceX.NET/", "CurrencyConvertor");
+
+ static {
+ URL url = null;
+ WebServiceException e = null;
+ try {
+ url = new URL("http://www.webservicex.net/CurrencyConvertor.asmx?WSDL");
+ } catch (MalformedURLException ex) {
+ e = new WebServiceException(ex);
+ }
+ CURRENCYCONVERTOR_WSDL_LOCATION = url;
+ CURRENCYCONVERTOR_EXCEPTION = e;
+ }
+
+ public CurrencyConvertor() {
+ super(__getWsdlLocation(), CURRENCYCONVERTOR_QNAME);
+ }
+
+ public CurrencyConvertor(WebServiceFeature... features) {
+ super(__getWsdlLocation(), CURRENCYCONVERTOR_QNAME, features);
+ }
+
+ public CurrencyConvertor(URL wsdlLocation) {
+ super(wsdlLocation, CURRENCYCONVERTOR_QNAME);
+ }
+
+ public CurrencyConvertor(URL wsdlLocation, WebServiceFeature... features) {
+ super(wsdlLocation, CURRENCYCONVERTOR_QNAME, features);
+ }
+
+ public CurrencyConvertor(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public CurrencyConvertor(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
+ super(wsdlLocation, serviceName, features);
+ }
+
+ /**
+ *
+ * @return
+ * returns CurrencyConvertorSoap
+ */
+ @WebEndpoint(name = "CurrencyConvertorSoap")
+ public CurrencyConvertorSoap getCurrencyConvertorSoap() {
+ return super.getPort(new QName("http://www.webserviceX.NET/", "CurrencyConvertorSoap"), CurrencyConvertorSoap.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 CurrencyConvertorSoap
+ */
+ @WebEndpoint(name = "CurrencyConvertorSoap")
+ public CurrencyConvertorSoap getCurrencyConvertorSoap(WebServiceFeature... features) {
+ return super.getPort(new QName("http://www.webserviceX.NET/", "CurrencyConvertorSoap"), CurrencyConvertorSoap.class, features);
+ }
+
+ private static URL __getWsdlLocation() {
+ if (CURRENCYCONVERTOR_EXCEPTION!= null) {
+ throw CURRENCYCONVERTOR_EXCEPTION;
+ }
+ return CURRENCYCONVERTOR_WSDL_LOCATION;
+ }
+
+}
diff --git a/src/main/java/net/webservicex/CurrencyConvertorSoap.java b/src/main/java/net/webservicex/CurrencyConvertorSoap.java
new file mode 100644
index 0000000..185aef3
--- /dev/null
+++ b/src/main/java/net/webservicex/CurrencyConvertorSoap.java
@@ -0,0 +1,44 @@
+
+package net.webservicex;
+
+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.2.9-b130926.1035
+ * Generated source version: 2.2
+ *
+ */
+@WebService(name = "CurrencyConvertorSoap", targetNamespace = "http://www.webserviceX.NET/")
+@XmlSeeAlso({
+ ObjectFactory.class
+})
+public interface CurrencyConvertorSoap {
+
+
+ /**
+ *
Get conversion rate from one currency to another currency
+ *
+ * @param toCurrency
+ * @param fromCurrency
+ * @return
+ * returns double
+ */
+ @WebMethod(operationName = "ConversionRate", action = "http://www.webserviceX.NET/ConversionRate")
+ @WebResult(name = "ConversionRateResult", targetNamespace = "http://www.webserviceX.NET/")
+ @RequestWrapper(localName = "ConversionRate", targetNamespace = "http://www.webserviceX.NET/", className = "net.webservicex.ConversionRate")
+ @ResponseWrapper(localName = "ConversionRateResponse", targetNamespace = "http://www.webserviceX.NET/", className = "net.webservicex.ConversionRateResponse")
+ public double conversionRate(
+ @WebParam(name = "FromCurrency", targetNamespace = "http://www.webserviceX.NET/")
+ Currency fromCurrency,
+ @WebParam(name = "ToCurrency", targetNamespace = "http://www.webserviceX.NET/")
+ Currency toCurrency);
+
+}
diff --git a/src/main/java/net/webservicex/ObjectFactory.java b/src/main/java/net/webservicex/ObjectFactory.java
new file mode 100644
index 0000000..e9859da
--- /dev/null
+++ b/src/main/java/net/webservicex/ObjectFactory.java
@@ -0,0 +1,61 @@
+
+package net.webservicex;
+
+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 net.webservicex package.
+ *
ALL-Albanian Lek
DZD-Algerian Dinar
ARS-Argentine Peso
AWG-Aruba Florin
AUD-Australian Dollar
BSD-Bahamian Dollar
BHD-Bahraini Dinar
BDT-Bangladesh Taka
BBD-Barbados Dollar
BZD-Belize Dollar
BMD-Bermuda Dollar
BTN-Bhutan Ngultrum
BOB-Bolivian Boliviano
BWP-Botswana Pula
BRL-Brazilian Real
GBP-British Pound
BND-Brunei Dollar
BIF-Burundi Franc
XOF-CFA Franc (BCEAO)
XAF-CFA Franc (BEAC)
KHR-Cambodia Riel
CAD-Canadian Dollar
CVE-Cape Verde Escudo
KYD-Cayman Islands Dollar
CLP-Chilean Peso
CNY-Chinese Yuan
COP-Colombian Peso
KMF-Comoros Franc
CRC-Costa Rica Colon
HRK-Croatian Kuna
CUP-Cuban Peso
CYP-Cyprus Pound
CZK-Czech Koruna
DKK-Danish Krone
DJF-Dijibouti Franc
DOP-Dominican Peso
XCD-East Caribbean Dollar
EGP-Egyptian Pound
SVC-El Salvador Colon
EEK-Estonian Kroon
ETB-Ethiopian Birr
EUR-Euro
FKP-Falkland Islands Pound
GMD-Gambian Dalasi
GHC-Ghanian Cedi
GIP-Gibraltar Pound
XAU-Gold Ounces
GTQ-Guatemala Quetzal
GNF-Guinea Franc
GYD-Guyana Dollar
HTG-Haiti Gourde
HNL-Honduras Lempira
HKD-Hong Kong Dollar
HUF-Hungarian Forint
ISK-Iceland Krona
INR-Indian Rupee
IDR-Indonesian Rupiah
IQD-Iraqi Dinar
ILS-Israeli Shekel
JMD-Jamaican Dollar
JPY-Japanese Yen
JOD-Jordanian Dinar
KZT-Kazakhstan Tenge
KES-Kenyan Shilling
KRW-Korean Won
KWD-Kuwaiti Dinar
LAK-Lao Kip
LVL-Latvian Lat
LBP-Lebanese Pound
LSL-Lesotho Loti
LRD-Liberian Dollar
LYD-Libyan Dinar
LTL-Lithuanian Lita
MOP-Macau Pataca
MKD-Macedonian Denar
MGF-Malagasy Franc
MWK-Malawi Kwacha
MYR-Malaysian Ringgit
MVR-Maldives Rufiyaa
MTL-Maltese Lira
MRO-Mauritania Ougulya
MUR-Mauritius Rupee
MXN-Mexican Peso
MDL-Moldovan Leu
MNT-Mongolian Tugrik
MAD-Moroccan Dirham
MZM-Mozambique Metical
MMK-Myanmar Kyat
NAD-Namibian Dollar
NPR-Nepalese Rupee
ANG-Neth Antilles Guilder
NZD-New Zealand Dollar
NIO-Nicaragua Cordoba
NGN-Nigerian Naira
KPW-North Korean Won
NOK-Norwegian Krone
OMR-Omani Rial
XPF-Pacific Franc
PKR-Pakistani Rupee
XPD-Palladium Ounces
PAB-Panama Balboa
PGK-Papua New Guinea Kina
PYG-Paraguayan Guarani
PEN-Peruvian Nuevo Sol
PHP-Philippine Peso
XPT-Platinum Ounces
PLN-Polish Zloty
QAR-Qatar Rial
ROL-Romanian Leu
RUB-Russian Rouble
WST-Samoa Tala
STD-Sao Tome Dobra
SAR-Saudi Arabian Riyal
SCR-Seychelles Rupee
SLL-Sierra Leone Leone
XAG-Silver Ounces
SGD-Singapore Dollar
SKK-Slovak Koruna
SIT-Slovenian Tolar
SBD-Solomon Islands Dollar
SOS-Somali Shilling
ZAR-South African Rand
LKR-Sri Lanka Rupee
SHP-St Helena Pound
SDD-Sudanese Dinar
SRG-Surinam Guilder
SZL-Swaziland Lilageni
SEK-Swedish Krona
TRY-Turkey Lira
CHF-Swiss Franc
SYP-Syrian Pound
TWD-Taiwan Dollar
TZS-Tanzanian Shilling
THB-Thai Baht
TOP-Tonga Pa'anga
TTD-Trinidad&Tobago Dollar
TND-Tunisian Dinar
TRL-Turkish Lira
USD-U.S. Dollar
AED-UAE Dirham
UGX-Ugandan Shilling
UAH-Ukraine Hryvnia
UYU-Uruguayan New Peso
VUV-Vanuatu Vatu
VEB-Venezuelan Bolivar
VND-Vietnam Dong
YER-Yemen Riyal
YUM-Yugoslav Dinar
ZMK-Zambian Kwacha
ZWD-Zimbabwe Dollar
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "name"
+})
+@XmlRootElement(name = "helloName")
+public class HelloName {
+
+ @XmlElementRef(name = "name", namespace = "http://nks34.t320", type = JAXBElement.class, required = false)
+ protected JAXBElement
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "_return"
+})
+@XmlRootElement(name = "helloNameResponse")
+public class HelloNameResponse {
+
+ @XmlElementRef(name = "return", namespace = "http://nks34.t320", type = JAXBElement.class, required = false)
+ protected JAXBElementfeatures parameter will have their default values.
+ * @return
+ * returns HelloServicePortType
+ */
+ @WebEndpoint(name = "HelloServiceSOAP11port_https")
+ public HelloServicePortType getHelloServiceSOAP11PortHttps(WebServiceFeature... features) {
+ return super.getPort(new QName("http://nks34.t320", "HelloServiceSOAP11port_https"), HelloServicePortType.class, features);
+ }
+
+ /**
+ *
+ * @return
+ * returns HelloServicePortType
+ */
+ @WebEndpoint(name = "HelloServiceSOAP11port_http1")
+ public HelloServicePortType getHelloServiceSOAP11PortHttp1() {
+ return super.getPort(new QName("http://nks34.t320", "HelloServiceSOAP11port_http1"), HelloServicePortType.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 HelloServicePortType
+ */
+ @WebEndpoint(name = "HelloServiceSOAP11port_http1")
+ public HelloServicePortType getHelloServiceSOAP11PortHttp1(WebServiceFeature... features) {
+ return super.getPort(new QName("http://nks34.t320", "HelloServiceSOAP11port_http1"), HelloServicePortType.class, features);
+ }
+
+ private static URL __getWsdlLocation() {
+ if (HELLOSERVICE_EXCEPTION!= null) {
+ throw HELLOSERVICE_EXCEPTION;
+ }
+ return HELLOSERVICE_WSDL_LOCATION;
+ }
+
+}
diff --git a/src/main/java/t320/nks34/HelloServicePortType.java b/src/main/java/t320/nks34/HelloServicePortType.java
new file mode 100644
index 0000000..a865000
--- /dev/null
+++ b/src/main/java/t320/nks34/HelloServicePortType.java
@@ -0,0 +1,40 @@
+
+package t320.nks34;
+
+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.2.9-b130926.1035
+ * Generated source version: 2.2
+ *
+ */
+@WebService(name = "HelloServicePortType", targetNamespace = "http://nks34.t320")
+@XmlSeeAlso({
+ ObjectFactory.class
+})
+public interface HelloServicePortType {
+
+
+ /**
+ *
+ * @param name
+ * @return
+ * returns java.lang.String
+ */
+ @WebMethod(action = "urn:helloName")
+ @WebResult(targetNamespace = "http://nks34.t320")
+ @RequestWrapper(localName = "helloName", targetNamespace = "http://nks34.t320", className = "t320.nks34.HelloName")
+ @ResponseWrapper(localName = "helloNameResponse", targetNamespace = "http://nks34.t320", className = "t320.nks34.HelloNameResponse")
+ public String helloName(
+ @WebParam(name = "name", targetNamespace = "http://nks34.t320")
+ String name);
+
+}
diff --git a/src/main/java/t320/nks34/ObjectFactory.java b/src/main/java/t320/nks34/ObjectFactory.java
new file mode 100644
index 0000000..8f4705a
--- /dev/null
+++ b/src/main/java/t320/nks34/ObjectFactory.java
@@ -0,0 +1,71 @@
+
+package t320.nks34;
+
+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 t320.nks34 package.
+ *