All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.extension.ws.invoke.SWebService Maven / Gradle / Ivy

Go to download

The Jadex webservice platform extension package contains basic functionality for WSDL web services and REST web services.

The newest version!
package jadex.extension.ws.invoke;

import jadex.bridge.IInternalAccess;

import java.lang.reflect.Proxy;

/**
 * 
 */
public class SWebService
{
	/**
	 *  Create a wrapper service implementation based on the JAXB generated
	 *  Java service class and the service mapping information.
	 */
	public static Object createServiceImplementation(IInternalAccess agent, Class type, WebServiceMappingInfo mapping)
	{
		return Proxy.newProxyInstance(agent.getClassLoader(), new Class[]{type}, 
			new WebServiceWrapperInvocationHandler(agent, mapping));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy