Hi All,
I have written an RPGLE program, which sends a SOAP request by using http_url_post api.
This api sends my SOAP request to the called WebServer program, and writes the respond to an IFS file.
It works lovely.
But if there is a problem (etc 404 error=the URL is not found), I don't get the SOAP fault message, it is not written into the IFS file (no IFS file is written at all).
Earlier I have used http_url_post_xml, which parses the respond xml, but I had to change, because my SOAP message was too big for this api.
The http_url_post_xml api parses the SOAP fault message too.
Thank you Scott Klement for these good apis!
Does anyone have experience about getting the SOAP fault message while using http_url_post?
Thanks in advance,
Klara Farkas
I have written an RPGLE program, which sends a SOAP request by using http_url_post api.
This api sends my SOAP request to the called WebServer program, and writes the respond to an IFS file.
It works lovely.
But if there is a problem (etc 404 error=the URL is not found), I don't get the SOAP fault message, it is not written into the IFS file (no IFS file is written at all).
Earlier I have used http_url_post_xml, which parses the respond xml, but I had to change, because my SOAP message was too big for this api.
The http_url_post_xml api parses the SOAP fault message too.
Thank you Scott Klement for these good apis!
Does anyone have experience about getting the SOAP fault message while using http_url_post?
Thanks in advance,
Klara Farkas
Comment