Skip to main content

Problem with web services via HTTPS

1 reply [Last post]
Joined: 2010-08-23

We have a project with a client in which our system has to consume web services provided by their system via HTTPS. Their WSDL file is not exposed via URL, so we generated the stubs based on a local WSDL file given by them using wsimport command. We wrote a client to test the connection on a local PC (Windows, Sun AppServer) and we are able to invoke the web service successfully via https. The cert provided by them is imported into the Sun AppServers’s trust store. When the same set of Stubs and the same cert are deployed to the development server (Unix, Sub AppServer), we keep getting the following exception: HTTP transport error: No trusted certificate found

To ensure that the cert was installed correctly on the dev server, we included some codes using SSLSocket and managed to get a successful SSL handshake to their server. This set of codes is put into the block of codes which invokes the connection via WS Stubs.

Any help is appreciated. Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2010-09-07

Web services are typically application programming interfaces (API) or Web APIs that are accessed via Hypertext Transfer Protocol (HTTP) and executed on a remote system hosting the requested services. Web services tend to fall into one of two camps: big Web services[1] and RESTful Web services.


Want to get-on Google's first page and loads of traffic to our website? Hire a SEO Specialist from Ocean Groups[url=] seo specialist [/url]