org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstoreStub Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wsclient Show documentation
Show all versions of wsclient Show documentation
This project allows a user to interact with ESP services in a controlled manner. The API calls available under org.hpccsystems.ws.client.platform allow for a user to target ESP's across multiple environments running a range of hpccsystems-platform versions. There is no guarantee that if a user utilizes org.hpccsystems.ws.client.gen generated stub code from wsdl, that the calls will be backwards compatible with older hpccsystems-platform versions.
/**
* WsstoreStub.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.7.9 Built on : Nov 16, 2018 (12:05:37 GMT)
*/
package org.hpccsystems.ws.client.gen.axis2.wsstore.latest;
/*
* WsstoreStub java implementation
*/
public class WsstoreStub extends org.apache.axis2.client.Stub implements Wsstore {
private static int counter = 0;
protected org.apache.axis2.description.AxisOperation[] _operations;
//hashmaps to keep the fault mapping
private java.util.HashMap faultExceptionNameMap = new java.util.HashMap();
private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap();
private java.util.HashMap faultMessageMap = new java.util.HashMap();
private javax.xml.namespace.QName[] opNameArray = null;
/**
*Constructor that takes in a configContext
*/
public WsstoreStub(
org.apache.axis2.context.ConfigurationContext configurationContext,
java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault {
this(configurationContext, targetEndpoint, false);
}
/**
* Constructor that takes in a configContext and useseperate listner
*/
public WsstoreStub(
org.apache.axis2.context.ConfigurationContext configurationContext,
java.lang.String targetEndpoint, boolean useSeparateListener)
throws org.apache.axis2.AxisFault {
//To populate AxisService
populateAxisService();
populateFaults();
_serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,
_service);
_serviceClient.getOptions()
.setTo(new org.apache.axis2.addressing.EndpointReference(
targetEndpoint));
_serviceClient.getOptions().setUseSeparateListener(useSeparateListener);
}
/**
* Default Constructor
*/
public WsstoreStub(
org.apache.axis2.context.ConfigurationContext configurationContext)
throws org.apache.axis2.AxisFault {
this(configurationContext,
"http://10.173.160.101:8010/wsstore?ver_=1.02");
}
/**
* Default Constructor
*/
public WsstoreStub() throws org.apache.axis2.AxisFault {
this("http://10.173.160.101:8010/wsstore?ver_=1.02");
}
/**
* Constructor taking the target endpoint
*/
public WsstoreStub(java.lang.String targetEndpoint)
throws org.apache.axis2.AxisFault {
this(null, targetEndpoint);
}
private static synchronized java.lang.String getUniqueSuffix() {
// reset the counter if it is greater than 99999
if (counter > 99999) {
counter = 0;
}
counter = counter + 1;
return java.lang.Long.toString(java.lang.System.currentTimeMillis()) +
"_" + counter;
}
private void populateAxisService() throws org.apache.axis2.AxisFault {
//creating the Service with a unique name
_service = new org.apache.axis2.description.AxisService("Wsstore" +
getUniqueSuffix());
addAnonymousOperations();
//creating the operations
org.apache.axis2.description.AxisOperation __operation;
_operations = new org.apache.axis2.description.AxisOperation[11];
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "listKeys"));
_service.addOperation(__operation);
_operations[0] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "listNamespaces"));
_service.addOperation(__operation);
_operations[1] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "fetchAll"));
_service.addOperation(__operation);
_operations[2] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "createStore"));
_service.addOperation(__operation);
_operations[3] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "delete"));
_service.addOperation(__operation);
_operations[4] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "fetch"));
_service.addOperation(__operation);
_operations[5] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "set"));
_service.addOperation(__operation);
_operations[6] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "listStores"));
_service.addOperation(__operation);
_operations[7] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "deleteNamespace"));
_service.addOperation(__operation);
_operations[8] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "fetchKeyMetadata"));
_service.addOperation(__operation);
_operations[9] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "ping"));
_service.addOperation(__operation);
_operations[10] = __operation;
}
//populates the faults
private void populateFaults() {
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListKeys"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListKeys"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListKeys"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListNamespaces"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListNamespaces"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListNamespaces"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "FetchAll"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "FetchAll"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "FetchAll"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "CreateStore"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "CreateStore"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "CreateStore"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Delete"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Delete"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Delete"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Fetch"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Fetch"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Fetch"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Set"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Set"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Set"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListStores"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListStores"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "ListStores"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "DeleteNamespace"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "DeleteNamespace"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "DeleteNamespace"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "FetchKeyMetadata"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "FetchKeyMetadata"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "FetchKeyMetadata"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
faultExceptionNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Ping"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultExceptionClassNameMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Ping"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.EspSoapFault");
faultMessageMap.put(new org.apache.axis2.client.FaultMapKey(
new javax.xml.namespace.QName("urn:hpccsystems:ws:wsstore",
"Exceptions"), "Ping"),
"org.hpccsystems.ws.client.gen.axis2.wsstore.v1_02.Exceptions");
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#listKeys
* @param listKeysRequest0
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse listKeys(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest listKeysRequest0)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName());
_operationClient.getOptions().setAction("wsstore/ListKeys?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
listKeysRequest0,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "listKeys")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "ListKeysRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListKeys"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListKeys"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListKeys"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#listNamespaces
* @param listNamespacesRequest2
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse listNamespaces(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest listNamespacesRequest2)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[1].getName());
_operationClient.getOptions()
.setAction("wsstore/ListNamespaces?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
listNamespacesRequest2,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "listNamespaces")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "ListNamespacesRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListNamespaces"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListNamespaces"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListNamespaces"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#fetchAll
* @param fetchAllRequest4
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse fetchAll(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest fetchAllRequest4)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[2].getName());
_operationClient.getOptions().setAction("wsstore/FetchAll?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
fetchAllRequest4,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "fetchAll")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "FetchAllRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "FetchAll"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "FetchAll"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "FetchAll"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#createStore
* @param createStoreRequest6
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse createStore(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest createStoreRequest6)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName());
_operationClient.getOptions()
.setAction("wsstore/CreateStore?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
createStoreRequest6,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "createStore")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "CreateStoreRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "CreateStore"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "CreateStore"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "CreateStore"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#delete
* @param deleteRequest8
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse delete(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest deleteRequest8)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName());
_operationClient.getOptions().setAction("wsstore/Delete?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
deleteRequest8,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "delete")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "DeleteRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Delete"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Delete"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Delete"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#fetch
* @param fetchRequest10
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse fetch(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest fetchRequest10)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName());
_operationClient.getOptions().setAction("wsstore/Fetch?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
fetchRequest10,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "fetch")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "FetchRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Fetch"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Fetch"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Fetch"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#set
* @param setRequest12
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse set(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest setRequest12)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[6].getName());
_operationClient.getOptions().setAction("wsstore/Set?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
setRequest12,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "set")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "SetRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Set"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Set"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Set"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#listStores
* @param listStoresRequest14
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse listStores(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest listStoresRequest14)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[7].getName());
_operationClient.getOptions()
.setAction("wsstore/ListStores?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
listStoresRequest14,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "listStores")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "ListStoresRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListStores"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListStores"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "ListStores"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#deleteNamespace
* @param deleteNamespaceRequest16
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse deleteNamespace(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest deleteNamespaceRequest16)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[8].getName());
_operationClient.getOptions()
.setAction("wsstore/DeleteNamespace?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
deleteNamespaceRequest16,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "deleteNamespace")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "DeleteNamespaceRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "DeleteNamespace"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "DeleteNamespace"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "DeleteNamespace"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#fetchKeyMetadata
* @param fetchKeyMDRequest18
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse fetchKeyMetadata(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest fetchKeyMDRequest18)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[9].getName());
_operationClient.getOptions()
.setAction("wsstore/FetchKeyMetadata?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
fetchKeyMDRequest18,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "fetchKeyMetadata")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "FetchKeyMDRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "FetchKeyMetadata"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "FetchKeyMetadata"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "FetchKeyMetadata"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
/**
* Auto generated method signature
*
* @see org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Wsstore#ping
* @param wsstorePingRequest20
* @throws org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault :
*/
public org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse ping(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest wsstorePingRequest20)
throws java.rmi.RemoteException,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault {
org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[10].getName());
_operationClient.getOptions().setAction("wsstore/Ping?ver_=1.02");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
wsstorePingRequest20,
optimizeContent(
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "ping")),
new javax.xml.namespace.QName(
"urn:hpccsystems:ws:wsstore", "wsstorePingRequest"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse.class);
return (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Ping"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Ping"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(java.lang.String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
//message class
java.lang.String messageClassName = (java.lang.String) faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "Ping"));
java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
java.lang.Object messageObject = fromOM(faultElt,
messageClass);
java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage",
new java.lang.Class[] { messageClass });
m.invoke(ex, new java.lang.Object[] { messageObject });
if (ex instanceof org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) {
throw (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.EspSoapFault) ex;
}
throw new java.rmi.RemoteException(ex.getMessage(), ex);
} catch (java.lang.ClassCastException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.ClassNotFoundException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.NoSuchMethodException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.reflect.InvocationTargetException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.IllegalAccessException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
} catch (java.lang.InstantiationException e) {
// we cannot intantiate the class - throw the original Axis fault
throw f;
}
} else {
throw f;
}
} else {
throw f;
}
} finally {
if (_messageContext.getTransportOut() != null) {
_messageContext.getTransportOut().getSender()
.cleanup(_messageContext);
}
}
}
private boolean optimizeContent(javax.xml.namespace.QName opName) {
if (opNameArray == null) {
return false;
}
for (int i = 0; i < opNameArray.length; i++) {
if (opName.equals(opNameArray[i])) {
return true;
}
}
return false;
}
//http://10.173.160.101:8010/wsstore?ver_=1.02
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Exceptions param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Exceptions.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.om.OMElement toOM(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse param,
boolean optimizeContent) throws org.apache.axis2.AxisFault {
try {
return param.getOMElement(org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse.MY_QNAME,
org.apache.axiom.om.OMAbstractFactory.getOMFactory());
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory,
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest param,
boolean optimizeContent, javax.xml.namespace.QName elementQName)
throws org.apache.axis2.AxisFault {
try {
org.apache.axiom.soap.SOAPEnvelope emptyEnvelope = factory.getDefaultEnvelope();
emptyEnvelope.getBody()
.addChild(param.getOMElement(
org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest.MY_QNAME,
factory));
return emptyEnvelope;
} catch (org.apache.axis2.databinding.ADBException e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
}
/* methods to provide back word compatibility */
/**
* get the default envelope
*/
private org.apache.axiom.soap.SOAPEnvelope toEnvelope(
org.apache.axiom.soap.SOAPFactory factory) {
return factory.getDefaultEnvelope();
}
private java.lang.Object fromOM(org.apache.axiom.om.OMElement param,
java.lang.Class type) throws org.apache.axis2.AxisFault {
try {
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.CreateStoreResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteNamespaceResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.DeleteResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Exceptions.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.Exceptions.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchAllResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchKeyMDResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.FetchResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListKeysResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListNamespacesResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.ListStoresResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.SetResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingRequest.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
if (org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse.class.equals(
type)) {
return org.hpccsystems.ws.client.gen.axis2.wsstore.latest.WsstorePingResponse.Factory.parse(param.getXMLStreamReaderWithoutCaching());
}
} catch (java.lang.Exception e) {
throw org.apache.axis2.AxisFault.makeFault(e);
}
return null;
}
}