"Method Not allowed" Error while submitting request thro proxy server

I have an application that uses JSSE to talk to a http/https
server, everything worked until I tried using https and a
proxy. Http with or without a proxy worked, https without a
proxy worked, but I can't get https with a proxy to work. The
only thing my application does different is to setup the proxy
stuff with the following function
if (strTunneling.equalsIgnoreCase("ON")) {
/** Setting the proxy host-name and proxy port in the system */
String strProxyHost = ((String) objRouterProp.getProperty("PROXYHOST")).trim();
String strProxyPort = ((String) objRouterProp.getProperty("PROXYPORT")).trim();
System.setProperty("https.proxyHost",strProxyHost);
System.setProperty("https.proxyPort",strProxyPort);
The Exception i am getting is as follows
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 405 Method not allowed"
Any Help is highly appreciated
Thanks
Thirumaran

It means your proxy-server doesn't allow HTTPS tunneling. Have you looked at the "Allow" header in the response? If the proxy is coded correctly, it's supposed to contain ways you can reach the requested resource in ways the proxy will allow.
Some proxies don't allow HTTPS tunneling because they want to be able to log the traffic contents. Perhaps this is one of them.
Grant

Similar Messages

  • HTTP/1.1 405 Method Not Allowed error while deploying application in EPMA

    Hi All,
    I have recently installed EPM 11.1.2.1 on a windows 2008 server with SQL Server 2008 database. I created a new HFM application and tried to deploy it, but the deployment gets aborted with the error "HTTP/1.1 405 Method Not Allowed" seen in the deployment log.
    Any clue as to what might be the issue? Thanks in advance.

    "405 Method Not Allowed" is most likely an IIS configuration issue. Please try reboot and try to redeploy again.
    You need to check and ensure that both Roles and IIS components are installed correctly and that the HFM is functioning OK via IIS when browsing through it.
    Also, by default IIS does not install ASP server scripting roles. To correct this by adding the ASP role in IIS
    "If you are using Windows 2008, you must install ASP Role Services before installing EPM System products that require IIS. If you are using Windows 2008, you must install .NET 3.5 before installation of Data Relationship Management.
    If IIS is chosen as the Web server during configuration, you must allow all unknown ISAPI extensions through the Internet Information Services Manager."
    Please refer "Oracle Hyperion Enterprise Performance Management System Installation Start Here" guide page no: 64
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_start_here_11121.pdfhttp://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_start_here_11121.pdf

  • Cannot create application - 405 Method Not Allowed error

    Installed 11.1.2.1. Tried using EPMA to deploy app. Getting abort with the Method Not Allowed Error. Tried using Classic and getting the same error. Some of the details says "Server Error in Application "DEFAULT WEB SITE/HFM", "The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used." Any thoughts on possible causes?

    Hi Fsotto,
    The below document would resolve the issue.
    New Install on IIS 7, Cannot Access HFM from Workspace 404.3 Error in IIS Logs on HFM Web Server (Doc ID 1285684.1)
    Hope this helps,
    Please feel free to mark the answer as Helpful Answer/ Correct Answer should you find the relevant posting helpful so that it also helps us in keeping track of the answered queries.
    Thank you,
    Charles Babu J

  • A Method Not Allowed error occured communiting to server

    Log on to Workspace URL gone to File>Preferences the followin error occurred
    URI: http://oracle.vision.com:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/prefs/Adf.asp
    Status: 405 - Method Not Allowed
    Content: text/html; charset=utf-8
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>IIS 7.0 Detailed Error - 405.0 - Method Not Allowed</title>
    <style type="text/css">
    <!--
    body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}
    code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
    .config_source code{font-size:.8em;color:#000000;}
    pre{margin:0;font-size:1.4em;word-wrap:break-word;}
    ul,ol{margin:10px 0 10px 40px;}
    ul.first,ol.first{margin-top:5px;}
    fieldset{padding:0 15px 10px 15px;}
    .summary-container fieldset{padding-bottom:5px;margin-top:4px;}
    legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
    legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;
    border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;
    border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;font-size:1em;}
    a:link,a:visited{color:#007EFF;font-weight:bold;}
    a:hover{text-decoration:none;}
    h1{font-size:2.4em;margin:0;color:#FFF;}
    h2{font-size:1.7em;margin:0;color:#CC0000;}
    h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;}
    h4{font-size:1.2em;margin:10px 0 5px 0;
    }#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS",Verdana,sans-serif;
    color:#FFF;background-color:#5C87B2;
    }#content{margin:0 0 0 2%;position:relative;}
    .summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
    .config_source{background:#fff5c4;}
    .content-container p{margin:0 0 10px 0;
    }#details-left{width:35%;float:left;margin-right:2%;
    }#details-right{width:63%;float:left;
    }#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF;
    background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal;
    font-size:1em;color:#FFF;text-align:right;
    }#server_version p{margin:5px 0;}
    table{margin:4px 0 4px 0;width:100%;border:none;}
    td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:bold;border:none;}
    th{width:30%;text-align:right;padding-right:2%;font-weight:normal;}
    thead th{background-color:#ebebeb;width:25%;
    }#details-right th{width:20%;}
    table tr.alt td,table tr.alt th{background-color:#ebebeb;}
    .highlight-code{color:#CC0000;font-weight:bold;font-style:italic;}
    .clear{clear:both;}
    .preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;}
    -->
    </style>
    </head>
    <body>
    <div id="header"><h1>Server Error in Application "DEFAULT WEB SITE/HFM"</h1></div>
    <div id="server_version"><p>Internet Information Services 7.0</p></div>
    <div id="content">
    <div class="content-container">
    <fieldset><legend>Error Summary</legend>
    <h2>HTTP Error 405.0 - Method Not Allowed</h2>
    <h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.</h3>
    </fieldset>
    </div>
    <div class="content-container">
    <fieldset><legend>Detailed Error Information</legend>
    <div id="details-left">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr class="alt"><th>Module</th><td>StaticFileModule</td></tr>
    <tr><th>Notification</th><td>ExecuteRequestHandler</td></tr>
    <tr class="alt"><th>Handler</th><td>StaticFile</td></tr>
    <tr><th>Error Code</th><td>0x80070001</td></tr>
    </table>
    </div>
    <div id="details-right">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr class="alt"><th>Requested URL</th><td>http://oracle.vision.com:80/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/prefs/Adf.asp</td></tr>
    <tr><th>Physical Path</th><td>E:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Web\HFM\GlobalWorkspaceNav\bpm\modules\com\hyperion\hfm\web\prefs\Adf.asp</td></tr>
    <tr class="alt"><th>Logon Method</th><td>Anonymous</td></tr>
    <tr><th>Logon User</th><td>Anonymous</td></tr>
    </table>
    <div class="clear"></div>
    </div>
    </fieldset>
    </div>
    <div class="content-container">
    <fieldset><legend>Most likely causes:</legend>
    <ul> <li>The request sent to the Web server used an HTTP verb that is not allowed by the module configured to handle the request.</li> <li>A request was sent to the server that contained an invalid HTTP verb.</li> <li>The request is for static content and contains an HTTP verb other than GET or HEAD.</li> <li>A request was sent to a virtual directory using the HTTP verb POST and the default document is a static file that does not support HTTP verbs other than GET or HEAD.</li> </ul>
    </fieldset>
    </div>
    <div class="content-container">
    <fieldset><legend>Things you can try:</legend>
    <ul> <li>Verify the list of verbs enabled for the module handler this request was sent to, and ensure that this verb should be allowed for the Web site.</li> <li>Check the IIS log file to see which verb is not allowed for the request.</li> <li>Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here. </li> </ul>
    </fieldset>
    </div>
    <div class="content-container">
    <fieldset><legend>Links and More Information</legend>
    This error means that the request sent to the Web server contained an HTTP verb that is not allowed by the configured module handler for the request.
    <p>View more information &raquo;</p>

    Please post this to the BI+ or HFM Forum.

  • Method Not Allowed error

    Ran a Captivate quiz in the LMS and got an error:
    Adobe Captivate
    [warning] There was a problem communicating with the Learning Record Store. (405 |
    Method Not Allowed
    The requested method PUT is not allowed for the URL /tincan/statements.
    anyone know how to fix this? Thanks so much!

    It means your proxy-server doesn't allow HTTPS tunneling. Have you looked at the "Allow" header in the response? If the proxy is coded correctly, it's supposed to contain ways you can reach the requested resource in ways the proxy will allow.
    Some proxies don't allow HTTPS tunneling because they want to be able to log the traffic contents. Perhaps this is one of them.
    Grant

  • 405 Method Not Allowed error from images directory

    Some background: I'm implementing fusioncharts in APEX and the commercial version comes with an Save as Image capability. When the user wants to save the chart as an image, an aspx file is called which calls a POST method to the directory where the aspx file is located.
    I store the aspx and its dependent files in a subfolder in the images directory and reference it using http://myserver/i/imagesaving/FusionChartsSave.aspx. Then when I try to save, I get 405 Method Not Allowed: 'the requested method POST is not allowed for the URL /i/imagesaving/FusionChartsSave.aspx.'
    The aspx functions work for sure because I am able to successfully save to image when I put the files in IIS and reference the url to the aspx file that way.
    My main concern is trying to keep all the files in the APEX environment which is Apache. Is there a place where I can perform the POST or configure apache to a directory that allows POST?
    thanks!

    Hi,
    I am facing the same error, patch upgraded from 12 to 18.
    URL iview was working on patch 12 , but after upgrade , one particular URL iview is not working.
    Preview works fine, if I paste the URL in a new window it workf fine,
    but when I try to access as an end user , the following error is faced
    "HTTP Error 405 - The HTTP verb used to access this page is not allowed.
    Internet Information Services (IIS)".
    I have tried to use "Open in new Window" property, but it dint help.
    Can anybody suggest.??
    Thanks in anticipation,
    Juhi

  • "Method Not Allowed" encountered when submitting

    Hi! all
    i've written a front-end screen for logging-on to application where i tried to perform verification through jsp at "OSMS_Login.jsp". The following is the html:
    <FORM ACTION=OSMS_Login.jsp METHOD=POST>
    <H3 ALIGN=center><BR>
    <TABLE cellSpacing=2 cellPadding=2 width=250
    bgColor=#408080 border=2>
    <TBODY>
    <TR>
    <TD><FONT face=tahoma color=#ffffff size=3><B>
    <DIV align=center>User ID</DIV></B>
    </FONT></TD>
    <TD><INPUT TYPE=text NAME="UserID"></TD>
    </TR>
    <TR>
    <TD><FONT face=tahoma color=#ffffff size=3><B>
    <DIV align=center>P assword</DIV></B>
    </FONT></TD><BR>
    <TD><INPUT TYPE=char NAME=Password> </TD>
    </TR>
    </TBODY>
    </TABLE>
    <INPUT TYPE=SUBMIT VALUE="Submit">
    But instead of the "succesful" logon i have the followig error msge:
    " Method Not Allowed
    The requested method POST is not allowed for the
    URL /OSMS_login.jsp.
    Apache/1.3.22 Server at 127.0.0.1 Port 8000 "
    Any help would be most appreciated.
    Also, any idea how to mask the password keyed-in?
    callansan

    hi all again,
    would like to express my thanks to all who have provided me suggestion earlier on
    java script may be a problem as i need to verify user id and password. that was how i stumbled on jsp.
    however, tried the mask and it works. put back the </FORM>, i don't get the "method not allowed" message anymore but my jsp is not verifying the input. for my first attempt i tried to make it simple and it still doesn't work, the following is my jsp verification source enclosed in <BODY>:
    <%! final static int MIN_PWD_LEN = 6;
    boolean verifyPasswordLength (String password)
    // verifies that password is at least 6 characters in
    length
    if (password.length() < MIN_PWD_LEN)
         return false;
         return true;
    boolean verifyPasswordHasDigit (String password)     // verifies that password is not '0' in length
         for (int i=0;i<password.length();i++)
         if (Character.isDigit(password.charAt(i)))
         return true;
         return false;
    boolean verifyPasswordPolicy(String password)
         if (verifyPasswordLength(password) &&
         verifyPasswordHasDigit(password))
         return true;
         return false;
    %>
    <% String password = request.getParameter
    ("Password");
    if (verifyPasswordPolicy(password))
    %>
    You have logged-in succesfully<P>
    <% } else {
    %>
    Log-in attempt failed.<P>
    Check to ensure that your <P>
    User ID and Password have been correctly
    keyed-in.<P>
    Please try again.     
    <% } %>
    The next screen comes up but with all the above set messages. the if..else didn't seem to work.
    regards
    callansan

  • HTTP 405 - Method not allowed error

    Hi experts,
    we are facing HTTP 405 error in document search functionality.  The search is working fine but when we are trying to open the the document it shows 405 error that Method not allowed... Could any tell me the solution..?
    With Regards,
    Murugan Arumugam.
    Hi All could any tell me the reason for above question?
    Edited by: Murugan Arumugam on May 29, 2008 3:28 PM

    Hi,
    I am facing the same error, patch upgraded from 12 to 18.
    URL iview was working on patch 12 , but after upgrade , one particular URL iview is not working.
    Preview works fine, if I paste the URL in a new window it workf fine,
    but when I try to access as an end user , the following error is faced
    "HTTP Error 405 - The HTTP verb used to access this page is not allowed.
    Internet Information Services (IIS)".
    I have tried to use "Open in new Window" property, but it dint help.
    Can anybody suggest.??
    Thanks in anticipation,
    Juhi

  • Error while Releasing Requests in Development Server

    Dear all,
                 While I am releasing request in development server, i m getting following error message, so i could not able to release request.
    Message : Test Call of transport control program (tp) ended with return code 0208.
               pls , give any good suggestion.
    Thanks & Regards,
    Sandip Sonar.

    Hi,
    This is purely basis issue, you have nothing to do with it.
    Forward the same screen shot to your basis people,they will take care.
    This happens when some problem in transport layer between servers.

  • Always got this error "405 Method Not Allowed"

    Hi,
    I have create the mobile service with .NET backend and I always got "405 Method Not Allowed" error. Someone told me that I need to give table permission but there is no table in db.
    There is no Data and API tab in dashboard in my mobile service.
    I got this error message in fiddler -: message=The requested resource does not support http method 'OPTIONS'.
    Regards,
    Alex

    Azure Mobile Services doesn't support the 'OPTIONS' method.
    See here for reference:
    http://azure.microsoft.com/en-us/documentation/articles/mobile-services-how-to-use-server-scripts/#handle-methods
    You say there is no data or api tab in your dashboard? Like these two are missing?
    If so, would you email chrande 'at' microsoft.com with your app name? I'll look to see if there is any issues on our end.
    -Chris

  • Database Connection: Http Error 405 Method Not Allowed

    Hi,
    I am new to this forum, but I am having an issue I hope you can help with.  I have a database on my MS SQL Server 2008.  I am trying to access it with my DW8 page, and while I can code a connection successfully, I can't use the Database or Bindings Tab in DW.  I can successfully get the database to show if I "Build..." the connection (Test Connection works.)  However, if I click ok, the database shows up in my tab, but under Tables... (none)!  Also, if I hit Test button on the OLE Db Connection window, I get Http Error 405 Method Not Allowed.  If I use the SQL Server Connection Option, I get the same result.
    I have scoured Google for an answer.  There are a lot of links to questions, but no answers.  There was apparently an answer on adobe.com, but the link is broken: http://www.macromedia.com/support/dreamweaver/ts/documents/err405.htm.   Any suggestions would be greatly appreciated.
    Have a great Day!
    RobF

    Thank you SnakEyez02.
    I had the Testing Server set to Local/Network but didn't have MySQL installed locally.  Changed that setting to FTP and it picked up on the database correctly.
    When using MSSQL it doesn't matter whether you choose Local/Network or FTP it just picks up the online database regardless.  I guess this must just be a difference between it and MySQL.
    Thanks for the advice.  Much appreciated.
    NJ

  • POST to SharePoint Online REST API - 405 Method Not Allowed

    Good afternoon,
    I am writing C# with the intention of uploading a file to a document library using the REST API.
    The code must run on an on-premise machine and the target SharePoint site is in SharePoint Online (Office 365 E-plan).  It has to handle large files, so CSOM is not an option.
    I have successfully tested a few different "get" messages, so I believe the authentication part is working.  However, so far I have no such luck with POST.
    In fiddler, my most recent attempt looks like this (I redacted the parts in <> because I'm not sure if they are sensitive somehow):
    POST http://org.sharepoint.com/sites/site/_api/web/GetFolderByServerRelativeUrl('Documents')/Files/add(url='test2.txt',overwrite=true) HTTP/1.1
    Accept: application/json;odata=verbose
    X-RequestDigest: <digest value>,15 Jan 2014 17:48:49 -0000
    BinaryStringRequestBody: true
    Host: org.sharepoint.com
    Content-Length: 6
    Expect: 100-continue
    stuff!
    Seems like it should work, but the result is "301 Moved Permanently."  This request is immediately followed by this one: 
    GET https://org.sharepoint.com/sites/site/_api/web/GetFolderByServerRelativeUrl('Documents')/Files/add(url='test2.txt',overwrite=true) HTTP/1.1
    Accept: application/json;odata=verbose
    X-RequestDigest: <formdigest>,15 Jan 2014 18:01:51 -0000
    BinaryStringRequestBody: true
    Host: org.sharepoint.com
    Cookie: FedAuth=<cookiestuff>; rtFA=<cookiestuff>
    Response:
    HTTP/1.1 405 Method Not Allowed
    Cache-Control: private, max-age=0
    Transfer-Encoding: chunked
    Content-Type: application/json;odata=verbose;charset=utf-8
    Expires: Tue, 31 Dec 2013 18:01:52 GMT
    Last-Modified: Wed, 15 Jan 2014 18:01:52 GMT
    Server: Microsoft-IIS/7.5
    X-SharePointHealthScore: 0
    X-SP-SERVERSTATE: ReadOnly=0
    SPClientServiceRequestDuration: 25
    X-AspNet-Version: 4.0.30319
    SPRequestGuid: dd936a9c-f4fc-a05d-27e1-2c948f0eb575
    request-id: dd936a9c-f4fc-a05d-27e1-2c948f0eb575
    X-FRAME-OPTIONS: SAMEORIGIN
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 16.0.0.2308
    X-Content-Type-Options: nosniff
    X-MS-InvokeApp: 1; RequireReadOnly
    P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
    Date: Wed, 15 Jan 2014 18:01:51 GMT
    128
    {"error":{"code":"-1, Microsoft.SharePoint.Client.ClientServiceException","message":{"lang":"en-US","value":"The HTTP method 'GET' cannot be used to access the resource 'Add'. The operation type of the resource is specified as 'Default'. Please use correct HTTP method to invoke the resource."}}}
    0
    So it looks to me as if my request is being redirected to the same address but with a "GET" method rather than "POST," resulting in the 405 Method Not Allowed error because "add" needs POST.
    I appreciate any insight you can offer.

    Mkay, perhaps I should rephrase:  
    I want to synchronize a SharePoint Online library with a local file share.  There are a large quantity of files, and many of them are large (actually it's all too large to fit in one SharePoint Online site collection due to the 100gb limit, but I'll
    deal with that separately).
    The approach I was working on here was to create a C# method basically like this:  UploadFile(File, Destination, username, password).  I would use this method in the script component of an SSIS package which would run on a server and push the files
    up to SPO, but right now I'm just testing it as a console application.
    I got the CSOM methods working, but obviously that won't work because the files are too large.  Above is what's happening with the REST version.
    Can anyone see what's wrong with my REST calls - why is it being redirected as a GET request?  Is this even possible?

  • Tutorial - Web Services - 405 Method Not Allowed

    Hi,
    I am going thru the tutorial "Building and Using Web Services with JDeveloper" from Oracle JDeveloper 11g Release 2 (11.1.2.0.0) Tutorials. I am using Studio Edition Version 11.1.2.1.0. At the end of the first section on POJO Annotation-Driven Service when I press the "Send Request" button, nothing comes back or is displayed. The HTTP Analyzer shows "405 Method Not Allowed" for every HEAD request. GET and POST are fine. I don't get a response and the logs don't show any errors.
    Does anyone know what is causing the 405 error?
    Thanks.

    Hi Frank,
    I have not written any code. I am following the JDeveloper Tutorial step-by-step. The tutorial is called "Building and Using Web Services with JDeveloper", "Part 1: Building a POJO Annotation-Driven Service ". Near the end of the tutorial, you are instructed to run "Test Web Service" from the menu on MyCompany.java. When JDeveloper runs the test, a new tab opens with the HTTP Analyzer. You are then instructed to enter a '20' as arg(0) in the parameters section of the HTTP request header panel and press the 'Send Request' button. After pressing the button, JDeveloper starts the integrated server and issues the request. The right hand side of the analyzer tab shows the results of the test as HTTP Response Headers. The tutorial shows data from getDeptInfo(int id). The result on my screen shows nothing - blank.
    In the logs frame at the bottom, there is a tab that shows the output logs of the HTTP Analyzer. It shows that 15 calls were made: 6 GET methods, 8 HEAD methods and 1 POST method. The status of each call is '200 OK' except for the HEAD method calls which show '405 Method Not Allowed'.
    The tutorial is at [http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_52/jdtut_11r2_52_1.html] I wonder if maybe there is a parameter in the integrated Weblogic server that prevents the method call because of policy or security settings.
    If you have any ideas, please let me know.
    Thanks, Rick

  • Coding not allowed error in BDC

    Hi,
    Recorded transaction MB1C with "Not a Batch Input Session' option. In the code should I mention this anywhere. Because, I get coding not allowed error while running BDC program.
    Please go thru the code below:
    perform bdc_dynpro      using 'SAPMM07M' '0400'.
          perform bdc_field       using 'BDC_CURSOR  'MKPF-BKTXT'.
          perform bdc_field       using 'BDC_OKCODE' '/00'.
          perform bdc_field       using 'MKPF-BLDAT'  W_HDR-BLDAT.
          perform bdc_field       using 'MKPF-BUDAT'  W_HDR-BUDAT.
          perform bdc_field       using 'MKPF-BKTXT'   W_HDR-BKTXT.
          perform bdc_field       using 'RM07M-BWARTWA'   W_HDR-BWARTWA.
          perform bdc_field       using 'RM07M-WERKS'  W_HDR-WERKS.
          perform bdc_field       using 'RM07M-LGORT'   W_HDR-LGORT.
          perform bdc_field       using 'RM07M-WVERS2'   W_HDR-WVERS2.
          LOOP AT T_MAT INTO W_MAT.
              i = i + 1.
              IF i > 99.
                MOVE i to k.
                CONCATENATE 'MSEG-MATNR(' k ')' INTO l_field1.
                CONCATENATE 'MSEG-ERFMG(' k ')' INTO l_field2.
              ELSE.
                MOVE i to j.
                CONCATENATE 'MSEG-MATNR(' j ')' INTO l_field1.
                CONCATENATE 'MSEG-ERFMG(' j ')' INTO l_field2.
              ENDIF.
              perform bdc_dynpro      using 'SAPMM07M' '0421'.
              perform bdc_field       using 'BDC_CURSOR'
                                            l_field2.
              perform bdc_field       using 'BDC_OKCODE'
                                            '/00'.
              perform bdc_field       using l_field1
                                            W_MAT-MATNR.
              perform bdc_field       using l_field2
                                            W_MAT-ERFMG.
              l_field1 = ''.
              l_field2 = ''.
          ENDLOOP.
          perform bdc_dynpro      using 'SAPMM07M' '0421'.
          perform bdc_field       using 'BDC_CURSOR'
                                        'MSEG-ERFMG(01)'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=BU'.
          perform bdc_transaction using 'MB1C'.
      ENDLOOP.
    Regards,
    Sriram
    Edited by: Sriram_14880 on Jul 28, 2009 2:53 PM

    Hi  there is no problem weather u r using option  'Not a Batch Input Session'  or not , generally it is used in call transaction
    see the documentation of call transaction options (ctu_params).
    structure of ctu_params is
    DISMODE
    UPMODE
    CATTMODE
    DEFSIZE
    RACOMMIT
    NOBINPT      ( Selection for the symbol field sy-binpt. Values: " " (sy-binpt contains in the called transaction "X"),
                         "X" (sy-binpt          contains in the called transaction " ").
    NOBIEND     Selection for the system field sy-binpt. Values: " " (sy-binpt contains "X" after the end of the batch input
                        data in   the  called transsaction ) "X" (sy-binpt contains " " after the end of the batch input data in the called   transaction).
    In the  new recordinng screen u will have four options ctu_params.
                              default size
                             cntinue after commit
                             Not a Batch Input Session
                            simulate back......
    The above four options u can set manually in call transaction from ctu_params
    not a batch input session option  refers to ctu_params-NOBINPT.
    read the documentation of call transaction statement.
    Ram

  • Setup resource template - getting 405 method not allowed

    I'm attempting to migrate an app that ran under the old mod_plsql and 10g. Looking at 11g we've been testing out the apex listener on glassfish. However, we have methods that run from a client that uses post methods to send files (XML) to an oracle Pl/Sql procedure. The procedure grabs the blob out of a table that was configured in the mod_plsql for that location. Ideally - we'd use a web service, but don't have time to migrate everything yet. In order to get it running, we looked at the example of creating a resource template to handle these methods. We've got some Pl/Sql code to insert this into the original table and call the method. However - it's not working. The client is getting a 405 method not allowed error. That's it. There's a few lines in the server.log for the version and the driver - but no error messages. How does one debug this? What is generating the 405 error? Glassfish? If so, what logs tell you what the issue is? If it's apex listener, is there logs that can tell me where to find what the issue is calling the resource? Right now - considering installing the http server for oracle on this and just not using apex listener until we can migrate the code. It might be an easier migration to our new server. I'm hoping it's something simple...

    There a number of standard verbs defined in HTTP:
    GET- Retrieve a resource
    POST- Submit new resource
    PUT - update resource
    DELETE - delete resource
    When you enter a URL in a web browser it always uses the GET method, the method to retrieve the resource.
    In your example Firefox is attempting to a do a GET on https://apex.oracle.com/pls/apex/orange/TestPOST
    but you have not defined a GET handler for this resource, only a POST handler. ORDS then tells you that the GET method is not supported on the resource, which is the correct behaviour.
    If you want to test the POST method from within a browser then you need to use JavaScript and perform an XMLHttpRequest and configure it to use the 'POST' method, for an example see the ORDS Developer guide:
    REST Data Services Developers Guide

Maybe you are looking for

  • JVM CompilerThread Crash on compiler thread, jdk 1.4.2_15

    Hi, One of our customer's is seeing intermittent JVM crashes running weblogic 8.1SP6 app server on JDK 1.4.2_15, i.e. every three weeks or so. It crashes during executing of the compilerthread on some code in a jsp page. I've included a sample "hs_pi

  • Problem in production environment

    Hi, Using Designer and Headstart to generating forms! I have an application that runs on Client/server, I am using a template and .pll, .plx and .olb. and the application runs good! For installing the same application on another environment, I have c

  • Hp P2015d can't print after upgraded to 10.5

    i can't use my network printer after upgrade to 10.5 from 10.4, anyone can help?? printer is P2015d

  • [Solved] pm-hibernate shuts down, actually

    Hi, I don't use hibernation too much but I'm pretty sure to have set up it correctly and tested it when I first installed Arch on this Acer Aspire 5920 laptop. Today I tried to hibernate my laptop with pm-hibernate and after powering it up again I no

  • Hierarchical sql-how to get only branches with at least one not null leaves

    On 10gR2 we want below hierarchical query to return only the branches which at least have one not NULL leaf ; -- drop table corporate_slaves purge ; create table corporate_slaves ( slave_id integer primary key, supervisor_id references corporate_slav