Package org.objectweb.schema_validation

Examples of org.objectweb.schema_validation.SchemaValidationService


    // client and server with schema validation enabled/disabled...
    public void testSchemaValidation() throws Exception {
        URL wsdl = getClass().getResource("/wsdl/schema_validation.wsdl");
        assertNotNull(wsdl);
       
        SchemaValidationService service = new SchemaValidationService(wsdl, serviceName);
        assertNotNull(service);
       
        SchemaValidation validation = service.getPort(portName, SchemaValidation.class);

        ComplexStruct complexStruct = new ComplexStruct();
        complexStruct.setElem1("one");
        // Don't initialize a member of the structure.  Validation should throw
        // an exception.
View Full Code Here

TOP

Related Classes of org.objectweb.schema_validation.SchemaValidationService

Copyright © 2018 www.massapicom. 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.