getServiceRegistry().register(service);
ObjectServiceFactory osf = (ObjectServiceFactory) getServiceFactory();
TypeMapping tm = ((AegisBindingProvider) osf.getBindingProvider()).getTypeMapping(service);
BeanType type = new BeanType();
type.setTypeClass(SimpleBean.class);
type.setSchemaType(new QName("urn:ReallyNotSoSimpleBean", "SimpleBean"));
type.setTypeMapping(tm);
ServiceInfo info = service.getServiceInfo();
OperationInfo o = info.getOperation("getSubmitBean");
MessageInfo inMsg = o.getInputMessage();
MessagePartInfo p = inMsg.getMessagePart(new QName(service.getTargetNamespace(), "bean"));