Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/08/2008, 14:11
Avatar de GreatDanton
GreatDanton
 
Fecha de Ingreso: mayo-2008
Ubicación: en la 3ra habitacion a la izquierda
Mensajes: 30
Antigüedad: 16 años
Puntos: 0
Busqueda problemitas con flex

hola gente !!!!!

soy nuevo en el uso de flex [hehe apenas inicie hace 4 dias ] hise una pequeña aplicacion simple para usar flex - php y mysql que solo hace las funciones basica [vale lo de siempre agregar, modificarm, etc...] y pues al correlar en mi local host no me ningun problema pero al momento de colocarla en mi servidor me da el siguiente error

Cita:
[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\Ab stractInvoker.as:218]
at mx.rpc::Responder/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\Re sponder.as:53]
at mx.rpc::AsyncRequest/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\As yncRequest.as:103]
at DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\DirectHTTPChannel.as:368]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent()
este es el codigo de mi aplicacion flex

Código PHP:
    <mx:HTTPService id="form1" 
        
url="http://www.youdivas.com/Administrador/mod.php" 
        
method="GET" 
        
resultFormat="text">
        
        <
mx:request>
            <
nombre>{nombre.text}</nombre>
            <
edad>{edad.text}</edad>
            <
ciudad>{ciudad.text}</ciudad>
            <
estado>{estado.text}</estado>
            <
tel>{tel.text}</tel>
            <
mail>{mail.text}</mail>    
            <
tipo>{tipo.text}</tipo>
        </
mx:request>
    </
mx:HTTPService>

    <
mx:Label text="Prueba 1 en youdivas.com" left="10" top="10" fontSize="25" fontWeight="bold" color="#FF0000"/>
    <
mx:Label x="10" y="97" text="Nombre" color="#E71818" fontWeight="bold"/>
    <
mx:Label x="10" y="123" text="Edad" color="#E71818" fontWeight="bold"/>
    <
mx:Label x="10" y="149" text="Ciudad" color="#E71818" fontWeight="bold"/>
    <
mx:Label x="10" y="175" text="Estado" color="#E71818" fontWeight="bold"/>
    <
mx:Label x="234" y="125" text="Tipo de telefono" color="#FC210A" fontWeight="bold"/>
    <
mx:TextInput x="66" y="95" id="nombre"/>
    <
mx:TextInput x="66" y="121" id="edad"/>
    <
mx:TextInput x="66" y="147" id="ciudad"/>
    <
mx:TextInput x="66" y="173" id="estado"/>
    <
mx:Label x="10" y="203" text="Numero" color="#E71818" fontWeight="bold"/>
    <
mx:TextInput x="66" y="199" id="tel"/>
    <
mx:TextInput x="338" y="123" width="37" id="tipo"/>
    <
mx:Label x="234" y="97" text="Mail" color="#FA1800" fontWeight="bold"/>
    <
mx:TextInput x="269" y="95" id="mail"/>
    <
mx:Button x="268" y="171" label="Enviar" id="envia" click="form1.send()"/>
    <
mx:Button x="265" y="199" label="Limpiar" /> 
ya intente cambiando la url en httpservice pero nomas no me rula mi aplicacion en mi servidor solo en modo local y pues realmente no mi interesa tango que rule en local que ineresa mas que funcione en el servidor

cualquier ayuda sera agradecida

Nota: No estoy utilziando weborb o algun otro framework o lo que sea