XML-RPC

Hi Ceans,

I'm new to remote procedure call, i need to communicate to remote server via java program,
i tried to use ws-xmlrpc(apache lib), but could not find any methods which supports my xml request.
i tried google but could not find anything.

can anyone help to find which library should i use and my request type looks like


  
    
  

thanks

Replies

  • micheal john
    micheal john
    code used to send xml to server

        String xmlString = "xml request";
        HttpPost httpPost = new HttpPost("sever address");
        StringEntity reqEntity = new StringEntity(xmlString);
        HttpClient httpclient = new DefaultHttpClient();
        HttpResponse response = httpclient.execute(httpPost);
        response.getEntity();
    output i get is "The XML request file specified by the client was not found or the file was found to be empty."

You are reading an archived discussion.

Related Posts

hi evrybody...i want to implement a mobile software(its not app),it should be supported by all mobiles i.e smart phones and normal mobiles...can i do it???do i require any special things...
Hi, im looking to do MS in Financial management/operations management. I have got a call from IIT-M. Can someone please suggest some topics I can start with.
it is given that phase voltage is the voltage between phase and neutral point and in delta connected circuit phase voltage is equal to line voltage. how it can be...
Hello, starting this thread to report Error and Bugs here on CE Recently, using mobile I've seen this. When I click on image of any CEan who appears in Engineers...
Left part of our brain is generally associated with logic where as right part is associated with creativity. Being an Engineer, I think most of us would use a greater...