| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
package com.buckosoft.PicMan.PicManService; |
| 9 | |
|
| 10 | |
@SuppressWarnings("unchecked") |
| 11 | |
public class PicManService_ServiceLocator extends org.apache.axis.client.Service implements com.buckosoft.PicMan.PicManService.PicManService_Service { |
| 12 | |
private static final long serialVersionUID = 1L; |
| 13 | |
|
| 14 | 0 | public PicManService_ServiceLocator() { |
| 15 | 0 | } |
| 16 | |
|
| 17 | |
|
| 18 | |
public PicManService_ServiceLocator(org.apache.axis.EngineConfiguration config) { |
| 19 | 0 | super(config); |
| 20 | 0 | } |
| 21 | |
|
| 22 | |
public PicManService_ServiceLocator(java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { |
| 23 | 0 | super(wsdlLoc, sName); |
| 24 | 0 | } |
| 25 | |
|
| 26 | |
|
| 27 | 0 | private java.lang.String PicManServiceSOAP_address = "http://PicMan.buckosoft.com/"; |
| 28 | |
|
| 29 | |
public java.lang.String getPicManServiceSOAPAddress() { |
| 30 | 0 | return PicManServiceSOAP_address; |
| 31 | |
} |
| 32 | |
|
| 33 | |
|
| 34 | 0 | private java.lang.String PicManServiceSOAPWSDDServiceName = "PicManServiceSOAP"; |
| 35 | |
|
| 36 | |
public java.lang.String getPicManServiceSOAPWSDDServiceName() { |
| 37 | 0 | return PicManServiceSOAPWSDDServiceName; |
| 38 | |
} |
| 39 | |
|
| 40 | |
public void setPicManServiceSOAPWSDDServiceName(java.lang.String name) { |
| 41 | 0 | PicManServiceSOAPWSDDServiceName = name; |
| 42 | 0 | } |
| 43 | |
|
| 44 | |
public com.buckosoft.PicMan.PicManService.PicManService_PortType getPicManServiceSOAP() throws javax.xml.rpc.ServiceException { |
| 45 | |
java.net.URL endpoint; |
| 46 | |
try { |
| 47 | 0 | endpoint = new java.net.URL(PicManServiceSOAP_address); |
| 48 | |
} |
| 49 | 0 | catch (java.net.MalformedURLException e) { |
| 50 | 0 | throw new javax.xml.rpc.ServiceException(e); |
| 51 | 0 | } |
| 52 | 0 | return getPicManServiceSOAP(endpoint); |
| 53 | |
} |
| 54 | |
|
| 55 | |
public com.buckosoft.PicMan.PicManService.PicManService_PortType getPicManServiceSOAP(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { |
| 56 | |
try { |
| 57 | 0 | com.buckosoft.PicMan.PicManService.PicManServiceSOAPStub _stub = new com.buckosoft.PicMan.PicManService.PicManServiceSOAPStub(portAddress, this); |
| 58 | 0 | _stub.setPortName(getPicManServiceSOAPWSDDServiceName()); |
| 59 | 0 | return _stub; |
| 60 | |
} |
| 61 | 0 | catch (org.apache.axis.AxisFault e) { |
| 62 | 0 | return null; |
| 63 | |
} |
| 64 | |
} |
| 65 | |
|
| 66 | |
public void setPicManServiceSOAPEndpointAddress(java.lang.String address) { |
| 67 | 0 | PicManServiceSOAP_address = address; |
| 68 | 0 | } |
| 69 | |
|
| 70 | |
|
| 71 | |
|
| 72 | |
|
| 73 | |
|
| 74 | |
|
| 75 | |
public java.rmi.Remote getPort(@SuppressWarnings("rawtypes") Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { |
| 76 | |
try { |
| 77 | 0 | if (com.buckosoft.PicMan.PicManService.PicManService_PortType.class.isAssignableFrom(serviceEndpointInterface)) { |
| 78 | 0 | com.buckosoft.PicMan.PicManService.PicManServiceSOAPStub _stub = new com.buckosoft.PicMan.PicManService.PicManServiceSOAPStub(new java.net.URL(PicManServiceSOAP_address), this); |
| 79 | 0 | _stub.setPortName(getPicManServiceSOAPWSDDServiceName()); |
| 80 | 0 | return _stub; |
| 81 | |
} |
| 82 | |
} |
| 83 | 0 | catch (java.lang.Throwable t) { |
| 84 | 0 | throw new javax.xml.rpc.ServiceException(t); |
| 85 | 0 | } |
| 86 | 0 | throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); |
| 87 | |
} |
| 88 | |
|
| 89 | |
|
| 90 | |
|
| 91 | |
|
| 92 | |
|
| 93 | |
|
| 94 | |
public java.rmi.Remote getPort(javax.xml.namespace.QName portName, @SuppressWarnings("rawtypes") Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { |
| 95 | 0 | if (portName == null) { |
| 96 | 0 | return getPort(serviceEndpointInterface); |
| 97 | |
} |
| 98 | 0 | java.lang.String inputPortName = portName.getLocalPart(); |
| 99 | 0 | if ("PicManServiceSOAP".equals(inputPortName)) { |
| 100 | 0 | return getPicManServiceSOAP(); |
| 101 | |
} |
| 102 | |
else { |
| 103 | 0 | java.rmi.Remote _stub = getPort(serviceEndpointInterface); |
| 104 | 0 | ((org.apache.axis.client.Stub) _stub).setPortName(portName); |
| 105 | 0 | return _stub; |
| 106 | |
} |
| 107 | |
} |
| 108 | |
|
| 109 | |
public javax.xml.namespace.QName getServiceName() { |
| 110 | 0 | return new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "PicManService"); |
| 111 | |
} |
| 112 | |
|
| 113 | 0 | @SuppressWarnings("rawtypes") |
| 114 | |
private java.util.HashSet ports = null; |
| 115 | |
|
| 116 | |
@SuppressWarnings("rawtypes") |
| 117 | |
public java.util.Iterator getPorts() { |
| 118 | 0 | if (ports == null) { |
| 119 | 0 | ports = new java.util.HashSet(); |
| 120 | 0 | ports.add(new javax.xml.namespace.QName("http://PicMan.buckosoft.com/PicManService/", "PicManServiceSOAP")); |
| 121 | |
} |
| 122 | 0 | return ports.iterator(); |
| 123 | |
} |
| 124 | |
|
| 125 | |
|
| 126 | |
|
| 127 | |
|
| 128 | |
public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { |
| 129 | |
|
| 130 | 0 | if ("PicManServiceSOAP".equals(portName)) { |
| 131 | 0 | setPicManServiceSOAPEndpointAddress(address); |
| 132 | |
} |
| 133 | |
else |
| 134 | |
{ |
| 135 | 0 | throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); |
| 136 | |
} |
| 137 | 0 | } |
| 138 | |
|
| 139 | |
|
| 140 | |
|
| 141 | |
|
| 142 | |
public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { |
| 143 | 0 | setEndpointAddress(portName.getLocalPart(), address); |
| 144 | 0 | } |
| 145 | |
|
| 146 | |
} |