Incorrect content-type and soapaction HTTP client headers
---------------------------------------------------------
Key: AXIS2C-639
URL: https://issues.apache.org/jira/browse/AXIS2C-639
Project: Axis2-C
Issue Type: Bug
Components: transport/http
Affects Versions: 1.0.0
Environment: Windows Server 2003 running the official binary
distribution of Axis2c 1.0.0
Reporter: Stefano Pettini
HTTP headers content-type and soapaction seems not to be set correctly,
according to how and if axis2_options_set_soap_version is called.
With:
No axis2_options_set_soap_version call or
axis2_options_set_soap_version(axOptions, axEnv, AXIOM_SOAP_11)
I get:
content-type: application/soap+xml;charset=UTF-8;action="helloAction";
With:
axis2_options_set_soap_version(axOptions, axEnv, AXIOM_SOAP_12)
I get:
content-type: text/xml;charset=UTF-8
soapaction: "helloAction"
No special option is written in axis2.xml.
MTOM and REST default options have been commented out from axis2.xml.
Behaviour looks like not compliant with SOAP 1.1 and 1.2 requirements about
HTTP headers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]