@Test
public void testUnqualifiedNamespaces() throws Exception {

	BodyBuilder builder = createBuilder(wsdlResourcePath("whatizit.wsdl"), "queryPmid");
	
	assertTrue("Is is the wrong type, it should be LiteralBodyBuilder",builder instanceof LiteralBodyBuilder);
	
	String parameters = "<parameters xmlns=\"http://www.ebi.ac.uk/webservices/whatizit/ws\"><pipelineName xmlns=\"\">swissProt</pipelineName><pmid xmlns=\"\">1234</pmid></parameters>";
	Map<String,Object> inputMap = new HashMap<String, Object>();
	inputMap.put("parameters", parameters);
	
	SOAPElement body = builder.build(inputMap);

               assertTrue("Wrong wrapping element name", "queryPmid".equals(body.getLocalName()) && "http://www.ebi.ac.uk/webservices/whatizit/ws".equals(body.getNamespaceURI()));
               Iterator<Node> pipelineNames = body.getChildElements(new QName("","pipelineName"));
               
               assertTrue("No pipelineName defined", pipelineNames.hasNext());
               assertTrue("Wrong pipelineName value (must be 'swissProt')", "swissProt".equals(pipelineNames.next().getTextContent()));
               
               Iterator<Node> pmids = body.getChildElements(new QName("","pmid"));
               assertTrue("No pmid defined", pmids.hasNext());
               assertTrue("Wrong pmid value (must be '1234')", "1234".equals(pmids.next().getTextContent()));
}