SimonHowald
asked on
Flex - httpservice error while getting xml
I'm using php to return xml. When I use this php to fetch data from localhost from flex, I get below error:
http://127.0.0.1/fetch.php] Unable to load datasource, [FaultEvent fault=[RPC Fault faultString="Error #1085" faultCode="Client.CouldNot Decode" faultDetail="null"] messageId="C3830F4F-D4D1-4 499-91A5-8 B84FE3D771 E" type="fault" bubbles=false cancelable=true eventPhase=2
Suggest me if I'm doing anything wrong here.
below is the code for fetch.php:
http://127.0.0.1/fetch.php] Unable to load datasource, [FaultEvent fault=[RPC Fault faultString="Error #1085" faultCode="Client.CouldNot
Suggest me if I'm doing anything wrong here.
below is the code for fetch.php:
<?php header('Content-type: text/xml'); ?>
<?xml version="1.0" encoding="utf-8"?>
<items>
<item a="1" b="2" />
<item a="3" b="4" />
</items>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It seems like there is an incorrect call being made to the file in Flex. Can you post the code you are using to call the file.