// Path: soapservice-as-a-datasource/stateService/src/main/java/org/teiid/stateservice/StateService.java
// @WebService(targetNamespace = "http://www.teiid.org/stateService/", name = "stateService")
// @XmlSeeAlso({ObjectFactory.class})
// public interface StateService {
// 
//     @WebResult(name = "AllStateInfo", targetNamespace = "")
//     @RequestWrapper(localName = "GetAllStateInfo", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetAllStateInfo")
//     @ResponseWrapper(localName = "GetAllStateInfoResponse", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetAllStateInfoResponse")
//     @WebMethod(operationName = "GetAllStateInfo", action = "http://www.teiid.org/stateService/GetStateInfo")
//     public java.util.List<org.teiid.stateservice.jaxb.StateInfo> getAllStateInfo();
// 
//     @WebResult(name = "StateInfo", targetNamespace = "")
//     @RequestWrapper(localName = "GetStateInfo", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetStateInfo")
//     @ResponseWrapper(localName = "GetStateInfoResponse", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetStateInfoResponse")
//     @WebMethod(operationName = "GetStateInfo", action = "http://www.teiid.org/stateService/GetStateInfo")
//     public org.teiid.stateservice.jaxb.StateInfo getStateInfo(
//         @WebParam(name = "stateCode", targetNamespace = "")
//         java.lang.String stateCode
//     ) throws GetStateInfoFault_Exception;
// }
// 
// Path: soapservice-as-a-datasource/stateService/src/main/java/org/teiid/stateservice/jaxb/StateInfo.java
// @XmlAccessorType(XmlAccessType.FIELD)
// @XmlType(name = "StateInfo", propOrder = {
//     "name",
//     "abbreviation",
//     "capital",
//     "yearOfStatehood"
// })
// public class StateInfo {
// 
//     @XmlElement(name = "Name", required = true)
//     protected String name;
//     @XmlElement(name = "Abbreviation", required = true)
//     protected String abbreviation;
//     @XmlElement(name = "Capital", required = true)
//     protected String capital;
//     @XmlElement(name = "YearOfStatehood", required = true)
//     protected BigInteger yearOfStatehood;
// 
//     public StateInfo(){
//     }
//     
//     public StateInfo(String name, String abbrev, String year, String capital) {
// 		setName(name);
// 		setAbbreviation(abbrev);
// 		setYearOfStatehood(new BigInteger(year));
// 		setCapital(capital);
// 	}
// 
// 	/**
//      * Gets the value of the name property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link String }
//      *     
//      */
//     public String getName() {
//         return name;
//     }
// 
//     /**
//      * Sets the value of the name property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link String }
//      *     
//      */
//     public void setName(String value) {
//         this.name = value;
//     }
// 
//     /**
//      * Gets the value of the abbreviation property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link String }
//      *     
//      */
//     public String getAbbreviation() {
//         return abbreviation;
//     }
// 
//     /**
//      * Sets the value of the abbreviation property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link String }
//      *     
//      */
//     public void setAbbreviation(String value) {
//         this.abbreviation = value;
//     }
// 
//     /**
//      * Gets the value of the capital property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link String }
//      *     
//      */
//     public String getCapital() {
//         return capital;
//     }
// 
//     /**
//      * Sets the value of the capital property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link String }
//      *     
//      */
//     public void setCapital(String value) {
//         this.capital = value;
//     }
// 
//     /**
//      * Gets the value of the yearOfStatehood property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link BigInteger }
//      *     
//      */
//     public BigInteger getYearOfStatehood() {
//         return yearOfStatehood;
//     }
// 
//     /**
//      * Sets the value of the yearOfStatehood property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link BigInteger }
//      *     
//      */
//     public void setYearOfStatehood(BigInteger value) {
//         this.yearOfStatehood = value;
//     }
// 
// }


import org.teiid.stateservice.StateService;
import org.teiid.stateservice.jaxb.StateInfo;
import javax.jws.WebService;
/*
 * Copyright Red Hat, Inc. and/or its affiliates
 * and other contributors as indicated by the @author tags and
 * the COPYRIGHT.txt file distributed with this work.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.teiid.stateservice;



@WebService(serviceName = "stateService", endpointInterface = "org.teiid.stateservice.StateService", targetNamespace = "http://www.teiid.org/stateService/")
public class StateServiceImpl implements StateService {
	
	StateData stateData = new StateData();
	
// Path: soapservice-as-a-datasource/stateService/src/main/java/org/teiid/stateservice/StateService.java
// @WebService(targetNamespace = "http://www.teiid.org/stateService/", name = "stateService")
// @XmlSeeAlso({ObjectFactory.class})
// public interface StateService {
// 
//     @WebResult(name = "AllStateInfo", targetNamespace = "")
//     @RequestWrapper(localName = "GetAllStateInfo", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetAllStateInfo")
//     @ResponseWrapper(localName = "GetAllStateInfoResponse", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetAllStateInfoResponse")
//     @WebMethod(operationName = "GetAllStateInfo", action = "http://www.teiid.org/stateService/GetStateInfo")
//     public java.util.List<org.teiid.stateservice.jaxb.StateInfo> getAllStateInfo();
// 
//     @WebResult(name = "StateInfo", targetNamespace = "")
//     @RequestWrapper(localName = "GetStateInfo", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetStateInfo")
//     @ResponseWrapper(localName = "GetStateInfoResponse", targetNamespace = "http://www.teiid.org/stateService/", className = "org.teiid.stateservice.GetStateInfoResponse")
//     @WebMethod(operationName = "GetStateInfo", action = "http://www.teiid.org/stateService/GetStateInfo")
//     public org.teiid.stateservice.jaxb.StateInfo getStateInfo(
//         @WebParam(name = "stateCode", targetNamespace = "")
//         java.lang.String stateCode
//     ) throws GetStateInfoFault_Exception;
// }
// 
// Path: soapservice-as-a-datasource/stateService/src/main/java/org/teiid/stateservice/jaxb/StateInfo.java
// @XmlAccessorType(XmlAccessType.FIELD)
// @XmlType(name = "StateInfo", propOrder = {
//     "name",
//     "abbreviation",
//     "capital",
//     "yearOfStatehood"
// })
// public class StateInfo {
// 
//     @XmlElement(name = "Name", required = true)
//     protected String name;
//     @XmlElement(name = "Abbreviation", required = true)
//     protected String abbreviation;
//     @XmlElement(name = "Capital", required = true)
//     protected String capital;
//     @XmlElement(name = "YearOfStatehood", required = true)
//     protected BigInteger yearOfStatehood;
// 
//     public StateInfo(){
//     }
//     
//     public StateInfo(String name, String abbrev, String year, String capital) {
// 		setName(name);
// 		setAbbreviation(abbrev);
// 		setYearOfStatehood(new BigInteger(year));
// 		setCapital(capital);
// 	}
// 
// 	/**
//      * Gets the value of the name property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link String }
//      *     
//      */
//     public String getName() {
//         return name;
//     }
// 
//     /**
//      * Sets the value of the name property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link String }
//      *     
//      */
//     public void setName(String value) {
//         this.name = value;
//     }
// 
//     /**
//      * Gets the value of the abbreviation property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link String }
//      *     
//      */
//     public String getAbbreviation() {
//         return abbreviation;
//     }
// 
//     /**
//      * Sets the value of the abbreviation property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link String }
//      *     
//      */
//     public void setAbbreviation(String value) {
//         this.abbreviation = value;
//     }
// 
//     /**
//      * Gets the value of the capital property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link String }
//      *     
//      */
//     public String getCapital() {
//         return capital;
//     }
// 
//     /**
//      * Sets the value of the capital property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link String }
//      *     
//      */
//     public void setCapital(String value) {
//         this.capital = value;
//     }
// 
//     /**
//      * Gets the value of the yearOfStatehood property.
//      * 
//      * @return
//      *     possible object is
//      *     {@link BigInteger }
//      *     
//      */
//     public BigInteger getYearOfStatehood() {
//         return yearOfStatehood;
//     }
// 
//     /**
//      * Sets the value of the yearOfStatehood property.
//      * 
//      * @param value
//      *     allowed object is
//      *     {@link BigInteger }
//      *     
//      */
//     public void setYearOfStatehood(BigInteger value) {
//         this.yearOfStatehood = value;
//     }
// 
// }


// Path: soapservice-as-a-datasource/stateService/src/main/java/org/teiid/stateservice/StateServiceImpl.java
import org.teiid.stateservice.StateService;
import org.teiid.stateservice.jaxb.StateInfo;
import javax.jws.WebService;

/*
 * Copyright Red Hat, Inc. and/or its affiliates
 * and other contributors as indicated by the @author tags and
 * the COPYRIGHT.txt file distributed with this work.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.teiid.stateservice;



@WebService(serviceName = "stateService", endpointInterface = "org.teiid.stateservice.StateService", targetNamespace = "http://www.teiid.org/stateService/")
public class StateServiceImpl implements StateService {
	
	StateData stateData = new StateData();
	
	public java.util.List<org.teiid.stateservice.jaxb.StateInfo> getAllStateInfo() {