由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - How to create web service client to remote SSL service (HTTPS)?
相关主题
探讨一个 ORM + web service 的问题怎么测试 Web Service Functions?
怎么把servlet publish成web servicesSSL Termination
java web service 得迷惑Timeout issue
soap binding with CXFJAVA中文TELNET MwTerm 1.000 Final
java SOAP比restful难学吗?问个SSL的问题
求指教: CXF Cleint API for Axis2 SOAP web service问题A question about inheritance
anybody familiar w/ Axis? targetService is nullJava/J2EE的书
http post binding in wsdl弱人来提个问题
相关话题的讨论汇总
话题: service话题: https话题: remote话题: client话题: ssl
进入Java版参与讨论
1 (共1页)
l*****b
发帖数: 82
1
Hi, all gurus,
I am going to create a web service client connecting to remote HTTPS service
. So far, I only have the WSDL file and know the following information about
the service authentication:
1. it will generate session id after invoke login command, e.g. https://
remote-service-url/services/login?user=abc&password=abc
2. put the return session id in every web service request to make
transactions
I have use wsdl2java tool (Apache-CXF) to generate the client stuffs and try
to call the remote
c*c
发帖数: 447
2
>> java.io.EOFException: SSL peer shut down incorrectly
this sounds like SSL handshake problem。you may need to import HTTPS cert to
the keystore on client side..
You can easily generate webservice client from WSDL with netbeans..
it seems WS-Security is involved, you'll need some kind of framework to put
WS-Sececurity token in to WS header. You can do it in your code, but it'll
be nasty...
1 (共1页)
进入Java版参与讨论
相关主题
弱人来提个问题java SOAP比restful难学吗?
what is best for Java Desktop GUI求指教: CXF Cleint API for Axis2 SOAP web service问题
问个SOAP Service的问题anybody familiar w/ Axis? targetService is null
Web service framework choice?http post binding in wsdl
探讨一个 ORM + web service 的问题怎么测试 Web Service Functions?
怎么把servlet publish成web servicesSSL Termination
java web service 得迷惑Timeout issue
soap binding with CXFJAVA中文TELNET MwTerm 1.000 Final
相关话题的讨论汇总
话题: service话题: https话题: remote话题: client话题: ssl