private OMElement getInParameters() throws AiravataAPIInvocationException, RegistryException, XMLStreamException {
OMFactory omFactory = OMAbstractFactory.getOMFactory();
OMElement invoke_inputParams = omFactory.createOMElement(new QName("invoke_InputParams"));
ServiceDescription serviceDescription = airavataAPI.getApplicationManager().getServiceDescription(this.serviceName);
if (serviceDescription == null) {
throw new RegistryException(new Exception("Service Description not found in registry."));
}
ServiceDescriptionType serviceDescriptionType = serviceDescription.getType();
for (String inputName : this.inputNames) {
OMElement omElement = omFactory.createOMElement(new QName(inputName));
int index = this.inputNames.indexOf(inputName);