Search code examples
curlibm-datapower

unable to see DataPower xml firewall logs


Actually I have created one loopback xml firewall in IBM DataPower xi50 and it does a transformation from JSON to SOAP.Now while I am testing it using CURL I do not get any output nor anything is there in 'show Probe'.What actually can be the reason for this behaviour.My CURL command is following

curl --data-binary @smallFile.txt https://DPIP:port -S

Solution

  • Your url has https and that's why you are getting the error. As you are using -S it doesn't return you any error(if you get any). Just remove the -S and you'll see the error.

    Now, to fix that error(about https) you have to add -k parameter. It will solve your problem. So your overall command will be

    curl --data-binary @smallFile.txt https://DPIP:port -S -k