[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: RE: XML-RPC over SSL
From: "Zhou, Jing (Jing)" <jingzhou () lucent ! com>
Date: 2006-07-31 8:11:26
Message-ID: 31C0F08B0D18D511ACC800508BAE7B471474084B () ci0026exch001u ! bj ! lucent ! com
[Download RAW message or body]
if my server IP is " <https://137.202.16.156:38191/xmlrpc_servlet/xmlrpc>
https://137.202.16.156:38191/xmlrpc_servlet/xmlrpc", then The "firstname and
last name" should be "137.202.16.156:38191/xmlrpc_servlet"?,thanks very! And
in http://ws.apache.org/xmlrpc/ssl.html
<http://ws.apache.org/xmlrpc/ssl.html> , the "The recommended solution"
creates a truststore, but it doesn't add any code to the clients
initialization, I want to know, if I use "The recommended solution", do I
need to add some code to my clients initialization? thanks very much!
<https://135.220.76.156:38191/xmlrpc_servlet/xmlrpc>
-----Original Message-----
From: Rafaqat Ali [mailto:smoken0@gmail.com]
Sent: Monday, July 31, 2006 3:58 PM
To: xmlrpc-user@ws.apache.org
Subject: Re: XML-RPC over SSL
It is now working if I enter localhost against firstname and last name when
executing command
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
And when I run client using localhost on local machine it works fine.
but when I try to access it with ip address it doesn't work even I tried to
put my machine's ip in first name and last name
I use following command to run program
java -cp classes;%JARS% com.edb.usm.test.SecureXmlRpcTest 10.90.1.124
<http://10.90.1.124> 8443 "C:\Documents and Settings\rafaqat\.keystore"
changeit
but it thorws Exception
java.io.IOException: HTTPS hostname wrong: should be <
<http://10.90.1.124> 10.90.1.124>
java.io.IOException: HTTPS hostname wrong: should be < 10.90.1.124
<http://10.90.1.124> >
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:116)
and in (SecureXmlRpcTest.java at line 116 I am calling execute method as
Object result = client.execute(method, paramsVector);
On 7/30/06, Jochen Wiedmann < <mailto:jochen.wiedmann@gmail.com>
jochen.wiedmann@gmail.com> wrote:
Rafaqat Ali wrote:
> java.io.IOException : Server returned HTTP response code: 405 for URL:
> https://lo <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)
Servers log file?
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
<mailto:xmlrpc-user-unsubscribe@ws.apache.org>
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
<mailto:xmlrpc-user-help@ws.apache.org>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=623270308-31072006>if my server IP is "<A
href="https://137.202.16.156:38191/xmlrpc_servlet/xmlrpc"><FONT face=宋体 \
size=2>https://137.202.16.156:38191/xmlrpc_servlet/xmlrpc</FONT></A>", then The
"</SPAN>firstname and last name<SPAN class=623270308-31072006>" should be
"<U><FONT face=宋体 color=#0000ff
size=2>137.202.16.156:38191/xmlrpc_servlet</FONT></U>"?,thanks very! And in <A
href="http://ws.apache.org/xmlrpc/ssl.html">http://ws.apache.org/xmlrpc/ssl.html</A>, </SPAN><SPAN \
class=623270308-31072006>the "The recommended solution" creates a truststore,
but it doesn't add any code to the clients initialization, I want to
know, if I use "The recommended solution", do I need to add some code
to my clients initialization? thanks very much! </SPAN></DIV>
<DIV><FONT face=宋体 color=#0000ff size=2><A
href="https://135.220.76.156:38191/xmlrpc_servlet/xmlrpc"></A></FONT> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Rafaqat Ali
[mailto:smoken0@gmail.com]<BR><B>Sent:</B> Monday, July 31, 2006 3:58
PM<BR><B>To:</B> xmlrpc-user@ws.apache.org<BR><B>Subject:</B> Re: XML-RPC over
SSL<BR><BR></FONT></DIV>It is now working if I enter localhost against
firstname and last name when executing command <BR>%JAVA_HOME%\bin\keytool
-genkey -alias tomcat -keyalg RSA<BR>And when I run client using localhost on
local machine it works fine. <BR>but when I try to access it with ip address
it doesn't work even I tried to put my machine's ip in first name and last
name <BR>I use following command to run program<BR>java -cp classes;%JARS%
com.edb.usm.test.SecureXmlRpcTest <A href="http://10.90.1.124">10.90.1.124</A>
8443 "C:\Documents and Settings\rafaqat\.keystore" changeit<BR><BR>but it
thorws Exception <BR><BR>java.io.IOException: HTTPS hostname wrong:
should be <<A href="http://10.90.1.124">
10.90.1.124</A>><BR>java.io.IOException: HTTPS hostname wrong: should
be <<A
href="http://10.90.1.124">10.90.1.124</A>><BR> \
at
org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)<BR> \
at
org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)<BR> \
at
com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:116)<BR><BR>and
in (SecureXmlRpcTest.java at line 116 I am calling execute method as
<BR> Object
result = client.execute(method, paramsVector);<BR><BR><BR>
<DIV><SPAN class=gmail_quote><BR>On 7/30/06, <B class=gmail_sendername>Jochen
Wiedmann</B> <<A href="mailto:jochen.wiedmann@gmail.com">
jochen.wiedmann@gmail.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) \
1px solid">Rafaqat Ali wrote:<BR>> java.io.IOException : Server returned HTTP \
response code: 405 for URL:<BR>> <A href="https://lo">https://lo</A><BR>>
calhost:8443/edb/<BR>>
at<BR>>
org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)<BR>> \
at
org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)<BR>> \
at<BR>>
com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:99)<BR><BR>Servers
log
file?<BR><BR><BR>--------------------------------------------------------------------- \
<BR>To unsubscribe, e-mail: <A
href="mailto:xmlrpc-user-unsubscribe@ws.apache.org">xmlrpc-user-unsubscribe@ws.apache.org</A><BR>For \
additional commands, e-mail: <A
href="mailto:xmlrpc-user-help@ws.apache.org">xmlrpc-user-help@ws.apache.org
</A><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic