diff --git b/iplocator-api/pom.xml a/iplocator-api/pom.xml
new file mode 100644
index 0000000..c0b5ede
--- /dev/null
+++ a/iplocator-api/pom.xml
@@ -0,0 +1,136 @@
+
+
Java class for info element declaration. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <element name="info"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="IP" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="countryid" type="{http://www.w3.org/2001/XMLSchema}short"/> + * <element name="country" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="fips" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="iso2" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="iso3" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ison" type="{http://www.w3.org/2001/XMLSchema}short"/> + * <element name="internet" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="regionid" type="{http://www.w3.org/2001/XMLSchema}short"/> + * <element name="region" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="adm" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="cityid" type="{http://www.w3.org/2001/XMLSchema}short"/> + * <element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="latitude" type="{http://www.w3.org/2001/XMLSchema}float"/> + * <element name="longitude" type="{http://www.w3.org/2001/XMLSchema}float"/> + * <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="dmaid" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="dma" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="market" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="certainty" type="{http://www.w3.org/2001/XMLSchema}byte"/> + * <element name="locationcode" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ipaddress" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + *+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ip", + "countryid", + "country", + "fips", + "iso2", + "iso3", + "ison", + "internet", + "comment", + "regionid", + "region", + "code", + "adm", + "cityid", + "city", + "latitude", + "longitude", + "timezone", + "dmaid", + "dma", + "market", + "certainty", + "locationcode", + "ipaddress" +}) +@XmlRootElement(name = "info") +public class IpInfo { + + @XmlElement(name = "IP", required = true) + protected String ip; + protected short countryid; + @XmlElement(required = true) + protected String country; + @XmlElement(required = true) + protected String fips; + @XmlElement(required = true) + protected String iso2; + @XmlElement(required = true) + protected String iso3; + protected short ison; + @XmlElement(required = true) + protected String internet; + @XmlElement(required = true) + protected String comment; + protected short regionid; + @XmlElement(required = true) + protected String region; + @XmlElement(required = true) + protected String code; + @XmlElement(required = true) + protected String adm; + protected short cityid; + @XmlElement(required = true) + protected String city; + protected float latitude; + protected float longitude; + @XmlElement(required = true) + protected String timezone; + @XmlElement(required = true) + protected String dmaid; + @XmlElement(required = true) + protected String dma; + @XmlElement(required = true) + protected String market; + protected byte certainty; + @XmlElement(required = true) + protected String locationcode; + @XmlElement(required = true) + protected String ipaddress; + + /** + * Gets the value of the ip property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIP() { + return ip; + } + + /** + * Sets the value of the ip property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIP(String value) { + this.ip = value; + } + + /** + * Gets the value of the countryid property. + * + */ + public short getCountryid() { + return countryid; + } + + /** + * Sets the value of the countryid property. + * + */ + public void setCountryid(short value) { + this.countryid = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + + /** + * Gets the value of the fips property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFips() { + return fips; + } + + /** + * Sets the value of the fips property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFips(String value) { + this.fips = value; + } + + /** + * Gets the value of the iso2 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIso2() { + return iso2; + } + + /** + * Sets the value of the iso2 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIso2(String value) { + this.iso2 = value; + } + + /** + * Gets the value of the iso3 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIso3() { + return iso3; + } + + /** + * Sets the value of the iso3 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIso3(String value) { + this.iso3 = value; + } + + /** + * Gets the value of the ison property. + * + */ + public short getIson() { + return ison; + } + + /** + * Sets the value of the ison property. + * + */ + public void setIson(short value) { + this.ison = value; + } + + /** + * Gets the value of the internet property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInternet() { + return internet; + } + + /** + * Sets the value of the internet property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInternet(String value) { + this.internet = value; + } + + /** + * Gets the value of the comment property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getComment() { + return comment; + } + + /** + * Sets the value of the comment property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setComment(String value) { + this.comment = value; + } + + /** + * Gets the value of the regionid property. + * + */ + public short getRegionid() { + return regionid; + } + + /** + * Sets the value of the regionid property. + * + */ + public void setRegionid(short value) { + this.regionid = value; + } + + /** + * Gets the value of the region property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRegion() { + return region; + } + + /** + * Sets the value of the region property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRegion(String value) { + this.region = value; + } + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCode(String value) { + this.code = value; + } + + /** + * Gets the value of the adm property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdm() { + return adm; + } + + /** + * Sets the value of the adm property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdm(String value) { + this.adm = value; + } + + /** + * Gets the value of the cityid property. + * + */ + public short getCityid() { + return cityid; + } + + /** + * Sets the value of the cityid property. + * + */ + public void setCityid(short value) { + this.cityid = value; + } + + /** + * Gets the value of the city property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCity() { + return city; + } + + /** + * Sets the value of the city property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCity(String value) { + this.city = value; + } + + /** + * Gets the value of the latitude property. + * + */ + public float getLatitude() { + return latitude; + } + + /** + * Sets the value of the latitude property. + * + */ + public void setLatitude(float value) { + this.latitude = value; + } + + /** + * Gets the value of the longitude property. + * + */ + public float getLongitude() { + return longitude; + } + + /** + * Sets the value of the longitude property. + * + */ + public void setLongitude(float value) { + this.longitude = value; + } + + /** + * Gets the value of the timezone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTimezone() { + return timezone; + } + + /** + * Sets the value of the timezone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTimezone(String value) { + this.timezone = value; + } + + /** + * Gets the value of the dmaid property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDmaid() { + return dmaid; + } + + /** + * Sets the value of the dmaid property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDmaid(String value) { + this.dmaid = value; + } + + /** + * Gets the value of the dma property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDma() { + return dma; + } + + /** + * Sets the value of the dma property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDma(String value) { + this.dma = value; + } + + /** + * Gets the value of the market property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMarket() { + return market; + } + + /** + * Sets the value of the market property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMarket(String value) { + this.market = value; + } + + /** + * Gets the value of the certainty property. + * + */ + public byte getCertainty() { + return certainty; + } + + /** + * Sets the value of the certainty property. + * + */ + public void setCertainty(byte value) { + this.certainty = value; + } + + /** + * Gets the value of the locationcode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocationcode() { + return locationcode; + } + + /** + * Sets the value of the locationcode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocationcode(String value) { + this.locationcode = value; + } + + /** + * Gets the value of the ipaddress property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIpaddress() { + return ipaddress; + } + + /** + * Sets the value of the ipaddress property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIpaddress(String value) { + this.ipaddress = value; + } + +} diff --git b/iplocator-api/src/main/java/pl/labno/bernard/geobytes/iplocator/rest/generated/ObjectFactory.java a/iplocator-api/src/main/java/pl/labno/bernard/geobytes/iplocator/rest/generated/ObjectFactory.java new file mode 100644 index 0000000..0d1c657 --- /dev/null +++ a/iplocator-api/src/main/java/pl/labno/bernard/geobytes/iplocator/rest/generated/ObjectFactory.java @@ -0,0 +1,47 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.05.17 at 03:13:16 PM GMT +// + + +package pl.labno.bernard.geobytes.iplocator.rest.generated; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the pl.labno.bernard.geobytes.iplocator.rest.generated 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 {
+
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pl.labno.bernard.geobytes.iplocator.rest.generated
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link IpInfo }
+ *
+ */
+ public IpInfo createIpInfo() {
+ return new IpInfo();
+ }
+
+}
diff --git b/iplocator-api/src/main/xjb/bindings.xjb a/iplocator-api/src/main/xjb/bindings.xjb
new file mode 100644
index 0000000..5daf00d
--- /dev/null
+++ a/iplocator-api/src/main/xjb/bindings.xjb
@@ -0,0 +1,13 @@
+KP
+