View Javadoc

1   package net.sf.provisioner.IntrawayWSDL;
2   
3   import net.sf.provisioner.IntrawayWSDL_pkg.InterfaceObjInput;
4   import net.sf.provisioner.IntrawayWSDL_pkg.InterfaceObjOutput;
5   import net.sf.provisioner.IntrawayWSDL_pkg.IntrawayWSDLLocator;
6   import net.sf.provisioner.IntrawayWSDL_pkg.IntrawayWSDLPortType;
7   import net.sf.provisioner.IntrawayWSDL_pkg.MaintenanceObjInput;
8   import net.sf.provisioner.IntrawayWSDL_pkg.MaintenanceObjOutput;
9   import net.sf.provisioner.IntrawayWSDL_pkg.holders.ArrayOfActivityObjOutputHolder;
10  import net.sf.provisioner.IntrawayWSDL_pkg.holders.DocsisStatusObjOutputHolder;
11  
12  public class IntrawayWSDLPortTypeProxy implements IntrawayWSDLPortType {
13    private String _endpoint = null;
14    private IntrawayWSDLPortType intrawayWSDLPortType = null;
15    
16    public IntrawayWSDLPortTypeProxy() {
17      _initIntrawayWSDLPortTypeProxy();
18    }
19    
20    private void _initIntrawayWSDLPortTypeProxy() {
21      try {
22        intrawayWSDLPortType = (new IntrawayWSDLLocator()).getIntrawayWSDLPort();
23        if (intrawayWSDLPortType != null) {
24          if (_endpoint != null)
25            ((javax.xml.rpc.Stub)intrawayWSDLPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
26          else
27            _endpoint = (String)((javax.xml.rpc.Stub)intrawayWSDLPortType)._getProperty("javax.xml.rpc.service.endpoint.address");
28        }
29        
30      }
31      catch (javax.xml.rpc.ServiceException serviceException) {}
32    }
33    
34    public String getEndpoint() {
35      return _endpoint;
36    }
37    
38    public void setEndpoint(String endpoint) {
39      _endpoint = endpoint;
40      if (intrawayWSDLPortType != null)
41        ((javax.xml.rpc.Stub)intrawayWSDLPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
42      
43    }
44    
45    public IntrawayWSDLPortType getIntrawayWSDLPortType() {
46      if (intrawayWSDLPortType == null)
47        _initIntrawayWSDLPortTypeProxy();
48      return intrawayWSDLPortType;
49    }
50    
51    /**
52     * Este es el metodo put.....
53     */
54    public InterfaceObjOutput[] put(java.lang.String authKey, InterfaceObjInput[] arrayOfInterfaceObjInput) throws java.rmi.RemoteException{
55  	  if (intrawayWSDLPortType == null)
56  	      _initIntrawayWSDLPortTypeProxy();
57  	    return intrawayWSDLPortType.put(authKey, arrayOfInterfaceObjInput); 
58    }
59  
60    /**
61     * Este es el metodo GetActivity.....
62     */
63    public void getActivity(java.lang.String authKey, java.lang.String lastIdEntradaCaller, java.lang.String idInterface, javax.xml.rpc.holders.StringHolder idError, javax.xml.rpc.holders.StringHolder errorStr, ArrayOfActivityObjOutputHolder arrayOfActivityObjOutput) throws java.rmi.RemoteException{
64  	  if (intrawayWSDLPortType == null)
65  	      _initIntrawayWSDLPortTypeProxy();
66  	  intrawayWSDLPortType.getActivity(authKey, lastIdEntradaCaller, idInterface, idError, errorStr, arrayOfActivityObjOutput);
67    }
68  
69    /**
70     * Este es el metodo GetDocsisStatus.....
71     */
72    public void getDocsisStatus(java.lang.String authKey, java.lang.String idEmpresaCRM, java.lang.String idServicio, java.lang.String idVenta, java.lang.String idProducto, java.lang.String xmlEncoding, javax.xml.rpc.holders.StringHolder idError, javax.xml.rpc.holders.StringHolder errorStr, DocsisStatusObjOutputHolder docsisStatusObjOutput) throws java.rmi.RemoteException{
73  	  if (intrawayWSDLPortType == null)
74  	      _initIntrawayWSDLPortTypeProxy();
75  	  intrawayWSDLPortType.getDocsisStatus(authKey, idEmpresaCRM, idServicio, idVenta, idProducto, xmlEncoding, idError, errorStr, docsisStatusObjOutput); 
76    }
77  
78    /**
79     * Este es el metodo Maintenance.....
80     */
81    public MaintenanceObjOutput[] maintenance(java.lang.String authKey, MaintenanceObjInput[] arrayOfMaintenanceObjInput) throws java.rmi.RemoteException{
82  	  if (intrawayWSDLPortType == null)
83  	      _initIntrawayWSDLPortTypeProxy();
84  	    return intrawayWSDLPortType.maintenance(authKey, arrayOfMaintenanceObjInput);
85    }
86    
87  }