WS-Discovery messages (de)serialization

Functions to serialize and deserialize messages between SOAP envelope & string representations

wsdiscovery.message.createSOAPMessage(env)

serialize SOAP envelopes into XML strings

wsdiscovery.message.parseSOAPMessage(data, ipAddr)

deserialize XML message strings into SOAP envelope objects

Serialization & deserialization functions for each message: