I don’t want my service to be invoked over SSL, yet the generated WSDL contains the following SOAP address https://localhost:9443/LDPWebService/services/LDPWebService. i have tried to change so many server settings to make the generated wsdl to contain the following SOAP address http://localhost:9080/LDPWebService/services/LDPWebService.
The exception which i am facing is mentioned below when I try to invoke the webservice which I migrated from WAS 5.1 to WAS 6.1 (RAD 7.0).
Dec 11, 2008 10:39:32 PM com.ibm.ws.ssl.config.SSLConfigManager
INFO: ssl.disable.url.hostname.verification.CWPKI0027I
Dec 11, 2008 10:39:33 PM com.ibm.ws.webservices.engine.PivotHandlerWrapper invoke
WARNING: WSWS3734W: Warning: Exception caught from invocation to com.ibm.ws.webservices.engine.transport.http.HTTPSender:
WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: WSWS3740E: Error: No SSL configuration is available for endpoint - https://localhost:9443/LDPWebService/services/LDPWebService
faultActor: null
faultDetail:
WSWS3740E: Error: No SSL configuration is available for endpoint - https://localhost:9443/LDPWebService/services/LDPWebService
at com.ibm.ws.webservices.engine.transport.security.ConfigSSLProvider.getConfig(ConfigSSLProvider.java:257)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender$2.run(HTTPSender.java:973)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.setupEffectiveSSLConfiguration(HTTPSender.java:970)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:483)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:332)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:738)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:659)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:617)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:452)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:908)
at com.nwa.techops.service.LDPWebServiceSoapBindingStub.getInfo(LDPWebServiceSoapBindingStub.java:205)
at Test.main(Test.java:65)
WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: WSWS3740E: Error: No SSL configuration is available for endpoint - https://localhost:9443/LDPWebService/services/LDPWebService
faultActor: null
faultDetail:
WSWS3740E: Error: No SSL configuration is available for endpoint - https://localhost:9443/LDPWebService/services/LDPWebService
at com.ibm.ws.webservices.engine.transport.security.ConfigSSLProvider.getConfig(ConfigSSLProvider.java:257)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender$2.run(HTTPSender.java:973)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.setupEffectiveSSLConfiguration(HTTPSender.java:970)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:483)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:332)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:738)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:659)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:617)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:452)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:908)
at
Following are the steps we followed to create/invoke the webservice:
1) Right click on the java source file containing the methods which we want to expose as webservice Web Services Create Web service
2) The generated WSDL contains the following soap URL: https://localhost:9443/LDPWebService/services/LDPWebService (I don’t want my service to be invoked over SSL)
3) Then we created a Java project and copied this WSDL file there and generated the client
4) When we try to invoke the webservice from this client using the auto-generated proxy we are facing the attached exception
Also, in the server settings we enabled security. We did this because we use LDAP authentication in our application. If we don’t enable this setting we are able to invoke the webservice without any problem (this time the generated soap URL is: https://localhost:9080/LDPWebService/services/LDPWebService). But, we cannot do this because the LDAP authentication will work only if we enable this setting.
Any help is appreciated,
Thanks,
Chand
Try this option
comment the below lines in httpd.conf , restart the http server
Keyfile /usr/IBMIHS/ssl/key.kdb
Regards
Rajesh Saravanan