Hi.
I'm using wso2 3.0.1 server and axis2 on client to access proxy service.
In the proxy service i access a REST service like this:
<!-- inSequence -->
<sequence name="Service_In" xmlns="http://ws.apache.org/ns/synapse"
statistics="enable">
<!-- some transformations omitted -->
<send>
<endpoint name="Service">
<address uri="${service.url}" format="pox" statistics="enable">
<suspendOnFailure>
<initialDuration>0</initialDuration>
<maximumDuration>0</maximumDuration>
<progressionFactor>0.0</progressionFactor>
</suspendOnFailure>
</address>
</endpoint>
</send>
<log level="full"/>
</sequence>
<!-- outSequence -->
<sequence name="Service_Out" xmlns="http://ws.apache.org/ns/synapse"
statistics="enable">
<!-- some transformations omitted -->
<log level="full"/>
<send/>
</sequence>
The problem is that REST service returns 201 code for successful calls and
axis2 client fails with "org.apache.axis2.AxisFault: Transport error: 201
Error: Created" message.
Is there a way to fix this?
Thanks, Oleg.