Package edu.indiana.extreme.gfac.schemas

Examples of edu.indiana.extreme.gfac.schemas.SchemaValidator.validate()


   
    public static String createWsdl(String serviceMapAsStr,boolean isAbstract) throws XregistryException{
        try {
            ServiceMapType serviceMap = ServiceMapDocument.Factory.parse(serviceMapAsStr).getServiceMap();
            SchemaValidator validator = new SchemaValidator(serviceMap);
            validator.validate();
            QName serviceQname = new QName(serviceMap.getService().getServiceName()
                    .getTargetNamespace(), serviceMap.getService().getServiceName()
                    .getStringValue());
            WSDLGenerator wsdlGenerator = new WSDLGenerator();
            Hashtable serviceTable = wsdlGenerator.generateWSDL(null, serviceQname, null,
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.