From xmlrpc-user-return-1953-apmail-ws-xmlrpc-user-archive=ws.apache.org@ws.apache.org Sun Jul 30 12:25:31 2006 Return-Path: Delivered-To: apmail-ws-xmlrpc-user-archive@www.apache.org Received: (qmail 1162 invoked from network); 30 Jul 2006 12:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jul 2006 12:25:31 -0000 Received: (qmail 27590 invoked by uid 500); 30 Jul 2006 12:25:30 -0000 Delivered-To: apmail-ws-xmlrpc-user-archive@ws.apache.org Received: (qmail 27575 invoked by uid 500); 30 Jul 2006 12:25:30 -0000 Mailing-List: contact xmlrpc-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: xmlrpc-user@ws.apache.org List-Id: Delivered-To: mailing list xmlrpc-user@ws.apache.org Received: (qmail 27566 invoked by uid 99); 30 Jul 2006 12:25:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 05:25:30 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of smoken0@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 05:25:29 -0700 Received: by py-out-1112.google.com with SMTP id f28so265199pyf for ; Sun, 30 Jul 2006 05:25:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=no5dRS31DVYgwof6aAYw1QSjtCr9oF3Jmvv7BEWHI58PR9Jdg5E8rfo1cEjBIWHPh8NT3I6Zitah06G1JvryiVy5EKXZVxor32ACv12QgSQyyj5Vlso5ShYcVAuODEvffakCS9gKxmrHqZRq2jWqAKFhw9mypGJ2j4zbKQNDsyY= Received: by 10.35.37.18 with SMTP id p18mr2268768pyj; Sun, 30 Jul 2006 05:25:08 -0700 (PDT) Received: by 10.35.112.11 with HTTP; Sun, 30 Jul 2006 05:25:08 -0700 (PDT) Message-ID: Date: Sun, 30 Jul 2006 17:25:08 +0500 From: "Rafaqat Ali" To: xmlrpc-user@ws.apache.org Subject: Re: XML-RPC over SSL In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40635_3831902.1154262308634" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_40635_3831902.1154262308634 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi I tried this and while creating client I am using SecureXmlRpcClient client = new SecureXmlRpcClient(" https://localhost:8443/xmlrpc"); after execution I am getting java.io.IOException: Server returned HTTP response code: 405 for URL: https://lo calhost:8443/edb/ at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java :444) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:99) Yes it is true. In case of normal execution when I enter webservice URL in browser it shows HTTP Status 405 - HTTP method GET is not supported by this URL and in my application it works fine. But in case of secure execution it throws Exception. Any help ???? Regards Rafaqat Ali On 7/29/06, Jochen Wiedmann wrote: > > On 7/28/06, Rafaqat Ali wrote: > > > I have xml-rpc running in tomcat server. I have enabled https. I > want to > > access it over https but Im getting error on client side. IO am running > > client using following command > > See > > http://ws.apache.org/xmlrpc/ssl.html > > > -- > My wife Mary and I have been married for forty-seven years and not > once have we had an argument serious enough to consider divorce; > murder, yes, but divorce, never. > (Jack Benny) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org > For additional commands, e-mail: xmlrpc-user-help@ws.apache.org > > ------=_Part_40635_3831902.1154262308634 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi
    I tried this and while creating client I am using
SecureXmlRpcClient client = new SecureXmlRpcClient("https://localhost:8443/xmlrpc");
after execution I am getting

java.io.IOException: Server returned HTTP response code: 405 for URL: https://lo
calhost:8443/edb/
        at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)
        at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)
        at com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:99)

Yes it is true. In case of normal execution when I enter webservice URL in browser it shows
HTTP Status 405 - HTTP method GET is not supported by this URL
and in my application it works fine.

But in case of secure execution it throws Exception. Any help ????

Regards
Rafaqat Ali


On 7/29/06, Jochen Wiedmann < jochen.wiedmann@gmail.com> wrote:
On 7/28/06, Rafaqat Ali < smoken0@gmail.com> wrote:

>     I have xml-rpc running in tomcat server. I have enabled https. I want to
> access it over https but Im getting error on client side. IO am running
> client using following command

See

    http://ws.apache.org/xmlrpc/ssl.html


--
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


------=_Part_40635_3831902.1154262308634--