I am having a small problem with a soap request in flex. If i use a third part tool like .NET WebService studio the request is:
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetModels xmlns="http://tempuri.org/SLWS/Service1">
<Brand>Lexus</Brand>
<CountryCode>EU</CountryCode>
<LanguageCode>EN</LanguageCode>
</GetModels>
</soap:Body>
</soap:Envelope>
But when I do this with Flex it uses the tns namespace:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<tns:GetModels xmlns:tns="http://tempuri.org/SLWS/Service1">
<tns:Brand>Leuxs</tns:Brand>
<tns:CountryCode>EU</tns:CountryCode>
<tns:LanguageCode>EN</tns:LanguageCode>
</tns:GetModels>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I need a way to send the request like WebService studio does, without the tns: namespace on each node.
Thanks