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.
// complexStruct.setElem2("two");
complexStruct.setElem3(3);
try {
/*boolean result =*/ validation.setComplexStruct(complexStruct);
fail("Set ComplexStruct hould have thrown ProtocolException");
} catch (ProtocolException e) {
//System.out.println(e.getMessage());