private Map<String,ProxyHandler> createInvocationHandlers()
{
Map<String, ProxyHandler> handlers = new HashMap<String, ProxyHandler>();
ProxyHandler handler = new ReflectionProxyHandler();
handler.setAction(Names.NAMESPACE_URI+"/"+"voidWithoutArguments");
handler.setRequestName(
new QName(
Names.NAMESPACE_URI,
"voidWithoutArgumentsRequest",
Names.PREFIX));
handler.setRequestParameterNames(new QName[]{});
handler.setResponseName(
new QName(
Names.NAMESPACE_URI,
"voidWithoutArgumentsResponse",
Names.PREFIX));
handler.setReturnType(Result.class);
ProxyHandler exceptionHandler = new ReflectionProxyHandler();
exceptionHandler.setAction(Names.NAMESPACE_URI+"/"+"throwsException");
exceptionHandler.setRequestName(
new QName(
Names.NAMESPACE_URI,
"throwsExceptionRequest",
Names.PREFIX));
exceptionHandler.setRequestParameterNames(new QName[]{});
exceptionHandler.setResponseName(
new QName(
Names.NAMESPACE_URI,
"throwsExceptionResponse",
Names.PREFIX));
exceptionHandler.setReturnType(Result.class);
ProxyHandler echoWithWrapperTypesHandler = new ReflectionProxyHandler();
echoWithWrapperTypesHandler.setAction(Names.NAMESPACE_URI+"/"+"echoWithSimpleTypes");
echoWithWrapperTypesHandler.setRequestName(
new QName(
Names.NAMESPACE_URI,
"echoWithSimpleTypesRequest",
Names.PREFIX));
echoWithWrapperTypesHandler.setRequestParameterNames(new QName[]{
new QName(Names.NAMESPACE_URI,"p1",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p2",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p3",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p4",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p5",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p6",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p7",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p8",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p9",Names.PREFIX),
});
echoWithWrapperTypesHandler.setResponseName(
new QName(
Names.NAMESPACE_URI,
"echoWithSimpleTypesResponse",
Names.PREFIX));
echoWithWrapperTypesHandler.setReturnType(Result.class);
ProxyHandler echoWithArrayOfWrapperTypes = new ReflectionProxyHandler();
echoWithArrayOfWrapperTypes.setAction(Names.NAMESPACE_URI+"/"+"echoWithArrays");
echoWithArrayOfWrapperTypes.setRequestName(
new QName(
Names.NAMESPACE_URI,
"echoWithArraysRequest",
Names.PREFIX));
echoWithArrayOfWrapperTypes.setRequestParameterNames(new QName[]{
new QName(Names.NAMESPACE_URI,"p1",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p2",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p3",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p4",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p5",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p6",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p7",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p8",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p9",Names.PREFIX),
});
echoWithArrayOfWrapperTypes.setResponseName(
new QName(
Names.NAMESPACE_URI,
"echoWithArraysResponse",
Names.PREFIX));
echoWithArrayOfWrapperTypes.setReturnType(Result.class);
ProxyHandler echoWithArrayOfPrimitiveTypes = new ReflectionProxyHandler();
echoWithArrayOfPrimitiveTypes.setAction(Names.NAMESPACE_URI+"/"+"echoWithSimpleTypeArrays");
echoWithArrayOfPrimitiveTypes.setRequestName(
new QName(
Names.NAMESPACE_URI,
"echoWithSimpleTypeArraysRequest",
Names.PREFIX));
echoWithArrayOfPrimitiveTypes.setRequestParameterNames(new QName[]{
new QName(Names.NAMESPACE_URI,"p1",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p2",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p3",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p4",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p5",Names.PREFIX),
new QName(Names.NAMESPACE_URI,"p6",Names.PREFIX)});
echoWithArrayOfPrimitiveTypes.setResponseName(
new QName(
Names.NAMESPACE_URI,
"echoWithSimpleTypeArraysResponse",
Names.PREFIX));
echoWithArrayOfPrimitiveTypes.setReturnType(Result.class);
ProxyHandler echoWithByteArray = new EnhancedReflectionProxyHandler();
echoWithByteArray.setAction(Names.NAMESPACE_URI+"/"+"echoWithByteArray");
echoWithByteArray.setRequestName(
new QName(