PortComponentHandlerType h = new PortComponentHandlerType();
org.apache.cxf.jaxws.javaee.CString name = new org.apache.cxf.jaxws.javaee.CString();
name.setValue("lh1");
h.setHandlerName(name);
FullyQualifiedClassType type = new FullyQualifiedClassType();
type.setValue(TestLogicalHandler.class.getName());
h.setHandlerClass(type);
handlers.add(h);
h = new PortComponentHandlerType();
name = new org.apache.cxf.jaxws.javaee.CString();
name.setValue("ph1");
h.setHandlerName(name);
type = new FullyQualifiedClassType();
type.setValue(TestProtocolHandler.class.getName());
h.setHandlerClass(type);
handlers.add(h);
h = new PortComponentHandlerType();
name = new org.apache.cxf.jaxws.javaee.CString();
name.setValue("ph2");
h.setHandlerName(name);
type = new FullyQualifiedClassType();
type.setValue(TestProtocolHandler.class.getName());
h.setHandlerClass(type);
handlers.add(h);
h = new PortComponentHandlerType();
name = new org.apache.cxf.jaxws.javaee.CString();
name.setValue("lh2");
h.setHandlerName(name);
type = new FullyQualifiedClassType();
type.setValue(TestLogicalHandler.class.getName());
h.setHandlerClass(type);
handlers.add(h);
return handlers;
}