Package org.eclipse.wst.wsdl

Examples of org.eclipse.wst.wsdl.Definition.addMessage()


          portType.addOperation(operation);
          Message inputMessage = WSDLFactory.eINSTANCE.createMessage();
          inputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName));
          inputMessage.setUndefined(false);
          input.setMessage(inputMessage);
          wsdlDef.addMessage(inputMessage);
         
          Message outputMessage = WSDLFactory.eINSTANCE.createMessage();
          outputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName + "Response"));
          outputMessage.setUndefined(false);
          output.setMessage(outputMessage);
View Full Code Here


         
          Message outputMessage = WSDLFactory.eINSTANCE.createMessage();
          outputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName + "Response"));
          outputMessage.setUndefined(false);
          output.setMessage(outputMessage);
          wsdlDef.addMessage(outputMessage);
          methodOperationMap.put(m,operation);
         
          createWsdlStyleMapping(m);
         
          ASTNodeData typeNodeData = new ASTNodeData();
View Full Code Here

                //faultMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), complexType.getName() + "Message"));
                faultMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), complexType.getName()));
                //faultMessage.setQName(new QName(complexType.getName()));
                faultMessage.addPart(part);
                faultMessage.setUndefined(false);
                wsdlDef.addMessage(faultMessage);
               
                Fault fault = WSDLFactory.eINSTANCE.createFault();
                fault.setName(complexType.getName());
                fault.setMessage(faultMessage);
               
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.