generator.setBinding(Wsdl11Generator.XMLBEANS);
generator.setOverwrite(true);
generator.generate();
JCodeModel model = generator.getCodeModel();
JDefinedClass echo = model._getClass("jsr181.echo.wrapped.EchoPortType");
assertNotNull(echo);
JMethod method = echo.getMethod("echo", new JType[] { model.ref(String.class) });
assertNotNull(method);
assertEquals( model.ref(String.class), method.type() );
assertNotNull(model._getClass("jsr181.echo.wrapped.EchoClient"));
assertNotNull(model._getClass("jsr181.echo.wrapped.EchoImpl"));
}