Mail changes HTTP POST to HTTP GET in HTML attachments?

Has anyone else noticed this? I'm using an encrypted e-mail system from Voltage Security (www.voltage.com) and my co-workers swear it used to work on the iPhone prior to iPhone 2.0 firmware.
The way the system works is that it sends encrypted content as an HTML attachment. The recipient opens the attachment, clicks the button, and the browser will then POST the encrypted content back to the server so that the server can decrypt it and display it as output back to the browser.
The problem is that the iPhone mail application appears to be mangling the attachment and changing the SUBMIT type on the HTML FORM from POST to GET. This totally breaks the system since the server is not expecting a GET and of course, it doesn't have the information necessary.
There doesn't appear to be a setting to disable this behavior. Is anyone aware of a work-around to prevent Mail on the iPhone from mangling the attachments in this way? Mail on OS X does not behave the same way. The attachment is left in tact on OS X and properly POSTs through the browser (at least when using Firefox as the default browser).

Yes, but it does not work.
jserv.log:
(ERROR) ajp12: Servlet Error: POST is not supported by this URL
-->
</HEAD>
<TITLE>Auto Login</TITLE>
<H3>Form Test</H3>
</HEAD>
<BODY>
<FORM NAME="myForm" METHOD="POST" ACTION="/servlet/f60servlet?config=mytest">
<HR>
<P><PRE>
<BR> Call forms application
<BR></PRE>
<HR>
<INPUT TYPE=hidden NAME=userid VALUE="mylogin/mypass@mydbserver">
<INPUT TYPE=submit NAME=click VALUE=Submit>
</FORM>
</BODY>

Similar Messages

  • Applicatio​n using Http Post... getting error response

    Im from Ecuador, and me and other 4 people from the same country are getting this error response when a native java application is trying to make a http post to mydomain.com
    The requested URL could not be retrieved:
    While trying to process the request:
    POST /somedir/more?var1=abc&var2=xyz& HTTP/1.1
    Expect: 100-continue
    Host: mydomain.com
    Content-Length: 40
    Content-Type: text/plain; charset=utf-8
    Accept: */*
    Connection: close
    Invalid request. Some aspect of the HTTP Request is nivalid. Possible problems:
    Missing or unknwon request method
    Missing URL
    Missing HTTP Identifier (HTTP/1.0)
    Request is too large
    Content-Length missing for POST or PUT request
    Generated by Blackberry.Internet.Browsing.Service (squd/2.7.STABLE6)
    This issue is only happening in my country (Ecuador). I have some friends in Argentina and they have no problems at all. What are the posible causes for this problem?
    Message Edited by andufo on 07-09-2009 08:43 PM

    Hi again,
    im attaching all the info you request:
    What does the program actually do?
    Social network (because of the TOS of this forum im not allowed to post project names or urls)
    What is it trying to send when you submit a request?
    What url is it posting the information to? 
    Im attaching all this at the end of the post.
    Is it the 'exact' same application that works in other countries?
    Yeap, the exact same one...
    Is it supposed to be useing the Internet Browser?
    No, it is a native app. The Browser is not used at all.
    Are you on a BlackBerry Enterprise Server? 
    Im on BIS, all the users use BIS.
    Technical details:
    1) The app makes an Http Connection (POST) to:
    http://mydomain.com/api/call?param1=abc&param2=xyz
    2) This is the Http connection configuration:
    httpConnection = (HttpConnection) Connector.open(url);
    HttpConnection.POST;
    ("Content-Type", "text/plain; charset=utf-8");
    ("Host", 'mydomain.com');
    ("Content-Length", 100); //depends on sent data
    ("User-Agent", 'BlackBerry8300... etc');
    ("Expect", "100-continue");
    3) On every country it works fine... on my country i get this error:
    The requested URL could not be retrieved while trying to process the request:
    POST /app/llamada?param1=abc&param2=xyz& HTTP/1.1
    - Expect: 100-continue
    - Host: mydomain.com
    - Content-Length: 100
    - Content-Type: text/plain; charset=utf-8
    - Accept: */*
    - Connection: close
    Invalid request. Some aspect of the HTTP Request is invalid. Possible problems:
    - Missing or unknwon request method
    - Missing URL
    - Missing HTTP Identifier (HTTP/1.0)
    - Request is too large
    - Content-Length missing for POST or PUT request
    Generated by Blackberry.Internet.Browsing.Service (squid/2.7.STABLE6)

  • HTTP Post in HTTP adapter

    Hi,
    We are developing one interface in which sender Torex system sends message in "HTTP Post" format.
    In this sender application wants the url in following format.
    http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>&sap-password=<xxx>&qos=BE&ProductID=000000000000000216&uid=500014&deviceID=0725&StoreID=0004
    In above "HTTP Post" format data has been sent in url without body of message.
    I know the option in below blog.
    https://weblogs.sdn.sap.com/pub/wlg/13639
    But is there any other solution for this?
    xml payload for above message is as below.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:interface xmlns:ns0="namespace">
       <ProductID>000000000000000216</ProductID>
       <UID/>
       <DeviceID/>
       <StoreID>0004</StoreID>
    </ns0:ExternalStockLocator_Retail_REQ>
    Thanks
    Edited by: darshana-PI on Feb 10, 2012 9:37 PM

    Hello,
    http://server:port/sap/xi/adapter_plain?service=<xxx>&namespace=<xxx>&interface=<xxx>&sap-user=<xxx>&sap-password=<xxx>&qos=BE&ProductID=000000000000000216&uid=500014&deviceID=0725&StoreID=0004
    In above "HTTP Post" format data has been sent in url without body of message.
    Please remember that when creating a sender/receiver using the Plain HTTP Adapter, the following are automatically filled out
    Transport Protocol: HTTP 1.0, Message Protocol: XI Payload in HTTP Body. The transport protocol means that only HTTP 1.0 is supported and that for it to work, an HTTP Body is required.
    Hope this helps,
    Mark

  • Http post not returning getting the weather

    I want to use this code I got from here [http://exampledepot.com/egs/java.net/Post.html]
        try {
            // Construct data
            String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
            data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
            // Send data
            URL url = new URL("http://hostname:80/cgi");
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            while ((line = rd.readLine()) != null) {
                // Process line...
            wr.close();
            rd.close();
        } catch (Exception e) {
        }to submit a zip code to this site [http://weather.yahoo.com/] . Where did i go wrong in my code?
    import java.util.*;
    import java.io.*;
    import java.net.*;
    public class Weather {
      public static void main(String[] args) throws Exception {
       //try {
            // Construct data
            String data = URLEncoder.encode("ptrigger2", "UTF-8") + "=" + URLEncoder.encode("10027", "UTF-8");
            // Send data
            URL url = new URL("http://weather.yahoo.com/search/weather2");
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            while ((line = rd.readLine()) != null) {
                System.out.println(line);
            wr.close();
            rd.close();
        //} catch (Exception e) {
    }Edited by: moocow on Sep 19, 2008 2:38 AM

    Rebooted and it all came in !

  • POST through HTTPs

    Hi, I try to perform http POST using
    http://martin.nobilitas.com/java/cookies.html
    it works.
    However, when I try to perform POST using https, by using tips
    // Dynamically register the JSSE provider.
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    // Set this property to use Sun's reference implementation of the HTTPS protocol.
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    it won't work anyone. I get error
    Exception java.io.IOException: Server returned HTTP response code: 500 for URL: https://www.xyz.com/dologin.jsp
    any suggestion?
    thanks

    * Main.java
    * Created on April 15, 2007, 10:05 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package oskcookies;
    import java.net.*;
    import java.io.*;
    * @author yccheok
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
    /** Post a string to an URL and get the reply as a string. Returns an empty
    string if things didn't work out. */
        static public String getURLPostString(URL url, String body) {
            StringBuffer sb = new StringBuffer();
         // find the newline character(s) on the current system
            String newline = null;
            try {
                newline = System.getProperty("line.separator");
            } catch (Exception e) {
                newline = "\n";
            try {
             // URL must use the http protocol!
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                conn.setRequestMethod("POST");
                conn.setAllowUserInteraction(false); // you may not ask the user
                conn.setDoOutput(true); // we want to send things
                // the Content-type should be default, but we set it anyway
                conn.setRequestProperty( "Content-type", "application/x-www-form-urlencoded" );
                // the content-length should not be necessary, but we're cautious
                conn.setRequestProperty( "Content-length", Integer.toString(body.length()));
                // get the output stream to POST our form data
                OutputStream rawOutStream = conn.getOutputStream();
                PrintWriter pw = new PrintWriter(rawOutStream);
                pw.print(body); // here we "send" our body!
                pw.flush();
                pw.close();
                // get the input stream for reading the reply
                // IMPORTANT! Your body will not get transmitted if you get the
                // InputStream before completely writing out your output first!
                InputStream  rawInStream = conn.getInputStream();
                // get response
                BufferedReader rdr = new BufferedReader(new InputStreamReader(rawInStream));
                String line;
                while ((line = rdr.readLine()) != null) {
                    sb.append(line);
                    sb.append(newline);
                return sb.toString();
            } catch (Exception e) {
             System.out.println("Exception "+e.toString());
             e.printStackTrace();
            return ""; // an exception occurred
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            try {
                // Dynamically register the JSSE provider.
                java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                // Set this property to use Sun's reference implementation of the HTTPS protocol.
                System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
                URL url = new java.net.URL("https://www.abc.com/dologin.jsp");
                String txtUserName = "txtUserName="+URLEncoder.encode("username");
                String txtPassword = "txtPassword="+URLEncoder.encode("name");
                String _continue = "continue="+URLEncoder.encode("/quotes.jsp");
                String sessionError = "sessionError="+URLEncoder.encode("0");
                String body = txtUserName + "&" + txtPassword + "&" + _continue + "&" + sessionError;
                /* https://www.abc.com/dologin.jsp?txtUserName=username&txtPassword=password&continue=%2Fquotes.jsp&sessionError=0 */
                System.out.println(getURLPostString(url, body));
            catch(java.net.MalformedURLException exp) {
                exp.printStackTrace();
    }please take note that, when i directly enter this URL in my web browser (https://www.abc.com/dologin.jsp?txtUserName=username&txtPassword=password&continue=%2Fquotes.jsp&sessionError=0), the page can be login successful.
    However, if I execute the above code, I get the following error:
    Exception java.io.IOException: Server returned HTTP response code: 500 for URL: https://www.abc.com/dologin.jsp

  • HTTP POST binding not available in 11g???

    Hi,
    I am trying to call a HTTP service using HTTP POST, passing HTTP params to it. I created a small bpel process in 10.1.3.4, and used the HTTP POST samples, which worked out really well.
    However target platform is 11g. So I just tried to migrate the project and got the following warnings.
    WARNUNG: UPGBPEL-02043: The WSDL used for "HTTPPostParam" has HTTP based binding definition for the porttype specified. SOA Suite 11g does not support this and hence upgrade will not carry this over to the generated composite. Compilation will fail if the composite reference is not setup with binding. After upgrade, setup the reference by specifying a WSDL with SOAP binding. Check SOA Upgrade guide for more information.
    WARNUNG: UPGBPEL-02009: No Binding setup for : "HTTPPostParam". This will cause compilation of the upgraded project to fail. Check SOA Upgrade documentation on manual steps necessary to bind this composite reference. If necessary, upgrade and deploy any dependencies. If planning to retain 1013x nodes in this projects dependency tree, check earlier part of this log for 1013x WSDL URLs that can be used.
    Does this really tell me that HTTP post or get is not available anymore? Or do I miss anything? Or is there a workaround?
    Thanks and regards,
    Thomas
    PS: This is my POSTParam WSDL, which is not yet complete, but working on 10.1.3.4
    <?xml version="1.0" encoding="utf-8"?>
    <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://http.oracle.com/postParam"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    targetNamespace="http://http.oracle.com/postParam"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:get="http://xmlns.oracle.com/HttpClientBPELProcess">
    <types>
    <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema">
    <xsd:import schemaLocation="HttpClientBPELProcess.xsd"
    namespace="http://xmlns.oracle.com/HttpClientBPELProcess"/>
    </xsd:schema>
    <!--
    <xsd:schema elementFormDefault="qualified"
    targetNamespace="http://http.oracle.com/postParam">
    <xsd:element name="param" nillable="true" type="xsd:string"/>
    </xsd:schema>
    -->
    </types>
    <message name="HttpPostParamIn">
    <part name="HighwayEndpointId" type="xsd:string"/>
    <part name="HighwayMessageId" type="xsd:string"/>
    <part name="HighwayMessage" type="xsd:string"/>
    <part name="Synchronous" type="xsd:string"/>
    <part name="DISABLE_MESSAGEINPUT_ECHO" type="xsd:string"/>
    </message>
    <message name="HttpPostParamOut">
    <part name="Body" element="get:Request"/>
    </message>
    <portType name="HttpPostParamPortType">
    <operation name="PostData">
    <input message="tns:HttpPostParamIn"/>
    <output message="tns:HttpPostParamOut"/>
    </operation>
    </portType>
    <binding name="HttpPostParamBinding" type="tns:HttpPostParamPortType">
    <http:binding verb="POST"/>
    <operation name="PostData">
    <http:operation location="/highway/http/SubmitMessage"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    <!--
    <mime:content type="text" part="param1"/>
    <mime:content type="text" part="param2"/>
    -->
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="PostParamService">
    <port name="HttpPostParamPort" binding="tns:HttpPostParamBinding">
    <http:address location="http://itrax03.wlgore.com:8080"/>
    </port>
    </service>
    <plnk:partnerLinkType name="PostParamService">
    <plnk:role name="PostParamServiceProvider">
    <plnk:portType name="tns:HttpPostParamPortType"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

    The sample that heidi posted above is basically the codebase to the http binding we are planning to ship with Patchset 2. It's based on Jax-WS' http binding.
    Let me know if you run into any issues (the source is included - so you can play around :) - no license )

  • Connect by HTTP-Post

    Hi,
    am i correct if i think that it is not possible to connect to rwservlet via http-post, only http-get.
    And that is the reason i get REP-56048 when i try it?
    Thanks.
    Regards
    Chris

    Hi,
    thanks for this suggestion. It put my on the right way, because i examined the http-request, sended by the form with paramform=yes.
    In my case a report is called with paramters which executes a sql-query on a database.
    For this a key is configured in cgicmd, that holds the DB-connection data and takes the other parameters from the url-parameters.
    Calling a report per HTTP-Post that doesnt need a database connection was easy, since it didnt need to use the cgicmd-key.
    But calling the cgicmd-key didnt work.
    The report enginge crashed:
    [2012/6/12 11:1:58:807] Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
         at com.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(IIOPConnection.java:438)
         at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:70)
    ): Interner Fehler org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
    [2012/6/12 11:1:58:807] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
    It turns out that for HTTP-Post not the same URL as for HTTP-GET can be used.
    In contrary to GET in case of POST the cgi-cmdkey must be passed in the additional paramter "hidden_run_parameters" to make the HTTP-POST to the cgicmd-key work:
    hidden_run_parameters=your_cgicmdkey
    It is not needed as the "first paramter" in the URL anymore. Perhaps that is due the fact, that there is no specific order on post parameters (is this true?, sounds correct ;-)
    However, i still have the feeling that this is a kind of undocumented hack, as since now, i didnt find any documentation on this.
    Has anyone had any expirences with this?
    Regards
    chris

  • HTTP Post WSDL in J2EE/HOME ?

    A customer created a BPEL process which has a partner-link defined for a WSDL located in the same directory as the project's bpel.xml file. The partner-link is to perform a http post using http binding. (basically the WSDL points to a deployed Servlet)
    When the process is initiated via the BPEL Console an error in the domain.log occurs stating that the WSDL cannot be found in j2ee/home.
    The customer can use "wsdlLocation" and "wsdlRuntimeLocation" in bpel.xml, to work past the error but why are we searching for the WSDL in j2ee/home ?
    The error:
    <summary>Failed to read wsdl. Error happened when reading wsdl at
    "HTTPPostService.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error
    reading file at: file:/D:/AS/ORA10122MID/j2ee/home/HTTPPostService.wsdl:
    D:\AS\ORA10122MID\j2ee\home\HTTPPostService.wsdl (The system cannot find the
    file specified)". Make sure wsdl exists at that URL and is valid. </summary>
    Thanks
    Michael.

    this sounds strange, and I never heard of it ..
    can you get us a step by step tutorial to see if our support can reproduce this ..
    which version are you using?
    thank you,

  • Starting workflow with HTTP-Post

    Hello,
    like I wrote in Starting workflow with HTTP-Post I have a problem with starting a workflow with a http-post:
    I have an installation of SAP ERP 2005 SR2 IDES on Win2003 SR2 SP2 and want to start a simple workflow with an external application. Therefor I created an elementary test-workflow and set the general task flag so everybody is allowed to start it. So far everything work fine as I start it manually.
    Now I want to start the workflow by an external application over a HTTP-Post as described in
    http://help.sap.com/saphelp_47x200/helpdata/EN/54/de9e3887d6174fe10000009b38f842/content.htm
    I configured the webserver (Customizing Web-Server) as follows:
    Service: WebFlow (Intranet)
    Address: http://192.168.0.216:8000/
    Path: SAP/BC/WORKFLOW_XML/?
    and sent a post via perl to http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004
    <?xml version="1.0" ?>
    <WfMessage Version="1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request ResponseRequired="No">
    <Key>http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004</Key>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance.Request StartImmediately="true">
    <ObserverKey>http://192.168.0.224</ObserverKey>
    </CreateProcessInstance.Request>
    </WfMessageBody>
    </WfMessage>
    The Web-Server returns
    C:\FH\SAP\perl-scripte>perl http-post.pl
    HTTP/1.1 200 OK
    Server: SAP Web Application Server (1.0;700)
    Content-Length: 0
    Content-Type: text/plain
    Client-Date: Sun, 01 Jun 2008 11:00:24 GMT
    Client-Peer: 192.168.0.216:8000
    Client-Response-Num: 1
    but it seems that nothing happens.
    I also tried to post the XML via html-form-field with the same result.
    Did I forgot something essential?

    Hello Daniel
    It's 6 years after you posted your question, but I found your post very useful and thought it would be worth updating for future reference.
    I've just managed to trigger a workflow via http.
    URL :
    http://server.domain:8000/sap/bc/workflow_xml?sap-client=110
    Java :
    URL obj = new URL(url);
    URLConnection con = (URLConnection) obj.openConnection();
    String userpass = "username:password";
    String basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes());
    con.setRequestProperty ("Authorization", basicAuth);
    con.setRequestProperty("Content-type", "text/xml");
    con.setDoOutput(true);
    DataOutputStream wr = new DataOutputStream(con.getOutputStream());
    wr.write( xml.getBytes("UTF-8") );
    wr.flush();
    wr.close();
    You can then read the response.
    I found that until I added the sap_client parameter I couldn't debug in CL_HTTP_WORKFLOW_XML->IF_HTTP_EXTENSION~HANDLE_REQUEST. Then I found that the content type has to be "text/xml".
    I set the xml variable (the data sent to ECC) to :
    <?xml version="1.0" ?>
    <WfMessage Version="SAP.1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request>
    <ResponseRequired>Yes</ResponseRequired>
    </Request>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <Operation>CreateProcessInstance</Operation>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <ContextData>
    <YOUR_CONTEXT_VARIABLE>x</YOUR_CONTEXT_VARIABLE>
    </ContextData>
    <StartImmediately>Yes</StartImmediately>
    </CreateProcessInstance>
    </WfMessageBody>
    </WfMessage>
    regards
    Steve

  • Http get to Http post

    Hello.
    Currently the Http receiver adapter is configured as HTTP get . We need to change it to HTTP Post and put the parameters in the URL in the body.
    Can someone please give an example on how to conevert a http get to http post. Is it a simple thing to do or does it need some java programming?
    Thanks for your help.
    Best Regards,
    Teresa

    Thanks Baskar. I am on SAP PI 7.1 Currently they have a HTTP_DESTINATION that is defined in SM59 and a Prolog. We want to change it to HTTP Post.
    Below is how it is configured currently -
    addressing type : HTTP Destination
    HTTP Destination : UPS_DESTINATION
    Content Type : application/x-www-form-urlencoded
    XML Code : UTF-8
    Prolog : arg1=
    Epilog = &action=generateUPSShippingLabel&format=xml
    How would I change above to HTTP post ?
    Teresa

  • Http.get and http.post is now what under utl_http?

    In previous source code sample(s), the statement http.get(url,response,content_type,proxyServer,proxyPort) doesn't exist in 9i. The sys.utl_http has get_Response but that doesn't take the same arguments. What is the utl_http call that would replace the http.get and http.post of 8i?

    In short, POST requests are for sending any amount of data directly over the connection without changing the URL, and GET requests are for getting limited amounts of information appended to the URL.
    POST requests cannot be bookmarked or emailed and do not change the Uniform Resource Locators (URL) of the response. GET requests can be bookmarked and emailed and add information to the URL of the response.

  • HTTP-Post/Get method of calling the query service allows us to build URL

    Hi,
    I am new to webservices.i have requirement that, using a HTTP-Post/Get method of calling the query service that allows us to build an URL and if we call that url it wil populate XML object.i need query LDAP server for getting users manager details ,in request query we wil pass user details.thanks in advance..

    check same issue in java forum and this link:
    http://jakarta.apache.org/commons/httpclient/methods/post.html

  • Http POST/GET Method + QueryStrings

    Hi,
    I am facing the following problem:
    I need to create an URL with a QueryString something like:
    http:///index.asp?var1=a&var2=b
    and then this needs to be sent via
    POSTmethod to the webserver! I wonder if this is possible at all, as a querystring is naturally a GET... 
    Otherwise when using GET, I get redirected to a login-page. I checked this with an html-page, which carries a corresponding form - this works with POST Method. I need to get the url or the source of the response page in webdynpro!
    is there a way to simulate the html-form?
    I think there are jars available, which can sent files to an url - I thought about sending an html-header, as the form-POSTMethod puts the form variables in the html-Header, when sending. Is this possible?
    Right now I am using the following classes:
    import org.apache.commons.httpclient.HttpClient;
    import org.apache.commons.httpclient.HttpException;
    import org.apache.commons.httpclient.methods.*;
    I am sending the URL via this:
         PostMethod post = new PostMethod(url.toExternalForm());
              post.setRequestHeader("Content-type", "text/html; charset=ISO-8859–1");
              HttpClient httpclient = new HttpClient();
              int iResultCode = httpclient.executeMethod(post);
              msgMgr.reportSuccess("iResultCode = " + iResultCode);
              byte[] yaResponse = post.getResponseBody();
              msgMgr.reportSuccess("Server response:"+new String(yaResponse));
              post.releaseConnection();
    does somebody know, if "url.toExternalForm()" creates something like a form, which then again can be sent via POST? right now i get redirected to a login-page. So it seems my postMethod is infact a GET...
    any ideas welcome,
    thanx matthias

    check same issue in java forum and this link:
    http://jakarta.apache.org/commons/httpclient/methods/post.html

  • How to invoke BPEL process via HTTP POST (or GET)

    Hi,
    I'd like to know how to invoke BPEL process via HTTP POST (or GET), is there anyway simple to do it?
    Thank you

    Look at my blog http://orasoa.blogspot.com search for plsql
    or use SoapUI.org
    or look in the Examples directory in the BPEL directory of the installation

  • View HTTP POST/GET request in CSS

    Hi Guys,
    i am facing an issue where my Appls is receiving more post request then what
    had been sent by the client.
    It was reported that Appls log 3 http post but client only submitted one request.
    To troubleshoot, does the CSS has the ablility to view HTTP POST/GET traces? Is there a history
    for such traces logged?
    Thanks

    You'll need a sniffer trace. Frontend and backend.
    The CSS does not have log for this info or ways to show you the HTTP requests.
    G.

Maybe you are looking for

  • Compatible Games for my Powerbook G4

    I FINALLY got my first real Mac the other day from ebay. It's the 15" 1.25GHz 2GB RAM, 80Gb HD. I've upgraded all the software, and I'm loving it! Now that I've got got at the essentials on it (iLife, iWork etc...) I was wondering if anyone could lis

  • SEGV in Event Handler

    Hello everybody, I'm trying to compile my client partition to improve performance on the client side. I'm using a 'Register' on several event handlers to register them into the main window loop. On interpreted version, every things work fine but in c

  • [WRT350N] NAT is Moderate, how can it be Open?

    For Halo 3 it seems that the NAT really should be open rather than Moderate or Strict. I've forwarded the ports asked by xbox live (88 UDP and 3074 TCP/UDP) and I've even tried adding it to the DMZ, but no joy. The NAT reports as "Moderate" when XBL

  • How does Verizon expects me to let my unlimited plan go if they are not offering anything remotely close to it?

    My husband and I stopped today at a Verizon store in Fort Myers, just to check out of curiosity the deals they were offering regarding the new Iphones (we have Iphones 4s) currently we still have our unlimited data plan; everything sounded interestin

  • I have a disc, but cannot find my serial number.

    PSE 11 does not appear in my registered products list at Adobe (though other Adobe programs I own do). I am trying to reinstall on a new computer. I have all elements of the packaging except, apparently, the disc sleeve. It's rather frustrating. Is t