Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20662 kshitij.so 1
 
2
package com.bluedart.tempuri;
3
 
4
import java.net.MalformedURLException;
5
import java.net.URL;
6
import javax.xml.namespace.QName;
7
import javax.xml.ws.Service;
8
import javax.xml.ws.WebEndpoint;
9
import javax.xml.ws.WebServiceClient;
10
import javax.xml.ws.WebServiceException;
11
 
12
 
13
/**
14
 * This class was generated by the JAX-WS RI.
15
 * JAX-WS RI 2.2.8
16
 * Generated source version: 2.0
17
 * 
18
 */
19
@WebServiceClient(name = "WayBillGeneration", targetNamespace = "http://tempuri.org/", wsdlLocation = "http://localhost:50502/Waybill/WayBillGeneration.svc?wsdl")
20
public class WayBillGeneration
21
    extends Service
22
{
23
 
24
    private final static URL WAYBILLGENERATION_WSDL_LOCATION;
25
    private final static WebServiceException WAYBILLGENERATION_EXCEPTION;
26
    private final static QName WAYBILLGENERATION_QNAME = new QName("http://tempuri.org/", "WayBillGeneration");
27
 
28
    static {
29
        URL url = null;
30
        WebServiceException e = null;
31
        try {
32
            url = new URL("http://localhost:50502/Waybill/WayBillGeneration.svc?wsdl");
33
        } catch (MalformedURLException ex) {
34
            e = new WebServiceException(ex);
35
        }
36
        WAYBILLGENERATION_WSDL_LOCATION = url;
37
        WAYBILLGENERATION_EXCEPTION = e;
38
    }
39
 
40
    public WayBillGeneration() {
41
        super(__getWsdlLocation(), WAYBILLGENERATION_QNAME);
42
    }
43
 
44
    public WayBillGeneration(URL wsdlLocation, QName serviceName) {
45
        super(wsdlLocation, serviceName);
46
    }
47
 
48
    /**
49
     * 
50
     * @return
51
     *     returns IWayBillGeneration
52
     */
53
    @WebEndpoint(name = "WSHttpBinding_IWayBillGeneration")
54
    public IWayBillGeneration getWSHttpBindingIWayBillGeneration() {
55
        return super.getPort(new QName("http://tempuri.org/", "WSHttpBinding_IWayBillGeneration"), IWayBillGeneration.class);
56
    }
57
 
58
    private static URL __getWsdlLocation() {
59
        if (WAYBILLGENERATION_EXCEPTION!= null) {
60
            throw WAYBILLGENERATION_EXCEPTION;
61
        }
62
        return WAYBILLGENERATION_WSDL_LOCATION;
63
    }
64
 
65
}