
package com.tutego.insel.ws.gen.jipnews;

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;


/**
 * This class was generated by the JAXWS SI.
 * JAX-WS RI 2.0_02-b08-fcs
 * Generated source version: 2.0
 * 
 */
@WebServiceClient(name = "JIPNewsService", targetNamespace = "http://www.javaportal.it", wsdlLocation = "http://services.javaportal.it/kservices/JIPNews.jws?wsdl")
public class JIPNewsService
    extends Service
{

    private final static URL JIPNEWSSERVICE_WSDL_LOCATION;

    static {
        URL url = null;
        try {
            url = new URL("http://services.javaportal.it/kservices/JIPNews.jws?wsdl");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
        JIPNEWSSERVICE_WSDL_LOCATION = url;
    }

    public JIPNewsService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public JIPNewsService() {
        super(JIPNEWSSERVICE_WSDL_LOCATION, new QName("http://www.javaportal.it", "JIPNewsService"));
    }

    /**
     * 
     * @return
     *     returns JIPNews
     */
    @WebEndpoint(name = "JIPNews")
    public JIPNews getJIPNews() {
        return (JIPNews)super.getPort(new QName("http://www.javaportal.it", "JIPNews"), JIPNews.class);
    }

}
