This is due to a bug in the Integration Studio and will be fixed in future releases( https://github.com/wso2/integration-studio/pull/862 ). As a workaround, you can use the XML source view to save the config. Make sure not to change OM property-related settings from the Design view. Sample config:
<?xml version="1.0" encoding="UTF-8"?>
<api context="/HelloWorld" name="HelloWorld" xmlns="http://ws.apache.org/ns/synapse">
<resource methods="GET">
<inSequence>
<payloadFactory media-type="json">
<format>{"Hello":"World"}</format>
<args/>
</payloadFactory>
<respond/>
</inSequence>
<outSequence>
<property name="dadadasa" scope="default" type="OM">
<HeadElem/>
</property>
</outSequence>
<faultSequence/>
</resource>
</api>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.