Hi all,
I'm trying to create a jaggery application that calls a Axis2 soap web
service. My post request is like bellow.

var url = "http://localhost:8080/axis2/services/OrderProcessor/";;
var type = "xml";

var result = post(url,"Order", {
"Content-Type": "application/xml",
        "User-Agent": "Mozilla/5.0",
        "Country" : "LK",
"SOAPAction": "urn:createOrder"
}, type);

But in the request Content-type is always set to the default value. How can
I change the content type to xml?
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to