Extract namespacePrefix function in wsdl

namespacePrefix provides a hook for applications to take over
namespacing to a limited degree. This might be necessary if the service
being invoked doesn't handle xml namespaces correctly.