AsyncOperation operation = new AsyncOperation(info.operation, info.bindingOperation); operation.setUniqueName(info.operation.getUniqueName() + "_async_callback"); } else if (asyncType.equals(AsyncOperationType.POLLING)) { operation.setUniqueName(info.operation.getUniqueName() + "_async_polling"); operation.setAsyncType(asyncType); operation.setSOAPAction(info.operation.getSOAPAction()); boolean unwrappable = info.operation.isWrapped(); operation.setWrapped(unwrappable); SOAPBody soapRequestBody = getSOAPRequestBody(); if (isOperationDocumentLiteral(styleAndUse)) { JAXBType type = getJAXBType(part); operation.setResponseBean(type); } else if (isOperationRpcLiteral(styleAndUse)) { String operationName = info.bindingOperation.getName(); operation.setResponseBean(members.get(0)); operation.setResponseBean(responseBeanType); Block block = new Block(respBeanName, operation.getResponseBeanType(), outputMessage); JavaType respJavaType = operation.getResponseBeanJavaType(); JAXBType respType = new JAXBType(respBeanName, respJavaType); Parameter respParam = ModelerUtils.createParameter(info.operation.getName() + "Response", respType, block); respParam.setParameterIndex(-1); response.addParameter(respParam); operation.setProperty(WSDL_RESULT_PARAMETER, respParam.getName());
JAnnotationUse webMethodAnn = m.annotate(cm.ref(WebMethod.class)); String operationName = (operation instanceof AsyncOperation)? ((AsyncOperation)operation).getNormalOperation().getName().getLocalPart(): operation.getName().getLocalPart();
JAnnotationUse webMethodAnn = m.annotate(cm.ref(WebMethod.class)); String operationName = (operation instanceof AsyncOperation)? ((AsyncOperation)operation).getNormalOperation().getName().getLocalPart(): operation.getName().getLocalPart();
AsyncOperation operation = new AsyncOperation(info.operation, info.bindingOperation); operation.setUniqueName(info.operation.getUniqueName() + "_async_callback"); } else if (asyncType.equals(AsyncOperationType.POLLING)) { operation.setUniqueName(info.operation.getUniqueName() + "_async_polling"); operation.setAsyncType(asyncType); operation.setSOAPAction(info.operation.getSOAPAction()); boolean unwrappable = info.operation.isWrapped(); operation.setWrapped(unwrappable); SOAPBody soapRequestBody = getSOAPRequestBody(); if (isOperationDocumentLiteral(styleAndUse)) { JAXBType type = getJAXBType(part); operation.setResponseBean(type); } else if (isOperationRpcLiteral(styleAndUse)) { String operationName = info.bindingOperation.getName(); operation.setResponseBean(members.get(0)); operation.setResponseBean(responseBeanType); Block block = new Block(respBeanName, operation.getResponseBeanType(), outputMessage); JavaType respJavaType = operation.getResponseBeanJavaType(); JAXBType respType = new JAXBType(respBeanName, respJavaType); Parameter respParam = ModelerUtils.createParameter(info.operation.getName() + "Response", respType, block); respParam.setParameterIndex(-1); response.addParameter(respParam); operation.setProperty(WSDL_RESULT_PARAMETER, respParam.getName());
JAnnotationUse webMethodAnn = m.annotate(cm.ref(WebMethod.class)); String operationName = (operation instanceof AsyncOperation)? ((AsyncOperation)operation).getNormalOperation().getName().getLocalPart(): operation.getName().getLocalPart();
AsyncOperation operation = new AsyncOperation(info.operation, info.bindingOperation); operation.setUniqueName(info.operation.getUniqueName() + "_async_callback"); } else if (asyncType.equals(AsyncOperationType.POLLING)) { operation.setUniqueName(info.operation.getUniqueName() + "_async_polling"); operation.setAsyncType(asyncType); operation.setSOAPAction(info.operation.getSOAPAction()); boolean unwrappable = info.operation.isWrapped(); operation.setWrapped(unwrappable); SOAPBody soapRequestBody = getSOAPRequestBody(); if (isOperationDocumentLiteral(styleAndUse)) { JAXBType type = getJAXBType(part); operation.setResponseBean(type); } else if (isOperationRpcLiteral(styleAndUse)) { String operationName = info.bindingOperation.getName(); operation.setResponseBean(members.get(0)); operation.setResponseBean(responseBeanType); Block block = new Block(respBeanName, operation.getResponseBeanType(), outputMessage); JavaType respJavaType = operation.getResponseBeanJavaType(); JAXBType respType = new JAXBType(respBeanName, respJavaType); Parameter respParam = ModelerUtils.createParameter(info.operation.getName() + "Response", respType, block); respParam.setParameterIndex(-1); response.addParameter(respParam); operation.setProperty(WSDL_RESULT_PARAMETER, respParam.getName());
JAnnotationUse webMethodAnn = m.annotate(cm.ref(WebMethod.class)); String operationName = (operation instanceof AsyncOperation)? ((AsyncOperation)operation).getNormalOperation().getName().getLocalPart(): operation.getName().getLocalPart();
AsyncOperation operation = new AsyncOperation(info.operation, info.bindingOperation); operation.setUniqueName(info.operation.getUniqueName() + "_async_callback"); } else if (asyncType.equals(AsyncOperationType.POLLING)) { operation.setUniqueName(info.operation.getUniqueName() + "_async_polling"); operation.setAsyncType(asyncType); operation.setSOAPAction(info.operation.getSOAPAction()); boolean unwrappable = info.operation.isWrapped(); operation.setWrapped(unwrappable); SOAPBody soapRequestBody = getSOAPRequestBody(); if (isOperationDocumentLiteral(styleAndUse)) { JAXBType type = getJAXBType(part); operation.setResponseBean(type); } else if (isOperationRpcLiteral(styleAndUse)) { String operationName = info.bindingOperation.getName(); operation.setResponseBean(members.get(0)); operation.setResponseBean(responseBeanType); Block block = new Block(respBeanName, operation.getResponseBeanType(), outputMessage); JavaType respJavaType = operation.getResponseBeanJavaType(); JAXBType respType = new JAXBType(respBeanName, respJavaType); Parameter respParam = ModelerUtils.createParameter(info.operation.getName() + "Response", respType, block); respParam.setParameterIndex(-1); response.addParameter(respParam); operation.setProperty(WSDL_RESULT_PARAMETER, respParam.getName());