* @throws Exception
*/
public void testBeanServiceWSDL()
throws Exception
{
final Document doc = getWSDLDocument("ComplexService");
addNamespace("wsdl", WSDLWriter.WSDL11_NS);
addNamespace("wsdlsoap", WSDLWriter.WSDL11_SOAP_NS);
addNamespace("xsd", SoapConstants.XSD);
String ns1 = "http://ns1.services.xfire.codehaus.org";
String ns2 = "http://ns2.services.xfire.codehaus.org";
String root = "http://services.xfire.codehaus.org";
Element types = (Element) doc.getRootElement().getChildren("types", Namespace.getNamespace(WSDLWriter.WSDL11_NS)).get(0);
String ns1p = NamespaceHelper.getPrefix(types, ns1);
String ns2p = NamespaceHelper.getPrefix(types, ns2);
String rootp = "r";
addNamespace(ns1p, ns1);