Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/11/2007, 12:45
insane
 
Fecha de Ingreso: mayo-2007
Ubicación: Home
Mensajes: 24
Antigüedad: 16 años, 11 meses
Puntos: 0
error : webservice , parametros dinamicos en una operacion.

tengo un problema el cual no logro solucionar, es el siguiente, dinamicamente creo el webservice y a una operacion en particular necesito mandarle una lista de parametros dinamicos porlo que necesito crearlos al vuelo...

mi problema es que todo es correcto hasta que los parametros son enviados, puesto que convierte los tags < y > por &lt; y &gt; . alguna sugerencia???

Código PHP:
var operationName:*="getSomething";
var 
xml:*=<data><name>insane</name></data>;

var 
theWebservice:WebService= new WebService();        
               
theWebservice.showBusyCursor=true;
                
theWebservice.useProxy=false;
                
theWebservice.addEventListener(LoadEvent.LOAD,function(e:LoadEvent):void{                           
                    
                      
theWebservice.getOperation(operationName).send(      xml    );
                          
                });                
                
theWebservice.loadWSDL(uri);
                var 
op:Operation= new Operation(theWebservice,operationName);
                         
op.resultFormat="xml"