getServiceRegistry().register(service);
// END SNIPPET: types
final Document response =
invokeService("BeanService",
"/org/codehaus/xfire/message/wrapped/WrappedCustomTypeTest.bean11.xml");
addNamespace("sb", "http://services.xfire.codehaus.org");
assertValid("/s:Envelope/s:Body/sb:getSubmitBeanResponse", response);
assertValid("//sb:getSubmitBeanResponse/sb:out", response);
assertValid("//sb:getSubmitBeanResponse/sb:out[text()=\"blah\"]", response);
final Document doc = getWSDLDocument("BeanService");
addNamespace("wsdl", WSDLWriter.WSDL11_NS);
addNamespace("wsdlsoap", WSDLWriter.WSDL11_SOAP_NS);
addNamespace("xsd", SoapConstants.XSD);