I have a web service developed in BEA WebLogic that I am trying to call. The
WSDL has two complex types in it and is of type document/literal. When the XML
is generated to be sent to the web service, there are additional <item> tags
that are inserted where the complex type object goes. I tried using the code
from the Web service section of the article
[url]http://www.macromedia.com/devnet/flex/articles/complex_data_print.html[/url] but the
result also included the <item> tags. I also tried hardcoding the XML into the
webservice call itself and got hte <item> tags. Does anybody know how to not
have these tags inserted? I have read that Flex has problems with
document/literal schemas. I do not have the option of changing the web service
itself to rpc/endoded. Here's what the XMl sent to the service should look like:


<PROCESS>
<EMAIL>email@address.com</EMAIL>
<ROOTPATH>path</ROOTPATH>
<PIC>
<NAME>pic0.jpg</NAME>
<DIR>PIC0/</DIR>
</PIC>
<PIC>
<NAME>pic1.jpg</NAME>
<DIR>PIC1/</DIR>
</PIC>
<GROUP>
<GROUPID>PICGroup0</GROUPID>
<PICTYPE>jpg</PICTYPE>
<PIC>
<NAME>pic3.jpg</NAME>
<DIR>PIC3/</DIR>
</PIC>
<PIC>
<NAME>pic4.jpg</NAME>
<DIR>PIC4/</DIR>
</PIC>
</GROUP>
</PROCESS>

and here is what actually gets sent:

<PROCESS>
<EMAIL>email@address.com</EMAIL>
<ROOTPATH>path</ROOTPATH>
<PIC xmlns=""/>
<item xmlns="">
<DIR>PIC0/</DIR>
<NAME>pic0.jpg</NAME>
</item>
<item xmlns="">
<DIR>PIC1/</DIR>
<NAME>pic1.jpg</NAME>
</item>
<GROUP xmlns=""/>
<item xmlns="">
<GROUPID>PICGroup0</GROUPID>
<PICTYPE>jpg</PICTYPE>
<PIC/>
<item>
<DIR>PIC3/</DIR>
<NAME>pic3.jpg</NAME>
</item>
<item>
<DIR>PIC4/</DIR>
<NAME>pic4.jpg</NAME>
</item>
</item>
</PROCESS>