Hi
I have written a web service in Python and trying to design a client
in Flex 2.But some error or the other crops up.
I am able to make a call to the web service but the SOAP response
from the python web service is not getting read properly....and so i
am not able to read the response data from the SOAP request.
The common error I keep getting is "null object cannot have properties".
I tried receiving the response in all types of data providers.
ArrayColection ,XMLCollection but no success. Is the SOAP response not
being read because of a non compatible WSDL format? (unlikely because
the call is successful...but the return is not)
here is my Flex client:
<mx:WebService id="wsXenmonService"
wsdl="http://localhost/xenmon02.wsdl"
useProxy="false" fault="Alert.show(event.fault.faultString,
'Error');">
<mx:operation name="getMetrics">
<mx:request>
</mx:request>
</mx:operation>
</mx:WebService>
<mx:Button x="30" y="250"
label="Get Xenmon Metrics"
click="wsXenmonService.getMetrics.send()"/>
<mx:ArrayCollection id="acX"
source="{ArrayUtil.toArray(wsXenmonService.getMetrics.lastresult)}"
<ms:DataGrid dataprovider="acX" width="50%" />
</mx:Application>
Is there any standard WSDL format I should stick to?
is there is any way to solve this problem...Would love to hear your
suggestions...Thanks....Good day