I all i'm try to consume a Web services with Scott Klement HTTAPI, the Web service return "HTTP/1.1 500 Internal Server Error" . Attached see httpapi_debug.txt and http_result.txt content
which could be the problem ?
in the main time, as at the moment i'm not able to try with SOAPUI ( in need certificate in my Pc) ; i tried to post an Xml file (from iseries) that the Server Web Service Admin sent to me and that he said that it is good , but also with this i get the same error, so i suppose that a char coding problem ?
i checked :
1- CCIDS id Xml file stored in ifs : 1208 (Ok ?)
2- First row of my Xml file stored in ifs :<?xml version="1.0" encoding="utf-8"?> (Ok ?)
this is the call to the procedure :
Code:
ContentType = 'text/xml; charset=utf-8'; rc = http_url_post_stmf(%Trim(NomeWS_par) : %Trim(tempFile) : '/tmp/http_result.txt' : HTTP_TIMEOUT : HTTP_USERAGENT : ContentType );
any other suggestion ?
Thanks in advance
Comment