Finally, I find out why.
In case anyone interested or having the same problem. It is caused by cross
site scripting issue. Instead of POST request being sent, the XMLHttpRequest
is sending out an OPTION request. 
Fixed by modifying the url without domain name. e.g.
http://localhost:8080/axis2/services/Alm to /axis2/services/Alm. 
The generated js code works fine as well.


--
View this message in context: 
http://cxf.547215.n5.nabble.com/help-generated-javascript-client-not-sending-request-properly-tp5575360p5577507.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to