assertEquals("http://www.w3.org/2001/XMLSchema", qname.getNamespaceURI());
assertEquals("string", qname.getLocalPart());
}
protected void checkServiceNameNamespace(Node node) throws Exception {
CachedXPathAPI cachedXPathAPI = new CachedXPathAPI();
NodeIterator iterator = cachedXPathAPI.selectNodeIterator(node, "//*[local-name() = 'ServiceName']");
Element root = (Element) iterator.nextNode();
assertEquals(new QName("http://schemas.xmlsoap.org/ws/2003/03/addressing", "ServiceName"),
new QName(root.getNamespaceURI(), root.getLocalName()));
QName qname = DOMUtil.createQName(root, DOMUtil.getElementText(root));
assertEquals(new QName("uri:test", "MyConsumerService"), qname);