code: private java.util.Map getEnvelopeNamespaces(final org.apache.axiom.soap.SOAPEnvelope env) {
          final java.util.Map returnMap = new java.util.HashMap();
          final java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces();
          while (namespaceIterator.hasNext()) {
              final org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next();
              returnMap.put(ns.getPrefix(), ns.getNamespaceURI());
          }
          return returnMap;
      }
docs: A utility method that copies the namepaces from the SOAPEnvelope