I have following issues with calling web service with complex
Issue 1: Complex object is getting posted as null
I used class WebService provided by flex and proxy-config.xml
configuration file provided by blazeds to bypass security error
which is reaching webservice on web-qa posting Payment object as
null to server webservice method insertPayment( Payment pay).
Forum says it is bug in flex 3 and needs hotfix for flex 3
which is available for licensed copy of flex builder.
I have made web service request as follows:
private var advicews:WebService;
Code inside init() called on creationComplete:
advicews = new WebService();
advicews.destination = "ws-advices";
advicews.port = "AWebServiceSOAP11port_http1";
advicews.service = "AWebService";
advicews.endpointURI = "
http://web-A:8080/axis12/services1/AWebService1"; advicews.useProxy = true;
Issue 2: Security exception for cross domain web service
To resolve the null object posting issue mentioned above I
used the stubs generated with flex builder 3 and commented out
lines of wrapper = true and qname as mentioned in the flex forum in
the BaseAWebService proxy class generated by flex builder 3 as we
But getting the security exception which is not resolved even
after placing crossdomain.xml policy file in ROOT.war in web
If anybody knows the solutions kindly let me know.