The debug messages are saying that GET, HEAD, OPTIONS and TRACE are the only allowable methods. Looks like POST is not allowed. Leo Burkett From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Versfelt, Charles I’m an RPG programmer, I’m not an expert on HTTP although I’ve been using HTTPAPI for some time, it’s helped us with many projects. <h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3> Neither he nor I know how to resolve this, but I did a http_debug to get more information. HTTP/1.1 405 Method Not Allowed Allow: GET, HEAD, OPTIONS, TRACE Content-Type: text/html Server: Microsoft-IIS/8.5 X-Powered-By: ASP.NET Date: Wed, 30 Aug 2017 20:55:45 GMT Content-Length: 1293 callp http_debug(*ON); ContentType = 'text/xml;charset=UTF-8'; SoapAction = 'getInventoryLevels'; rc = http_url_post_stmf(url: reqstfile: replyfile: HTTP_TIMEOUT: HTTP_USERAGENT: ContentType: SoapAction); // 9. If error transmitting file, log error and exit. if (rc <> 1); //error receive file <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>405 - HTTP verb used to access this page is not allowed.</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;b fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS background-color:#555555;} background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;positio --> </style> </head> <body> <div id="header"><h1>Server Error</h1></div> <div id="content"> <div class="content-container"><fieldset> <h2>405 - HTTP verb used to access this page is not allowed.</h2> <h3>The page you are looking for cannot be displayed because an invalid method </fieldset></div> </div> </body>
</html> This email has been scanned for viruses by Mimecast. |
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi