I am using savon 2 gem. How to add the xmlns to message tag instead of envelope?
The xml generate is this
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://www.serviceurl.com/">
<soap:Body>
<tns:Search>
<Token>55</Token>
</tns:Search>
</soap:Body>
</soap:Envelope>
I need this
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Search xmlns="http://www.serviceurl.com/">
<Token>55</Token>
</Search>
</soap:Body>
</soap:Envelope>
i.e Search xmlns="http://www.serviceurl.com/"