MuleMessage result = client.send("http://localhost:" + dynamicPort2.getNumber() + "/services/EchoService2?wsdl", null, properties);
assertNotNull(result);
String wsdl = result.getPayloadAsString();
Document doc = DocumentHelper.parseText(wsdl);
assertEquals("http://simple.component.api.mule.org", doc.valueOf("/wsdl:definitions/@targetNamespace"));
assertEquals("mulePortType", doc.valueOf("/wsdl:definitions/wsdl:portType/@name"));
assertEquals(
"http://simple.component.api.mule.org",
doc.valueOf("/wsdl:definitions/wsdl:binding/wsdl:operation[@name='echo']/wsdl:input[@name='echoRequest']/wsdlsoap:body/@namespace"));
assertEquals(