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

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

public class Service2Client {

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

	public Service2Client() throws Exception {
		stub = (javax.xml.rpc.Stub) new Service2_Service_Impl().getService2Port();
		binding = (Service2_PortType)stub;
	}

	public Service2Client(java.lang.String url) throws Exception {
		stub = (javax.xml.rpc.Stub) new Service2_Service_Impl().getService2Port();
		stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, url);
		binding = (Service2_PortType)stub;
	}

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

}