Package org.eclipse.wst.wsdl

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


            if (!webService.name().equals(""))
              portTypeName = webService.name();
            portType = WSDLFactory.eINSTANCE.createPortType();
            portType.setQName(new QName(wsdlDef.getQName().getNamespaceURI(),portTypeName));
            portType.setUndefined(false);
            wsdlDef.addPortType(portType);
            typePortTypeMap.put(ctClass, portType);
            javax.jws.soap.SOAPBinding soapBinding = ctClass.getAnnotation(javax.jws.soap.SOAPBinding.class);
            if (soapBinding != null)
              typeSoapBindingMap.put(ctClass, soapBinding);
          }       
View Full Code Here


          if (!webServiceAnnotation.name().equals(""))
            portTypeName = webServiceAnnotation.name();
          portType = WSDLFactory.eINSTANCE.createPortType();
          portType.setQName(new QName(wsdlDef.getQName().getNamespaceURI(),portTypeName));
          portType.setUndefined(false);       
          wsdlDef.addPortType(portType);
          typePortTypeMap.put(intrface,portType);
          javax.jws.soap.SOAPBinding soapBindingAnnoation = intrface.getAnnotation(javax.jws.soap.SOAPBinding.class);
          if (soapBindingAnnoation != null)
            typeSoapBindingMap.put(intrface, soapBindingAnnoation);       
        }     
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.