TypeMapping tm = ((AegisBindingProvider) osf.getBindingProvider()).getTypeMapping(service);
BeanType type = new BeanType();
tm.register(SimpleBean.class, new QName("urn:Bean", "SimpleBean"), type);
ServiceInfo info = service.getServiceInfo();
OperationInfo o = info.getOperation("getSubmitBean");
MessageInfo inMsg = o.getInputMessage();
MessagePartInfo p = inMsg.getMessagePart(new QName("urn:Bean", "bean"));
p.setSchemaType(type);
o = info.getOperation("getSimpleBean");
MessageInfo outMsg = o.getOutputMessage();
p = outMsg.getMessagePart(new QName("urn:Bean", "getSimpleBeanout"));
p.setSchemaType(type);
}