I am getting an encoding error on sending this webservice to jboss server.
The webservice looks like:
<mx:WebService id="StatsWebservice" useProxy="false" showBusyCursor="false" fault="showFault(event)">
<mx

peration name="retrieveReports" result="loadNewTabs(event)" fault="showFault(event)" resultFormat="e4x">
<mx:request xmlns="http://schemas.xmlsoap.org/wsdl/">
<RequestData>
<criteria>
<reportType>dslam</reportType>
<maxResults>100</maxResults>
<reportkey>
<name>node-id</name>
<value>{wsnodeId}</value>
</reportkey>
</criteria>
</RequestData>
</mx:request>
</mx

peration>
</mx:WebService>
The error I get is :
fault occurred[FaultEvent fault=[RPC Fault faultString="Error #1069: Property name not found on String and there is no default value." faultCode="EncodingError" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]
Can anyone tell me, does this mean when the request is packaged into the soap envelope it doesn't know how to encode the <name> element? Should this complex type be sent using some kind of definitions for encoding. The server is accepting a RequestData type with a criteria type...
Any help would be hugely appreciated!!