Need help on HTTP AAE Sender channel PI 7.4

Hi Experts ,
My scenario is sender system will be sending .xml file using HTTP request to Middle ware (SAP PI )  . Receiver is ECC System  where IDOC is generated  . Its Async Scenario .
I have used HTTP AAE sender channel . Now need to some help on wheater to Select POST or GET Option to complete above requirement .
Please suggest few points which option to select
Regads,
Khan

Hi Aziz,
Please refer the below blog for details and you can use the post method.
HTTP Test Tool for SAP PI 7.3
PI 7.30 HTTP Java Adapter Test Tools

Similar Messages

  • I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro

    Hi,  My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress  iss: http://lisbondreamwalk.li.funpic.org  This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
    Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */  send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13);  function fl_MouseClickHandler_13(event:MouseEvent):void {          if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "")      {           thankyou.text = "please fill out all fields";      }      else      {           // create a variable container           var allVars : URLVariables = new URLVariables();           allVars.name = thename.text;           allVars.email = theemail.text;           allVars.time = thetime.text;           allVars.persons = thepersons.text;           allVars.message = themessage.text;           //Send info to a URL           var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php");           mailAddress.data = allVars;           mailAddress.method = URLRequestMethod.POST;           sendToURL(mailAddress);            thankyou.text = "Thank YOU!";           thename.text = "";           theemail.text = "";           thetime.text = "";           thepersons.text = "";           themessage.text = "";      } }
    H

    Thank you Kglad, I am going to see if I can make it work. I will let you know!
    Date: Thu, 13 Oct 2011 08:55:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
        Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
        created by kglad in Action Script 3 - View the full discussion
    you missed part of the tutorial (or the tutorial is incomplete):  send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{     if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
    }}  var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Action Script 3 by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I need help why does i send to this friend there is a redbox + x

    i need help why does i send to this friend there is a redbox + x , but i send to other friend there is no problem. for anorid samung s3 phone

    Are you sure you have the right pin for your other friend? Try deleting the contact and re-adding them. Also, BBM has to be approved in the countries of both parties.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Need help on Self Hosting Using channel Factory

    Hello,
         Need Help.
         I am trying to self host WCF service using cutom Channel Factory class. but I am getting exception.
     The scenario is something like below this  : -
    I want to create the endpoint connection to WCF service. I want to achieve this  using custom channel factory(not using default channel factory API provided in .Net Framework).
    I have written one class and it is derived from channel factory and we are reading the service endpoints, behaviors, bindings from external configuration file added in the project.
    I am able to connect to server side service hosted on different machine using following sample code successfully.
    In the case of “self-hosting”  I am receiving following error : --
         "There was an error reading from the pipe: The pipe has been ended. (109, 0x6d)."
    Below is the code which I have written for self hosting WCF service using custom channel factory.
    // Method where I am calling CustomChannel Factory constructor
    internal void ProxyCall(string msgEndpointConfigurationName, string url)
                string appConfigDirName, extConfigFilePath;
                FileInfo configFileInfo = new FileInfo(appConfigName);
                appConfigDirName = configFileInfo.DirectoryName;
                extConfigFilePath = appConfigDirName + "\\" + extConfigFileName;
                this.messageEndpointConfigurationName = msgEndpointConfigurationName;
                if (string.IsNullOrEmpty(url))
                    this.messageFactory = new CustomChannelFactory<IServerOperationsMessage>(extConfigFilePath, this.messageEndpointConfigurationName);
                else
                   //EndpointAddress e = new EndpointAddress(url + ClientToServerOperations.ServiceAddress);
                   //this.messageFactory = new ChannelFactory<IServerOperationsMessage>(this.messageEndpointConfigurationName, e);
                   this.messageFactory = new CustomSelfHostingChannelFactory<IServerOperationsMessage>(extConfigFilePath, this.messageEndpointConfigurationName, url + ClientToServerOperations.ServiceAddress);
                   //this.messageFactory = new CustomSelfHostingChannelFactory<IServerOperationsMessage>(extConfigFilePath, this.messageEndpointConfigurationName, e);
       ClientMessageFormatterBehavior formatterBehavior = new ClientMessageFormatterBehavior();
       foreach (OperationDescription operation in this.messageFactory.Endpoint.Contract.Operations)
        if (!operation.Behaviors.Contains(typeof(ClientMessageFormatterBehavior)))
         operation.Behaviors.Add(formatterBehavior);
       this.messageFactory.Endpoint.Behaviors.Add(new MessageStatisticsBehavior());
       this.messageFactory.Open();
    // Custom Channel Factory Class
    internal class CustomSelfHostingChannelFactory<T> : ChannelFactory<T>
            /// Custom client channel. Allows to specify a different configuration file
            /// <typeparam name="T"></typeparam>
            private string configurationPath, selectedMsgEndPoint, uriAddress;
            public PPCCustomSelfHostingChannelFactory(string configurationPath, string selectedEndPoint, string uriAddress)
                : base(typeof(T))
                this.configurationPath = configurationPath;
                this.selectedMsgEndPoint = selectedEndPoint;
                this.uriAddress = uriAddress;
                EndpointAddress e = new EndpointAddress(this.uriAddress);
                base.InitializeEndpoint(selectedEndPoint,e);
            //As you can see, a call to the method InitialiazeEndpoint of the base class is required.
            //That method will automatically call to our CreateDescription method to configure the service endpoint.
            ///Loads the serviceEndpoint description from the specified configuration file
            protected override ServiceEndpoint CreateDescription()
                ServiceEndpoint serviceEndpoint = base.CreateDescription();
                return serviceEndpoint;
            private EndpointIdentity GetIdentity(IdentityElement element)
                EndpointIdentity identity = null;
                PropertyInformationCollection properties = element.ElementInformation.Properties;
                if (properties["userPrincipalName"].ValueOrigin != PropertyValueOrigin.Default)
                    return EndpointIdentity.CreateUpnIdentity(element.UserPrincipalName.Value);
                if (properties["servicePrincipalName"].ValueOrigin != PropertyValueOrigin.Default)
                    return EndpointIdentity.CreateSpnIdentity(element.ServicePrincipalName.Value);
                if (properties["dns"].ValueOrigin != PropertyValueOrigin.Default)
                    return EndpointIdentity.CreateDnsIdentity(element.Dns.Value);
                if (properties["rsa"].ValueOrigin != PropertyValueOrigin.Default)
                    return EndpointIdentity.CreateRsaIdentity(element.Rsa.Value);
                return identity;
            private Binding GetBinding(IBindingConfigurationElement configurationElement)
                if (configurationElement is CustomBindingElement) return new CustomBinding();
                else if (configurationElement is BasicHttpBindingElement) return new BasicHttpBinding();
                else if (configurationElement is NetMsmqBindingElement) return new NetMsmqBinding();
                else if (configurationElement is NetNamedPipeBindingElement) return new NetNamedPipeBinding();
                else if (configurationElement is NetPeerTcpBindingElement) return new NetPeerTcpBinding();
                else if (configurationElement is NetTcpBindingElement) return new NetTcpBinding();
                else if (configurationElement is WSDualHttpBindingElement) return new WSDualHttpBinding();
                else if (configurationElement is WSHttpBindingElement) return new WSHttpBinding();
                else if (configurationElement is WSFederationHttpBindingElement) return new WSFederationHttpBinding();
                return null;
            private Binding CreateBinding(string bindingName, ServiceModelSectionGroup group)
                BindingCollectionElement bindingElementCollection = group.Bindings[bindingName];
                if (bindingElementCollection.ConfiguredBindings.Count > 0)
                    IBindingConfigurationElement be = bindingElementCollection.ConfiguredBindings[0];
                    Binding binding = GetBinding(be);
                    if (be != null)
                        be.ApplyConfiguration(binding);
                    return binding;
                return null;
            private void AddBehaviors(string behaviorConfiguration, ServiceEndpoint serviceEndpoint, ServiceModelSectionGroup group)
                EndpointBehaviorElement behaviorElement = group.Behaviors.EndpointBehaviors[behaviorConfiguration];
                for (int i = 0; i < behaviorElement.Count; i++)
                    BehaviorExtensionElement behaviorExtension = behaviorElement[i];
                    object extension = behaviorExtension.GetType().InvokeMember("CreateBehavior", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Instance, null,
    behaviorExtension, null);
                    if (extension != null)
                        serviceEndpoint.Behaviors.Add((IEndpointBehavior)extension);
    Thanks in advance !! :-)

    Hi,
    There was an error reading from the pipe: Unrecognized error 109 (0x6d).
    One reason was inconsistent binding between client and server <netNamedPipeBinding> <security mode="None"></security>... (no
    communication)
    The other intermittent issue was time-out related.
    For more information, you could refer to:
    http://stackoverflow.com/questions/15836199/wcf-namedpipe-communicationexception-the-pipe-has-been-ended-109-0x6d
    http://stackoverflow.com/questions/22334514/wcf-named-pipe-error-the-pipe-has-been-ended-109-0x6d
    Regards

  • I desperately need help with Mail, specifically sending

    For Starters:  I am on OSX 10.9.2 and am trying to use mail 7.2.
    https://discussions.apple.com/post!input.jspa?container=2998&containerType=14&qu estion=I+desperately+need+help+with+Mail%2C+specifically+sending
    I cannot send.  I have been at this for hours and hours and hours.  Here are the details.
    my mail server however is s1.sistercompany.net
    I can receive email just fine.  I can also send mail just find having set this up on my iphone and also in thunderbird (which i hate hate hate hate hate hate hate, which is why I am desperate to set up mail)
    The settings in thunderbird are as follows:
    Servername: s1.sistercompany.net
    port: 465
    Authentication method:  normal password
    Connection Security:  SSL/TLS
    However, I just can't get this to work in Mail.  When I write an email and hit send I get a popup that says:
    Cannot send message using the server s1.sistercompany.net
    The certifcate for this server is invalid.
    Now, my tech guy says yeah the certifacte is invalid because you are going through sistercompany server, there should be some way to just accept the certifcate anyway (but he has never used mail before).
    So I have serached around and come up with this: http://support.apple.com/kb/PH11706
    Which tells me to use the verify certificate dialogue, which I would do except there is no verify certificate dialog.  Any thoughts?
    <Email Edited by Host>

    I don't have a problem watching the Lost episode on abc.com, using a stock MacBook with 512MB RAM. I don't know what technology abc.com uses in their viewer, but I have Flip4Mac and the latest version of Flash player installed.

  • Need Help on HTTP Post ?

    Hi @,
    I need to perform HTTP Post from webdypro application some XML data. How can I do this , I tried searching forums and blogs but couldn't find a suitable solution or Help.
    Is it possible or will have to go for any external apis to achieve the same?
    Regards

    Hi,
    This is possible - though not directly with Exit Plug of Interface View Controller.
    You need to use Suspend plug to pass parameters with http POST. See this thread and this document for further directions.
    From thread above, Replace
    Map postParams = new HashMap();
    postParams.put("Key1", "Value 1");
    postParams.put("Key2", "Value2");
    postParams.put("Key3", "Value 3");
    wdThis.wdGetWDSuspendResumeWindowController().wdFirePlugTestSupend("http://www.sap.com", postParams);
    with
    WDDeployableObjectPart deployableObjectPart = WDDeployableObject.getDeployableObjectPart(deployableObjectName, "TargetApp", DDeployableObjectPartType.APPLICATION);
    String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart);
    Map postParams = new HashMap();
    postParams.put("Key1", "Value1");
    postParams.put("Key2", "Value2");
    postParams.put("Key3", "Value 3");
    wdThis.wdGetStartWindowController().wdFirePlugStartAppSuspend(urlToTargetApp, postParams);
    In target application, onPlugDefault, use this code to get the values for parameters.
    String val1 = WDProtocolAdapter.getProtocolAdapter().getRequestParameter("Key1");
    String val2 = WDProtocolAdapter.getProtocolAdapter().getRequestParameter("Key2");
    String val3 = WDProtocolAdapter.getProtocolAdapter().getRequestParameter("Key3");
    wdComponentAPI.getMessageManager().reportSuccess(val1 + "   -   " + val2+ "   -   " + val3);
    I've used this and it works.
    Hope it helps.
    Regards,
    Sunaina Reddy T

  • Need Help - XI 3.1 Send to inbox Group security settings

    Hello All,
    I need some help on this. I have a few users belonging to a group and they should be able to send emails using 'send to inbox' option to other users belonging to the same group. They should be able to see users of the group that he belongs to and not others, similarly he should see only groups list that he belongs to and not the others. What should be the security settings for this. Any help will be greatly appreciated.
    I think I figured out a way to do this for Groups- On the user security of say 'Group1', I set the Everyone to No access, and added the principal Group1 and gave view access. Now Group1 is visible only to members belonging to that group and not others. I have to do this process to all the groups so that Group1 users can't see other groups. But the problem is the user is still able to see the rest of the users (in other groups). I think I can follow the above procedure for the users too but I don't want to do it for every individual user. It's too much work. Please suggest if there is a better way of doing it.
    And finally I need to restrict users ability to see the inboxes of other users(even in the same group). How do I do this?
    Thanks
    Kash

    Hello Mark,
    Thanks for your help. Appreciated.
    Do you know or some one know, how to create at report for Audit purpose of BO 3.1 Universes's Connection, Database type, Network Layer and so on... I want to pull all info in to Webi report which are you seeing in the pictures.
    Please see the attached file.

  • Need help for http services

    Hi All,
    I am getting results from XML using http services
    see bellow
    EX:
    <mx:HTTPService id="simpletestFood"
    url="assets\foodlist.xml"
    result="foodList=simpletestFood.lastResult.list.food"/>
    But now i need to get data from java .
    So Could you please suggest me , how to integrate with java
    means in http service how to give my java(POJO) class--> methods
    name.
    And Please send me sample code for this.

    Here is a tutorial on the remote object service. HTH.
    http://www.flexlive.net/?p=92

  • Need help: message split and send in BPM

    i have this mapping where the idoc has to be split first before passing it to a BPM. the mapping should perform like this
    from
    IDOC
       segA
         segB1
         segB2
         segB3
       /segA
    /IDOC
    to
    IDOC
        segA
          segB1
    /IDOC 
    IDOC
        segA
          segB2
    /IDOC   
    IDOC
        segA
          segB3
    /IDOC        
    I was successful in doing the 1st step of mapping requirement for the above transformation. The next step was to map per occurence of IDOC to another target message and send it (ex. above is 3 occurence of IDOC, so there should be 3 mapping and sending that should happen. My problem now is how to design the BPM for this. Any suggestions?
    Message was edited by:
            Brian Lo

    create one MT such as
    root
    |__IDoc
    |__segment
    duplicate the subnode in the target message mapping (right click on the node and select dupliate subtree) and ten do the mapping...here u can go 4 this approach only if the number of number source segments (ie. sega, segb1, segb2, segb3) are constant....have read in coupe of threads that split mapping is not possible for idocs.....u may also need to check on it

  • Need help with HTTP keep-alive

    Hi folks!
    I have this very simple web server and I would like to add keep-alive support. I've been trying to get my head around it for a while and could need some help (I found this question in the archive, but those replies didn't help)...
    This is my starting point (stripped down to the basics):
    /* A listener thread that accept incoming requests by creating new request handlers */
    public class HTTPListener implements Runnable
        private ServerSocket serverSocket;
        public HTTPListener(int port)
            // Try to create a server socket on specified port
            try
                serverSocket = new ServerSocket(port, 0);
            catch (IOException ex)
                System.err.println("Oops!");
        public void run()
            while (!Thread.interrupted())
                try
                    // Listen on server socket until a request arrives
                    Socket s = serverSocket.accept();
                    // Create handler to service request
                    RequestHandler h = new RequestHandler(s);
                    new Thread(h).start();
                // Server socket closed when listening
                catch (SocketException ex)
                    Thread.currentThread().interrupt();
                // Failed to close socket or failure during server socket accept
                catch (IOException ex)
                    System.err.println("Failed to accept request");
            try
                serverSocket.close();
            catch (IOException ex)
                System.err.println("Hmpf...");
    /* Handler that prints out requests and always answers with status 200 */
    public class RequestHandler implements Runnable
        private Socket socket;
        public RequestHandler(Socket s)
            socket = s;
        public void run()
            System.out.println(">>> New request handler");
            try
                BufferedReader reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                String str;
                while ((str = reader.readLine()) != null)
                    System.out.println(str);
                sendDummyReplyWithKeepAlive();
                reader.close();
                socket.close();
            catch (IOException ex)
                System.err.println("Crap, got an exception!");
    }When I run the server (which in reality has a little more to it) I never get more than one request printed for each ">>> New request handler", which is not surprising!
    Now, with keep-alive support I expect to get consecutive requests from the same client printed by the same handler instance. What I have to do (as I've understood from my readings) is to modify the while loop in the request handler that reads from the socket so that it spins until the connection is closed by the client (or a keep-alive timeout occurs) and blocks while there is nothing to read.
    Perhaps I'm being stupid now, but how do I actually do this?

    ejp wrote:
    and also an incorrect implementation of the timeout period. This code will still wait forever if no data arrives.You're right... actually I didn't mean to put that while loop there! What I meant was simply
    if (!reader.ready())
        wait(keepAliveTimeout);
    if (!reader.ready())
        break mainLoop;
    // If we get here there is a new request to read...and I agree that it's ugly, that's why I'm asking you guys for help!
    setSoTimeout() is of course a way to go... didn't think of that although I have kind of already added it to my code but with a different timeout. Thanks!
    Last question then is:
    does reader.readLine() block like reader.read(), or do I have to use the latter?
    I would test for myself I could, but at the moment I can't...

  • NEed help with HTTP Post

    I am doing an application to login to www.ideas.singtel.com website. There is no error but how do i know that my userName & password is verified?
    [codeimport java.net.*;
    import java.io.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.net.ssl.*;
    class demo_process implements Runnable, ActionListener
         private Thread on;
         //Create Output & Input Stream
         //Connection
         private URL url;
         private URLConnection connection;
         //Create The GUI
         demo client1;
         public void actionPerformed(ActionEvent e)
              String command = e.getActionCommand();
              //TC_MainGUI1 Action Performed
              if(command == "Log In"
              && !(client1.userName.getText().equals(""))
              && !(client1.password.getText().equals("")))
                   on = new Thread(this);
                   on.start();
                   //sms client2 = new sms();
              else if(command == "Log In"
              && !(client1.userName.getText().equals("")))
                   JOptionPane.showMessageDialog(client1,
                   "Invalid Password");
                   client1.userName.setText("");
              else if(command == "Log In"
              && !(client1.password.getText().equals("")))
                   JOptionPane.showMessageDialog(client1,
                   "Invalid User Name");
                   client1.password.setText("");
              else
                   JOptionPane.showMessageDialog(client1,
                   "Invalid User Name & Password");
                   client1.userName.setText("");
                   client1.password.setText("");
         public demo_process(demo client1)
              this.client1=client1;
         public void run()
              Thread thisThread = Thread.currentThread();     
              //Establishing the connection
              try
                   url = new URL("https://www.ideas.singtel.com/myideas/AccessController.jsp?");
                   connection = url.openConnection();
                   login();
              catch(IOException e)
                   System.out.println("Cannot get connected!");
                   System.out.println(e);
         public void login()
              try
                   //Send the Mobile no. & Password
                   connection.setAllowUserInteraction(true);
                   connection.setDoInput(true);
                   connection.setDoOutput(true);
                   connection.setUseCaches(false);
                   connection.setDefaultUseCaches(false);
                   //Establish the Input & Output Streams
                   OutputStream ostream = connection.getOutputStream();
                   String send = "userName="+client1.userName.getText()+"&password="+client1.password.getText();     
                   byte[] send2= send.getBytes();
                   ostream.write(send2);
                   ostream.close();
                   System.out.println(send2);
                   System.out.println("Echo: " + client1.userName.getText());
                   System.out.println("Echo: " + client1.password.getText());
                   InputStream in = connection.getInputStream();
                   InputStreamReader r = new InputStreamReader(in);
                   int c;
                   while((c = r.read()) != -1)
                        System.out.println((char) c);
                   System.out.println(c);
                   in.close();
              catch(IOException e)
                   System.out.println(e);
    }]

    If "form2.php" processes the POST request then you shouldn't be sending it to "myform.php" in the first place.

  • I need help I can't send pictures to my wife through iMessage

    Hope someone can help me well about a week ago I could not send pics to my wife's iPhone she has an iPhone 4s and I have the iPhone 4 one day last week I tired to send some pics to her through the iMessage and it would not deliver them but we have been sending pics to each before and now she can send me pics but I can't send them to her but I can send pics to my daughters iPod I have done things that I have read to try to fix the problem but nothing has worked help me płease

    Yes I can send texts but no pics she can send me pics I get them just can't send them I have turned off my messages did a he'd reboot turned messages back on so I just about tried everything that I have read on here

  • Need help with http POST concept

    hi i just started learning about HTTP..im trying to pass a value from a thin java client from command prompt through POST method directly to a destination (another java bean) without any HTML/jsp (no pages) .
    i've created a caller.java which is used on command prompt :
    java caller param1 param2
    then, this caller will actually point to a struts path on my server, (which i think is a servlet) and do proper processing.
    caller.java :
    public static void main(String[] args) {...
    String url = str + "/do_something/prog0001_getAnswer?" +
         "param1=" + args[0] +
    "&param2=" + args[1];
    URL server = new URL(url);
    HttpURLConnection connection =
    (HttpURLConnection) server.openConnection();
    connection.setRequestMethod("POST");
    connection.connect();
    System.out.println("connecting to server..... " + connection.getResponseMessage());
    then on servlet :
    httprequest's .getParameter("param1");
    httprequest's .getParameter("param2");
    to obtain the values.
    even if set my URL's instance (server) 's RequestMethod to POST, i'm still able to obtain the parameter values in the servlet? I thought POST method requires different way to pass the values to a servlet? i've been searching..the most i could get are examples with HTML's FORM's name attribute

    What method have you written in Servlet?
    service, doGet or doPost.
    If you have written service, then it does not matter what mthod you specified.

  • Need help with HTTPS Client/Server

    Hi i really dont know much about this topic and i was wondering if any 1 knows where to find a good example program to set up a
    HTTPS Server/Client or at least how to implemnt a HTTPS Client.
    thanks in advance

    URL.openConnection works fine as a client. You don't have to do anything other than specify the protocol as https.
    I don't know what you are looking for in terms of server. Are you trying to write your own server? Which part do you not know? The HTTP part or the S part?

  • Need help on emailing  from java

    I need help on how to send an Email from a java application.
    Can any body help me by providing correct code for that?
    Thanks!

    It worked.Thanks!So, are you gonna award the Dukes to prometheuzz or are you donating them to the forum pickle jar?
    db

Maybe you are looking for

  • How can I login in to icloud and retrieve a note which I have accidentally deleted on my ipad?

    I Have accidentally deleted a note from my ipad  and I know it has been backed up yesterday onto icloud but I cant seem to login into icloud to retrieve the note? the icloud.com address just throws up Add Icloud to this device, when I know it is alre

  • Unable to change file name in Metadata pane - Lightroom 2

    I can't seem to activate the file name area in the Metadata pane in the Library module. It is solid gray and I cannot make the area active. With the correct folder active, the files seem to be normal in all visible ways, but the ability to change the

  • Selecting different homes from command prompt

    Hi Gurus, Oracle client-9201 Oracle client-10201 Win XP SP2 We have two oracle homes. We want to switch it from one to another. We have restriction that this should be done from command prompt only. Although I can change homes launching latest OUI an

  • Sd billing error

    Hi My query In third party invoicing  i am facing problem the error which it gives looks like this "0160000095 000010 Error no WBS billing element found while substituting WBS element 00022068" 2) in the sales order when i go to conditions tab i get

  • IR Dynamic Filter

    Hi, How can I make IR filters records based on dynamic values, say values stored in application item? thanks,