Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed


package com.bluedart.tempuri;

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;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.8
 * Generated source version: 2.0
 * 
 */
@WebServiceClient(name = "WayBillGeneration", targetNamespace = "http://tempuri.org/", wsdlLocation = "http://localhost:50502/Waybill/WayBillGeneration.svc?wsdl")
public class WayBillGeneration
    extends Service
{

    private final static URL WAYBILLGENERATION_WSDL_LOCATION;
    private final static WebServiceException WAYBILLGENERATION_EXCEPTION;
    private final static QName WAYBILLGENERATION_QNAME = new QName("http://tempuri.org/", "WayBillGeneration");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:50502/Waybill/WayBillGeneration.svc?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        WAYBILLGENERATION_WSDL_LOCATION = url;
        WAYBILLGENERATION_EXCEPTION = e;
    }

    public WayBillGeneration() {
        super(__getWsdlLocation(), WAYBILLGENERATION_QNAME);
    }

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

    /**
     * 
     * @return
     *     returns IWayBillGeneration
     */
    @WebEndpoint(name = "WSHttpBinding_IWayBillGeneration")
    public IWayBillGeneration getWSHttpBindingIWayBillGeneration() {
        return super.getPort(new QName("http://tempuri.org/", "WSHttpBinding_IWayBillGeneration"), IWayBillGeneration.class);
    }

    private static URL __getWsdlLocation() {
        if (WAYBILLGENERATION_EXCEPTION!= null) {
            throw WAYBILLGENERATION_EXCEPTION;
        }
        return WAYBILLGENERATION_WSDL_LOCATION;
    }

}