Enabling wire logs for wso2-apimgr
1 . To enable wire logs you need to go to wso2am-1.x.0/repository/conf/log4j.properties file.
2. Uncomment the following entry.
log4j.logger.org.apache.synapse.transport.http.wire=DEBUG
3. Now restart the server.
4. Send your request.
5. Now go to wso2am-1.x.0/repository/logs/wso2carbon.log file.
6. Identify the message flow,
Form the wire to api-mger
DEBUG {org.apache.synapse.transport.http.wire} - >> "POST /t/dimuthu.com/1.0 HTTP/1.1[\r
DEBUG {org.apache.synapse.transport.http.wire} - >> "Host: xx.xx.x.xx:8243[\r][\n]" {org.apache.synapse.transport.http.wire}
.................
.................
From api-mger to the wire
DEBUG {org.apache.synapse.transport.http.wire} - << "POST /user/ HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}
DEBUG {org.apache.synapse.transport.http.wire} - << "Host: yy.yy.yy.yy:9000[\r][\n]" {org.apache.synapse.transport.http.wire}
..............
..............
Note : The best way to identify the message flow is to consider the host ip.
WSO2 ESB --> OUT_ONLY property
<
inSequence
>
<
property
action
=
"set"
name
=
"OUT_ONLY"
value
=
"true"
/>
</
inSequence
>
Now this means that you are not expecting any response.