We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: Cant Change the HTTP Status code as it is being ignored by the Apache Axis Engine
Suggested Labels: WSO2 E.I, WSO2 ESB
Suggested Assignees:
Affected Product Version: WSO2 E.I 6.2
OS, DB, other environment details and versions:
**Steps to reproduce:HTTP_SC not being set on the Outbound of the Api Pipeline ** <api xmlns="http://ws.apache.org/ns/synapse" name="Test" context="TestService/api/1.0" hostname="localhost" port="8280"> <resource methods="POST" protocol="http"> <inSequence> <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2" type="STRING"/> <property name="OUT_ONLY" value="true" scope="default" type="STRING"/> <property name="SC_ACCEPTED" value="false" scope="axis2"/> <log level="custom" separator="," description="Input Message"> <property name="Payload" expression="$."/> <property name="messageID" expression="json-eval($.messageid)"/> </log> <payloadFactory media-type="xml" description="Building the XML Payload"> <format/> <args/> </payloadFactory> <property name="messageType" value="application/xml;charset=UTF-8" scope="axis2" type="STRING"/> <log level="full" description="Input Message"/> <header name="To" action="remove"/> <property name="RESPONSE" value="true" scope="default" type="STRING"/> <property name="SC_ACCEPTED" value="false" scope="axis2"/> <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/> <property name="HTTP_SC" value="200" scope="axis2"/> </inSequence> <outSequence> <property name="HTTP_SC" value="200" scope="axis2" type="STRING"/> <property name="RESPONSE" value="true"/> <header name="To" action="remove"/> <property name="messageType" value="application/json" scope="axis2"/> <send/> </outSequence> <faultSequence/> </resource> </api>
being
<api xmlns="http://ws.apache.org/ns/synapse" name="Test" context="TestService/api/1.0" hostname="localhost" port="8280"> <resource methods="POST" protocol="http"> <inSequence> <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2" type="STRING"/> <property name="OUT_ONLY" value="true" scope="default" type="STRING"/> <property name="SC_ACCEPTED" value="false" scope="axis2"/> <log level="custom" separator="," description="Input Message"> <property name="Payload" expression="$."/> <property name="messageID" expression="json-eval($.messageid)"/> </log> <payloadFactory media-type="xml" description="Building the XML Payload"> <format/> <args/> </payloadFactory> <property name="messageType" value="application/xml;charset=UTF-8" scope="axis2" type="STRING"/> <log level="full" description="Input Message"/> <header name="To" action="remove"/> <property name="RESPONSE" value="true" scope="default" type="STRING"/> <property name="SC_ACCEPTED" value="false" scope="axis2"/> <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/> <property name="HTTP_SC" value="200" scope="axis2"/> </inSequence> <outSequence> <property name="HTTP_SC" value="200" scope="axis2" type="STRING"/> <property name="RESPONSE" value="true"/> <header name="To" action="remove"/> <property name="messageType" value="application/json" scope="axis2"/> <send/> </outSequence> <faultSequence/> </resource> </api>
Related Issues:
The text was updated successfully, but these errors were encountered:
This is fixed in wso2/wso2-synapse#466.
Sorry, something went wrong.
No branches or pull requests
Description: Cant Change the HTTP Status code as it is being ignored by the Apache Axis Engine
Suggested Labels: WSO2 E.I, WSO2 ESB
Suggested Assignees:
Affected Product Version: WSO2 E.I 6.2
OS, DB, other environment details and versions:
**Steps to reproduce:HTTP_SC not
being
set on the Outbound of the Api Pipeline **<api xmlns="http://ws.apache.org/ns/synapse" name="Test" context="TestService/api/1.0" hostname="localhost" port="8280"> <resource methods="POST" protocol="http"> <inSequence> <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2" type="STRING"/> <property name="OUT_ONLY" value="true" scope="default" type="STRING"/> <property name="SC_ACCEPTED" value="false" scope="axis2"/> <log level="custom" separator="," description="Input Message"> <property name="Payload" expression="$."/> <property name="messageID" expression="json-eval($.messageid)"/> </log> <payloadFactory media-type="xml" description="Building the XML Payload"> <format/> <args/> </payloadFactory> <property name="messageType" value="application/xml;charset=UTF-8" scope="axis2" type="STRING"/> <log level="full" description="Input Message"/> <header name="To" action="remove"/> <property name="RESPONSE" value="true" scope="default" type="STRING"/> <property name="SC_ACCEPTED" value="false" scope="axis2"/> <property name="NO_ENTITY_BODY" scope="axis2" action="remove"/> <property name="HTTP_SC" value="200" scope="axis2"/> </inSequence> <outSequence> <property name="HTTP_SC" value="200" scope="axis2" type="STRING"/> <property name="RESPONSE" value="true"/> <header name="To" action="remove"/> <property name="messageType" value="application/json" scope="axis2"/> <send/> </outSequence> <faultSequence/> </resource> </api>
Related Issues:
The text was updated successfully, but these errors were encountered: