Extracting Request Parameters from a POST.

A client is POSTING some request parameters as part of its POST request.
My servlet is getting this as part of the getInputStream.
The contents of the inputStream received is:
username=someUserName&password=somePassword
Now how do I extract this username and password which is in the Body
of the POST?
I am trying request.getParameter("username")
but am not getting the value of the username.
Can some please help me as to how to get the request parameters?
Attached is my servlet
public class DeviceLocation extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doPost(request,response);
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
System.out.println("Servlet up and running...");
InputStream requestInputStream = request.getInputStream();
InputStreamReader isr = new InputStreamReader(requestInputStream);
BufferedReader br = new BufferedReader(isr);
String line = "";
StringBuffer sb= new StringBuffer();
while ((line = br.readLine()) != null)
sb.append(line);
br.close();
System.out.println(sb.toString()); // display the input Stream
// Display all the Request Parameters
System.out.println("Request Method : " + request.getMethod());
System.out.println("Host : " + request.getHeader("Host"));
System.out.println("User Agent : " + request.getHeader("User-Agent"));
} // End of servlet class.

try doing it without reading in the requestInputStream first:
public class DeviceLocation extends HttpServlet {
private static final String CONTENT_TYPE = "text/html";
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doPost(request,response);
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
System.out.println("Servlet up and running...");
// Display all the Request Parameters
System.out.println("username Parameter : " + request.getParameter("username"));
System.out.println("Request Method : " + request.getMethod());
System.out.println("Host : " + request.getHeader("Host"));
System.out.println("User Agent : " + request.getHeader("User-Agent"));
} // End of servlet class.

Similar Messages

  • WHY? Request Parameters From Form are NULL

    I have the following process, which by the way has been working successfully for months, until just recently.
    1) User comes to JSP page to upload images through a form that has the <input type="file"> fields as well as <input type="hidden"> to hold a few essential values.
    2) User submits form, form action attribute set to go to a Servlet
    3) Servlet reads all request params and inserts the images into a database.
    I have code to read in the images...I use classes from the org.apache.commons package.
    I could only assume it was the servlet that was the problem, but doubted that because why would it work all these months than suddenly stop.
    I set up a test html page with a form and had it go to a jsp page to read the request params and print them out. To my suprise they all had NULL values.
    Which tells me that the params aren't being read from the form.
    How could this be??
    Here is some example code snippets from my test pages:
    HTML PAGE
    <html><body>
    <form name="images" action="testing_operations.jsp" enctype="multipart/form-data" method="post">
    <input type="hidden" name="Customer_Number" value="4750">
    <table>
    <tr><td>
    <input type="file" name="image1" />
    </td></tr>
    <tr><td>
    <input type="file" name="image2" />
    </td></tr>
    <tr><td>
    <input type="submit" value="submit">
    </td></tr>
    </table>
    </form>
    </body>
    </html>JSP PAGE
    String cus = request.getParameter("Customer_Number");
    out.println("cus : " + cus +"<br>");
    String image = request.getParameter("image1");
    out.println("image: " + image); 
    I'm stumped...what am I doing wrong?
    I can't continue until I get this figured out, can anybody help me with this?
    Message was edited by:
    Love2Java

    I ran my original app with the enctype and without it:
    the tomcat dos-prompt that shows exceptions lists out this below...
    org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed.
    C:\jakarta-tomcat\temp\upload_00000009.tmp (The system cannot find the path specified)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
    at org.apache.jsp.testing_operations_jsp._jspService(testing_operations_jsp.java:113)The code on line 113 in testing_operations.jsp is:
    List items = upload.parseRequest(request);
    and what is this .tmp file its trying to find?? I'm passing it an image off my local disk, not a .tmp file, there isn't even a temp folder in my jakarta-tomcat main folder....
    It is failing on this line because it isn't reading the request parameters sent in, thus why too when I test for the values of the params they return null.
    True, when I take out the enctype my test page will show the values, but this doesn't help me. I need that enctype attribute in there to process the images sent in through the fields.
    So where does this leave me??
    I went to the apache site for the commons upload and they have a more current version than what I'm using which is version 1.0, they have 1.1.1
    I downloaded the new version but had no success in using it, the compiler couldn't find a class I attempted to use.
    I still don't understand how this could be working and then suddenly stop.

  • Accessing Request Parameters from ActionRequest with form/multipart

    Hi,
    I have a weblogic producer portlet which has form enctype="multipart/form-data". Now although I have correctly set the action according to JSR 168 standards like:
    <form name="Checkin" method="POST" enctype="multipart/form-data"
    action='<abcportlet:createURI><abcportlet:URIAction value="active.document.doUpdate"/></abcportlet:createURI>'>
    but in my processAction method, I am not able to retrive the action parameter. Infact actionRequest's getParameter returned null.
    On further investigation, I found that this is occurring due to enctype and some solutions suggested to use commons file upload. I have used the commons upload and retrieve the parameters but am not able to retrieve the action parameters that is embedded in wsrp-interactionState.
    Is there any way of how I can get hold of the portlet action parameter?
    Thanks,
    Ansuman
    Edited by: anshuman.roy on Dec 11, 2008 10:18 AM

    Hello Ansuman,
    Unfortunately, you have found a bug in WLP's implementation of the JSR168 form decoding- there is no way for you to get the form parameters and the action parameters at the same time. We already have a fix for the next version of WLP- if you open a support case to get a patch issued, please refer to CL (not CR) 1169718. If you would like for me to open a change request for you, which might speed up the support process, please let me know what version of WLP you are using.
    Kevin

  • How to hide request parameters from URL

    Hi ,
    I do not want to have userId of the logged on user in the URL as the request parameter.What options do i have ?

    Then, I do not need to build the URL as below
    http://localhost:80/app/something?userId=123
    and the URL would like:
    http://localhost:80/app/something

  • Extracting parameters from URL for forms 6i

    Is there a way to get the portal logged in user
    in a 9ias forms 6i web form. Also if I pass user-defined
    parameters through a link to forms 6i is there a way
    I can extract these parameters from the URL and get
    forms 6i to read them?
    Any ideas will be greatly appreciated.
    Thanks,
    Suzanne

    Hi Suzanne,
    all that you need to do is parse the url string
    It is made up of:
    ?[Parameter Name]=[Parameter]
    &[Parameter Name]=[Parameter]
    &[Parameter Name]=[Parameter]
    &[Parameter Name]=[Parameter]
    I have some code that converts a url string into a form and then submits the form.
    you could use this as a base to work from.
    Regards Michael
    CREATE OR REPLACE PROCEDURE FORWARD_TO_URL_P (P_URL IN VARCHAR2) IS
         vParameter VARCHAR2(4000);
         vValue VARCHAR2(4000);
         vProcedure VARCHAR2(1000);
         vString VARCHAR2(4000);
         vLength NUMBER(10);
         vQ VARCHAR2(4) := '?';
         vE VARCHAR2(4) := '=';
         vA VARCHAR2(4) := '&';
    BEGIN
         htp.p('<HTML><HEAD><TITLE>ASP 3</TITLE>');
         htp.p('<META HTTP-EQUIV="PRAGMA" CONTENT="No-Cache"></HEAD><BODY bgcolor="#f1f1f1">');
         vString := p_url;
         IF INSTR(vString, vQ) > 0 THEN
              vProcedure := SUBSTR(vString, 1, INSTR(vString, vQ) - 1);
              vString := SUBSTR(vString, INSTR(vString, vQ) + vLength);
         ELSE
              vProcedure := vString;
         END IF;
         vQ := vA;
         htp.p('<FORM METHOD=POST action="' || vProcedure || '">');
         WHILE NVL(INSTR(vString, vE), 0) > 0 LOOP
              vParameter := SUBSTR(vString, 1, INSTR(vString, vE) - 1);
              vString := SUBSTR(vString, INSTR(vString, vE));
              IF INSTR(vString, vE) = INSTR(vString, vE, -1, 1) THEN
                   vValue := SUBSTR(vString,vLength+1);
                   vString := '';
              ELSE
                   vString := SUBSTR(vString,vLength+1);
                   vValue := SUBSTR(vString, 1, INSTR(vString, vQ) - 1);
                   vString := SUBSTR(vString, INSTR(vString, vQ) + vLength);
              END IF;
              htp.p('<INPUT TYPE=hidden name="' || vParameter || '" Value="' || vValue || '">');
         END LOOP;
         htp.p('</FORM>');
         htp.p('<SCRIPT>');
         htp.p('document.forms[0].submit();');
         htp.p('</SCRIPT>');
         htp.p('</BODY></HTML>');
    END;

  • Passing parameters from one OAF page to another OAF PAge

    Hello
    I was wondering, if there is a possibility of passing request parameters from one page to another page in EBS ( E-Business Suite).
    I tried using the following
    a) PageContext.putParamater ( "MyParamater", "ParamaterValue")
    b) I addded the above line of code by extending an page controller of the OAF page and personalized the page
    When I am trying to retrieve the value by getParameter() in the next page. I am also unable to get access to the parameter in the next page.
    I am trying the above code while trying to create expenses in I-Expense module...I would like to pass the ReportHeaderId from one page to another page for customization purposes. I Am not able to get ReportHeaderId in the ReviewPAge...There are no Business Objects in the Review page...hence trying the putParameter idea.
    Any help will be highly appreciated
    Thank You

    What is the source of the parameter? If the source is a VO, you can use the method I have specified in my previous post regarding updating the button properties. For example, you can include the param in the destination URL of the button as such:
    OA.jsp?page=/xyz/oracle/apps/.../myPG&retainAM=Y&addBreadCrumb=Y&myParam={@ParamSource}
    where ParamSource is an attribute from a VO.
    You can get this value via oapagecontext.getParameter()
    Can you please give details as to the source of your params (param-1, param-2, etc.). This will help in providing you suggestions.
    Regards,
    LC

  • Passing Request Parameters to Non JSF Page

    I want to pass request parameters from a JSF page (Page1.jsp) to a non JSF page (paramTest.jsp) and am having trouble.
    The parameters are 'null' in the non JSF page.
    Here is code (in Page1.java) that is called when 'button1' is clicked in Page1.jsp (modified from JSF, Bergsten p.167):
    public String button1_action() {
            FacesContext context = javax.faces.context.FacesContext.getCurrentInstance();
            ExternalContext ec = context.getExternalContext();
            try {
                ec.redirect("http://xxx/paramTest.jsp");
            } catch (Exception e) {
                // print exception information in the server log
                log("Exception occurred when redirecting page", e);
                error("Trouble redirecting page");
                return null;
            context.responseComplete();
            return "success";
        }Here is Page1.jsp code: <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
        <f:view>
            <html lang="en-US" xml:lang="en-US">
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>Page1 Title</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                    <h:form binding="#{Page1.form1}" id="form1">
                        <h:inputText binding="#{Page1.name}" id="name" style="left: 144px; top: 96px; position: absolute"/>
                        <h:outputLabel binding="#{Page1.componentLabel1}" for="componentLabel1" id="componentLabel1" style="left: 72px; top: 96px; position: absolute">
                            <h:outputText binding="#{Page1.componentLabel1Text}" id="componentLabel1Text" value="Name:"/>
                        </h:outputLabel>
                        <h:commandButton action="#{Page1.button1_action}" binding="#{Page1.button1}" id="button1" onclick="this.form.submit() style="left: 120px; top: 144px; position: absolute" value="Submit"/>
                        <h:messages binding="#{Page1.messageList1}" errorClass="errorMessage" fatalClass="fatalMessage" id="messageList1" infoClass="infoMessage"
                            showDetail="true" style="left: 480px; top: 72px; position: absolute" warnClass="warnMessage"/>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Here is the rendered Page1.jsp html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xml:lang="en-US" lang="en-US">
    <head>
    <meta http-equiv="Cache-Control" content="no-cache"/><meta http-equiv="Pragma" content="no-cache"/>
    <title>Page1 Title</title>
    <link type="text/css" rel="stylesheet" href="resources/stylesheet.css"/>
    </head>
    <body style="-rave-layout: grid">
    <form id="form1" method="post" action="/cenwkd/faces/Page1.jsp;jsessionid=79A5577F53DAAEDF164C5D33F33D8327" enctype="application/x-www-form-urlencoded">
    <input id="form1:name" type="text" name="form1:name" style="left: 120px; top: 96px; position: absolute" />
    <label id="form1:componentLabel1" for="form1:componentLabel1" style="left: 72px; top: 96px; position: absolute">
    <span id="form1:componentLabel1Text">Name:</span></label>
    <input id="form1:button1" type="submit" name="form1:button1" value="Submit" onclick="" style="left: 120px; top: 144px; position: absolute" />
    <input type="hidden" name="form1" value="form1" />
    </form>
    </body>
    </html> Here is the source for a test jsp, paramTest.jsp: <html>
    <head>
    <title>
    paramTest
    </title>
    </head>
    <body>
    <h2><%= request.getParameter("form1:name")%></h2>
    <%-- Also tried: request.getParameter("name"), "name" is the original 'id' value for the text field entered in Creator
         it apparently is changed to "form1:name" when the html is rendered--%>
    </body>
    </html>Here is the rendered html from paramTest.jsp: <html>
    <head>
    <title>
    paramTest
    </title>
    </head>
    <body>
    <h2>null</h2>
    </body>
    </html>Any help would be much appreciated.

    Hi,
    I dont see any parameters that you are trying to pass in the below code.
    public String button1_action() {
    FacesContext context = javax.faces.context.FacesContext.getCurrentInstance();
    ExternalContext ec = context.getExternalContext();
    try {
    ec.redirect("http://xxx/paramTest.jsp");
    } catch (Exception e) {
    // print exception information in the server log
    log("Exception occurred when redirecting page", e);
    error("Trouble redirecting page");
    return null;
    context.responseComplete();
    return "success";
    }

  • How to get HttpServletRequest parameters from two forms in a JSP

    I have this JSP with two forms calling the same servlet. Problem is, when I use a submit button in the second form, I am unable to retrieve the request parameters from the form through the servlet. I am wondering if anybody could give me some info on how to get the request parameters from the second form. I tried to see all the parameter names in the request by calling request.getParameterNames(). But the parameters in the second form are not even seen in the request although I am clicking the submit button in this form!

    First, two forms works fine in one jsp so no need to argue about that.
    Second, did you put the form actions and type ("multipart/formdata " ?) explicit in every form header ? Did you supply different form names ?
    Try to call the submit function through javascript - document.forms[0].submit() for your first, and document.forms[1].submit() for your second form...
    Did you forget to close the form tag by chance ?

  • Retriving only hidden parameters from request.getParameter

    Hi,
    I want to retrive only the hidden parameters from previous JSP page into current JSP page. The problem here is that my hidden parameters in privious page are dynamically generated (parameter names are decided based on values retrived from the database) and I cannot retrive them using "request.getParameter(<parametername>)"
    Can I find the parameter type (i.e. text box, text area, checkbox, radio or hidden) from the request.getParameter() or request.getParameterNames() methods? or is there any other way to find it.
    Thanks in advance for any help

    You can use the getParameterNames() or getParameterMap() methods from javax.servlet.ServletRequest to get all the parameters in the request. Even if they're dynamically generated, and you don't know the names in advance, these methods will ferret them out.
    getParameterMap() returns name String, values String [] pairs, so you'll have to work with String arrays to get the input out. It's got to be that way to accomodate checkboxes and other HTML form elements that can send more than one value for a given name.
    I prefer getParameterMap, because I don't like using Enumerations as much. - MOD

  • How to read parameters from request object

    We want to read parameters from GET request
    but whenever we are calling GET_URI_PARAMETER from the REQUEST we don't see any results
    url is like
    http://coevi116.wdf.sap.corp:8000/sap(bD1lbiZjPTEwMA==)/bc/bsp/sap/z_test_json/jsontest.htm?PARAM=ABC
    But reading PARAM is not givng value of ABC
    onCreate and onRequest wherever we put the code it is not reading the value
    Can anyone please help and share some expert opinion

    in jsontest.htm page create a page attribute named "PARAM" with auto check box checked and check in oninitialization, this will carry the value passed to param from url.

  • Getting parameters from multipart request

    I'm using org.apache.tomcat.utils.fileupload to parse uploaded files from a multipart form, but unfortunately I can't seem to get normal parameters from such a form with request.getParameter(). Is there a way to use both together?

    You might already have solved your problem, but you may find this MultipartFilter useful too: http://balusc.blogspot.com/2007/11/multipartfilter.html
    It automatically detects multipart/form-data requests and sets the plain vanilla form parameters back in the ParameterMap of the HttpServletRequest and sets the files as attributes of the HttpServletRequest. This way there is no need to worry about the form encoding type inside the servlet.

  • Initialize managed bean from request parameters

    Hi:
    I thought this topic would be on the FAQ, but I couldn't find it. I am looking for a mean to initialize my managed bean from the query string. There must be something like:
    <h:form initializeBean=""true"" requestParameter=""id_author"" beanProperty=""#{author.id_author}"" action=""#{author.getFromDB}"" >
    </form>
    The url would be something like http://localhost:8080/protoJSF/showAuthor.jsf?id_author=5334
    And the getFromDB method would be something like
      Public void getFromDB()
         Statement stmt = cn.createStatement( ?SELECT * from author where id_author=? + getId_author() );
         ResultSet rs = stmt.executeQuery();
      }The only way I've found to perform something like this is to present a blank author form with a ''load data'' button: after pressing the button the user can see author's data and edit the data if she wants to. This two-step data screening is annoying, to say the least.
    There must be a better way.
    I beg for a pointer on how can I achieve the initializing of a managed bean with dynamic data.
    Regards
    Alberto Gaona

    You just have to read carefully the very fun 289 pages
    specification :-)Or, if 289 pages of JavaServer Faces is too much, you can get almost all of the same information from the JavaServer Pages 2.0 specification, or even the JSP Standard Tag Libraries specification :-).
    More seriously, the standard set of "magic" variable names that JavaServer Faces recognizes is the same as that reognized by the EL implementations in JSP and JSTL. Specifically:
    * applicationScope - Map of servlet context attributes
    * cooke - Map of cookies in this request
    * facesContext - The FacesContext instance for this request
    * header - Map of HTTP headers (max one value per header name)
    * headerValues - Map of HTTP headers (String array of values per header name)
    * initParam - Map of context initialization parameters for this webapp
    * param - Map of request parameters (max one value per parameter name)
    * paramMap - Map of request parameters (String array of values per parameter name)
    * requestScope - Map of request attributes for this request
    * sessionScope - Map of session attributes for this request
    * view - The UIViewRoot component at the base of the component tree for this view
    If you use a simple name other than the ones on this list, JavaServer Faces will search through request attributes, session attributes, and servlet context (application) attributes. If not found, it will then try to use the managed bean facility to create and configure an appropriate bean, and give it back to you.
    For extra fun, you can even create your own VariableResolver that can define additional "magic" variable names known to your application, and delegate to the standard VariableResolver for anything else.
    Craig McClanahan

  • How do I extract the BODY of a POST request?

    How do I extract the BODY of a POST request?
    Is this possible?

    Yes, this is true but why is it that after I use
    request.getInputStream() then request.getParameterValues()
    stops working correctly?

  • Requesting help in extracting user comments from a forum ( HTML WEBSITE)

    hello experts,
    As i m new to java and i got this college project in hand which has to completed in few days i require some expert advise.
    Basically what my job is to extract all the user comments from a forum and make a text file.. for example this is one of the website http://www.gsmarena.com where user have posted many reviews and comments about mobile phones . ex : http://www.gsmarena.com/nokia_n97-reviews-2615p2.php .
    now looking at source code , all user comment are inside <P class="uopin"> tag under <DIV class="user-thread"> element.
    So i want to ask if there is any method in java that can extract all contents from class "uopin" directly ?
    i have no problem opening URL connection and reading the webpage but i m not able to extract that specific content . please enlighten me in this regard.
    Actually i m searching this forum since last 3 hours trying to find an answer and i found that i have to learn Regex , indexOf() subString() , HTMLEditorKit() etc.
    I ma planning to learn them in detail but as i have very less time ( 2 days to be specific) , i want help from you experts to solve this problem. plz guide me with some code snippets .
    Thankyou for your advises in advance :)

    ok.. sorry for asking that way.
    Here is my work till now....
    i wrote this code :
    import java.io.*;
    import java.io.Console;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.URL;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class MyRobot3
         public static void main(String[] args) throws IOException
              BufferedReader in = new BufferedReader(new FileReader("MyRobot3.txt"));
              String inputLine , nextLine,kutta;
            FileOutputStream out; // declare a file output object
            PrintStream p; // declare a print stream object
              out = new FileOutputStream("myfile3.txt");
              p = new PrintStream( out );
                 while ((inputLine = in.readLine()) != null)
                             Pattern p1 = Pattern.compile("(<p\\sclass=\"uopin\">)(.*$)" );          
                        //     Pattern p1 = Pattern.compile("(<p\\sclass=\"uopin\">)(.*$\r\n.*$)" , Pattern.MULTILINE | Pattern.UNIX_LINES);    //not working
                        //Pattern p1 = Pattern.compile("(<p\\sclass=\"uopin\">)(.*\\s)" , Pattern.MULTILINE );
                             Matcher m1 = p1.matcher(inputLine);
                             boolean found = false;
                             while (m1.find())
                             p.println(m1.group(2));
    }I am testing with a little file MyRobot3.txt which contains
    <p class="uopin">Although they didn't announce any winner here. But to me the winner is <br/>
    N900. Then opera is in second position. (overall averare result)</p>And i am getting output in a file : myfile3.txt
    Although they didn't announce any winner here. But to me the winner is <br/>which is just the first line , but i need to match that line break also. i m not able to figure it out .please help me fixing this code so that it can match all the text and remove the <br> tag ..

  • How to obtain POST request parameters

    Does anyone know how to obtain POST request parameters after form submit like we can get GET parameters after form submission via {module_url, parameterName}?

    "garry.b" <[email protected]> wrote in
    message
    news:gnndbf$i2q$[email protected]..
    > Hi,
    >
    > When using AS3 to generate an HTTP POST request:
    >
    > var service:HTTPService = new HTTPService ();
    > service.url = "
    http://localhost:9090/service";
    > service.method = "post";
    > // service.request = {itemId: "12345"};
    > service.send ({itemId: "12345"});
    >
    > my CherryPy web server complains about unexpected body
    parameters:
    >
    > HTTPError: (400, 'Unexpected body parameters: itemId')
    >
    > Using Firebug's Network display, its Post tab shows the
    following content:
    >
    > Referer:
    http://localhost:8080/log/log-1.0-SNAPSHOT.swf
    > Content-type: application/x-www-form-urlencoded
    > Content-length: 12
    >
    > itemId=12345
    >
    > which looks very strange to me as I would expect the
    Referer, etc.,
    > request
    > headers to show up in the Request Headers section and
    not as POST body
    > content.
    > While this could be some Firebug issue, I think the
    request message is
    > really
    > formatted incorrectly. When the web server gets the
    request, it does
    > recognize
    > 'itemId' as a body parameter but then complains that
    it's unexpected.
    >
    > I've googled the error message, studied HTTPService
    examples, spent
    > several
    > hours playing with it and am stumped. Tracy Spratt
    suggested setting the
    > service 'request' to force a POST and I tried it but am
    getting the same
    > error.
    > How do I make a POST request? Can I get POST data into
    the message body?
    > Stick with URL parameters only?
    What happens if you post to the same service using an html
    form?

Maybe you are looking for

  • Reg. Creation of table dynamically

    Hi Experts, While creating a table dynamically some of the fields in it_lvc_cat are Integer but the created table (new_table) contains all the fields as character. Is there any possibility of changing the datatype as interger for required fields.   C

  • Change attachment name using mail adapter

    Hi All, I have a problem changing the attachment name in my scenario. I use Mail scenario to send a pdf Attachment from R/3 to email address. Everything working fine except the attachment name that becoming untitled.pdf and untitled.txt. Communicatio

  • MAC address on boot.

    Since I installed my SATA HD my boot time has doubled because of Client Mac Address. Before when I started my computer it would go to the screen with the BIOS version and graphics, then the Corecell screen the it would go to the Network screen and fi

  • Using Data Reference As A Component In Dictionary Structure

    Dear Experts, As we all know, we can define a generically typed data reference by using the statement below: DATA ref_data  TYPE REF TO data Also, as we all know, we can create a structure in global dictionary with a component of type of reference to

  • How to fetch data for cash voucher

    Hi, I came to know that there is not direct connection to database tables. How to get the data for cash voucher? Thanks in advance,