|
package com.sample.www.sampleDirect;
public interface ReportHandlerService extends javax.xml.rpc.Service
{
public java.lang.String getReportHandlerServicePortAddress(); public com.sample.www.sampleDirect.ReportHandler
getReportHandlerServicePort() throws javax.xml.rpc.ServiceException;
public com.sample.www.sampleDirect.ReportHandler
getReportHandlerServicePort(java.net.URL portAddress) throws
javax.xml.rpc.ServiceException;
} package com.sample.www.sampleDirect; public class ReportHandlerServiceLocator extends
org.apache.axis.client.Service implements
com.sample.www.sampleDirect.ReportHandlerService {
// Use to get a proxy class for
ReportHandlerServicePort
private final java.lang.String ReportHandlerServicePort_address = "http://www.sample.com/sampleDirect"; public java.lang.String
getReportHandlerServicePortAddress()
{
return ReportHandlerServicePort_address; } // The WSDD service name defaults to the port
name.
private java.lang.String ReportHandlerServicePortWSDDServiceName = "ReportHandlerServicePort"; public java.lang.String
getReportHandlerServicePortWSDDServiceName()
{
return ReportHandlerServicePortWSDDServiceName; } public void
setReportHandlerServicePortWSDDServiceName(java.lang.String name)
{
ReportHandlerServicePortWSDDServiceName = name; } public com.sample.www.sampleDirect.ReportHandler
getReportHandlerServicePort() throws javax.xml.rpc.ServiceException
{
java.net.URL endpoint; try { endpoint = new java.net.URL(ReportHandlerServicePort_address); } catch (java.net.MalformedURLException e) { throw new javax.xml.rpc.ServiceException(e); } return getReportHandlerServicePort(endpoint); } public com.sample.www.sampleDirect.ReportHandler
getReportHandlerServicePort(java.net.URL portAddress) throws
javax.xml.rpc.ServiceException {
try { com.sample.www.sampleDirect.sampleDirectBindingStub _stub = new com.sample.www.sampleDirect.sampleDirectBindingStub(portAddress, this); _stub.setPortName(getReportHandlerServicePortWSDDServiceName()); return _stub; } catch (org.apache.axis.AxisFault e) { return null; } } /**
* For the given interface, get the stub implementation. * If this service has no port for the given interface, * then ServiceException is thrown. */ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { try { if (com.sample.www.sampleDirect.ReportHandler.class.isAssignableFrom(serviceEndpointInterface)) { com.sample.www.sampleDirect.sampleDirectBindingStub _stub = new com.sample.www.sampleDirect.sampleDirectBindingStub(new java.net.URL(ReportHandlerServicePort_address), this); _stub.setPortName(getReportHandlerServicePortWSDDServiceName()); return _stub; } } catch (java.lang.Throwable t) { throw new javax.xml.rpc.ServiceException(t); } throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); } /**
* For the given interface, get the stub implementation. * If this service has no port for the given interface, * then ServiceException is thrown. */ public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { if (portName == null) { return getPort(serviceEndpointInterface); } String inputPortName = portName.getLocalPart(); if ("ReportHandlerServicePort".equals(inputPortName)) { return getReportHandlerServicePort(); } else { java.rmi.Remote _stub = getPort(serviceEndpointInterface); ((org.apache.axis.client.Stub) _stub).setPortName(portName); return _stub; } } public javax.xml.namespace.QName getServiceName()
{
return new javax.xml.namespace.QName("http://www.sample.com/sampleDirect", "ReportHandlerService"); } private java.util.HashSet ports = null;
public java.util.Iterator getPorts()
{
if (ports == null) { ports = new java.util.HashSet(); ports.add(new javax.xml.namespace.QName("ReportHandlerServicePort")); } return ports.iterator(); } }
In a message dated 6/15/2004 4:18:27 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
|
- RE: Namespaces & Clients Meloro, John
- Re: Namespaces & Clients NYY96
- Re: Namespaces & Clients NYY96
- RE: Namespaces & Clients Meloro, John
- Re: Namespaces & Clients NYY96
- RE: Namespaces & Clients Meloro, John
- Re: Namespaces & Clients NYY96
- RE: Namespaces & Clients Meloro, John
- Re: Namespaces & Clients NYY96
- RE: Namespaces & Clients Meloro, John
- NYY96
