HTTP Error 'Method Not Allowed', BW Message Code 'BW-HTTP-100000' and statusCode is 405

Allowed methods in BW HTTP palette for attribute  METHOD='DELETE, POST, OPTIONS, HEAD, GET, PUT' and  For other methods generates the error code  "BW-HTTP-100000" and "statusCode =405"

' <MsgCode>BW-HTTP-100000</MsgCode>,<httpVersion>HTTP/1.1</httpVersion>                <statusCode>405</statusCode><server>Apache-Coyote/1.1</server> '

Below is the difference between METHOD="GET" (the default) and METHOD="POST" in HTTP Palette
 
METHOD="GET"  is the default  should be used for the case data retrivals (like select statement in JDBC) and the POST used for any action (like insert or update statements in JDBC)

The official recommendations say that "GET" should be used if and only if the form processing is idempotent, which typically means a pure query form.  There are, however, problems related to long URLs and non-ASCII character repertoires which can make it necessary to use "POST" even for idempotent processing.


  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP