lauri-aloauri commented on issue #9625:
URL: https://github.com/apache/apisix/issues/9625#issuecomment-1584634468

   Additional information - i added files with configuration information and 
log files
   At first the REST request do not returned anything - there are  records 
inside error-log.txt file for these two request for these requests
   ```
   curl -s http://127.0.0.1:9080/cgi-bin/consumer_proxy     -H 'content-type: 
application/json'     -X POST -d '{"userid": 
"EE33333333333","requestIsikukood": "44444444444"}' | jq
   curl -s http://127.0.0.1:9080/cgi-bin/consumer_proxy     -H 'content-type: 
application/json'     -X POST -d '{"userid": 
"EE33333333333","requestIsikukood": "44444444444"}' | jq
   
   After two request all worked well as expected
   curl -s http://127.0.0.1:9080/cgi-bin/consumer_proxy     -H 'content-type: 
application/json'     -X POST -d '{"userid": 
"EE33333333333","requestIsikukood": "44444444444"}' | jq
   {
     "status": "200",
     "requestIsikukood": "44444444444",
     "KOVKood": "919",
     "responseIsikukood": "44444444444"
   }
   
   ```
   ```
   curl -s http://127.0.0.1:9080/cgi-bin/consumer_proxy     -H 'content-type: 
application/json'     -X POST -d '{"userid": 
"EE33333333333","requestIsikukood": "44444444444"}' | jq
   {
     "status": "200",
     "requestIsikukood": "44444444444",
     "KOVKood": "919",
     "responseIsikukood": "44444444444"
   }
   
   Case then the SOAP response has `<KOVKood></KOVKood>` look file that i  
captured  with tcpdump output as soap-request-respnse.txt 
    curl -s http://127.0.0.1:9080/cgi-bin/consumer_proxy     -H 'content-type: 
application/json'     -X POST -d '{"userid": 
"EE33333333333","requestIsikukood": "33333333333"}' | jq
   {
     "status": "200",
     "requestIsikukood": "33333333333",
     "KOVKood": "table: 0x7f042a5aa728",
     "responseIsikukood": "33333333333"
   }
   
    curl -s http://127.0.0.1:9080/cgi-bin/consumer_proxy     -H 'content-type: 
application/json'     -X POST -d '{"userid": 
"EE33333333333","requestIsikukood": "33333333333"}' | jq
   {
     "status": "200",
     "requestIsikukood": "33333333333",
     "KOVKood": "table: 0x7f042a4d01b0",
     "responseIsikukood": "33333333333"
   }
   
   ```
   
[accesslog.txt](https://github.com/apache/apisix/files/11707027/accesslog.txt)
   
[enable-plugin.txt](https://github.com/apache/apisix/files/11707028/enable-plugin.txt)
   
[error-log.txt](https://github.com/apache/apisix/files/11707029/error-log.txt)
   
[request_template.txt](https://github.com/apache/apisix/files/11707030/request_template.txt)
   
[response_template.txt](https://github.com/apache/apisix/files/11707031/response_template.txt)
   
[soap-request-respnse.txt](https://github.com/apache/apisix/files/11707032/soap-request-respnse.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to