I'm having a problem with dumping the request XML. When I send XML request to a web service with soapUI, it gives me normal results, but when I try to do the same thing in Flash using Flex, the web sevice responds with a SOAP fault. This is basically what I'm doing:
var xml = XML('<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://some.web-sr.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header/><SOAP-ENV:Body><ns1:SomeOperation><ns1:data></ns1:data></ns1:SomeOpera tion></SOAP-ENV:Body></SOAP-ENV:Envelope>');
wsOperation = getWsOperation('SomeOperation');
wsOperation.resultFormat = 'e4x';
wsOperation.request = xml;
Result: <faultstring>The path is not of a legal form. ---> The path is not of a legal form.</faultstring>
How can I dump the request xml which was actually sent to the web service by Flex? Or what am I doing wrong here?
Thanks in andvance,