Hi,
I have written a simple Flex 3.2 code that accepts Name, uses Flext HttpService via LifeCycle DS ES 3.0. At the Server Side I am using Struts1.2 on Tomcat 5.0. My Flex code is running and Server side Struts code is running. The problem is the Name accepted on Client Side is not displaying on Server side JSP page. Below is the Client Side & Server Side code.
Client Side
=========
hello.mxml
-----------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<![CDATA[
publicfunction hello1():void{
HelloCall.send();
}
]]>
</mx:Script>
<mx:request xmlns= "" >
<mx:TextInput id= "nameInput" x="260" y= "104" fontSize= "20" /> <mx:Button x= "301" y= "186" label= "Submit" fontSize= "20" click= "hello1();" />
<mx:Label x= "312" y= "285" text= "{HelloCall.lastResult.jlc.message}" fontSize= "20" />
</mx:Application>
proxy-config.xml
-------------------------
<?xml version="1.0" encoding="UTF-8"?>
<service id="proxy-service" class="flex.messaging.services.HTTPProxyService">
<properties>
<connection-manager>
<max-total-connections>100</max-total-connections>
<default-max-connections-per-host>2</default-max-connections-per-host>
</connection-manager>
<allow-lax-ssl>true</allow-lax-ssl>
</properties>
<adapters>
<adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/>
<adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/>
</adapters>
<default-channels>
<channel ref="my-http"/>
<channel ref="my-amf"/>
</default-channels>
<destination id="myHello">
</destination>
</service>
<name> {nameInput.text}</name> </mx:request> </mx:HTTPService> <mx:Label x= "312" y= "47" text= "Enter Name" fontSize= "20" />