ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere DataPower » Https WebService

Post new topic  Reply to topic
 Https WebService « View previous topic :: View next topic » 
Author Message
vvchary.varanasi
PostPosted: Mon Oct 13, 2008 1:43 am    Post subject: Https WebService Reply with quote

Newbie

Joined: 29 Sep 2008
Posts: 5

Build Web services with transport-level security using Rational Application Developer V7.

I have done the similar steps for configuring the https in web sphere Process server,(configured 9449 as https port) after then I have created the web services

its automatically created the web service at the end point eg: https://localhost:9449/Example/services/Welcome.

When I try to test the web service using the Test With Web Service Explorer I am getting the Exception like

IWAB0135E An unexpected error has occurred.
IOException
com.ibm.jsse2.util.h: No trusted certificate found


When I have tried to test with the standalone java client I have got the following error

Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory


After then I have added the below 2 lines in the client class then the above error gone

Security.setProperty("ssl.SocketFactory.provider", "com.ibm.jsse2.SSLSocketFactoryImpl");
Security.setProperty("ssl.ServerSocketFactory.provider", "com.ibm.jsse2.SSLServerSocketFactoryImpl");


After that I am getting the following exception , Please see the error below.


Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found
at com.ibm.jsse2.n.a(n.java:39)
at com.ibm.jsse2.jc.a(jc.java:188)
at com.ibm.jsse2.db.a(db.java:134)
at com.ibm.jsse2.db.a(db.java:328)
at com.ibm.jsse2.eb.a(eb.java:4)
at com.ibm.jsse2.eb.a(eb.java:287)
at com.ibm.jsse2.db.m(db.java:208)
at com.ibm.jsse2.db.a(db.java:259)
at com.ibm.jsse2.jc.a(jc.java:271)
at com.ibm.jsse2.jc.g(jc.java:403)
at com.ibm.jsse2.jc.a(jc.java:21)
at com.ibm.jsse2.jc.startHandshake(jc.java:228)




Could you please help me to resolve this.


Please let me know if any other things I need to do from my side.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere DataPower » Https WebService
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.