/**
 * Service1Client.java
 * 
 * This file was auto-generated
 * by the Web Service Director Eclipse Plugin Edition.
 */

package com.nec.webotx.webservice.director.service1;

public class Service1Client {

	private javax.xml.rpc.Stub stub;
	private Service1_PortType binding;

	public Service1Client() throws Exception {
		stub = (javax.xml.rpc.Stub) new Service1_Service_Impl().getService1Port();
		binding = (Service1_PortType)stub;
	}

	public Service1Client(java.lang.String url) throws Exception {
		stub = (javax.xml.rpc.Stub) new Service1_Service_Impl().getService1Port();
		stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, url);
		binding = (Service1_PortType)stub;
	}

	public java.lang.String method1_Sample1(java.lang.String in0) throws java.rmi.RemoteException {
		return binding.method1_Sample1(in0);
	}

}