facebook

Web Services Browser in Eclipse works but java program fails

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #335030 Reply

    MJToohey
    Member

    Hi,

    I have a web services client application in MyEclipse Blue Edition 10.
    There have been a lot of network problems which have finally been worked out except for the following final hurdle.

    When I tested the wsdl, by itself, in eclipse using the Soap web services explorer
    it connects to my endpoint and returns the expected data, YAHOO!

    However, when I use my java program to do the same connect to the same endpoint,
    I get this error: No subject alternative DNS name matching <my hostname> found.

    I figure my java program must not be doing something that eclipse is doing, or, it
    doesn’t have some setting that eclipse does. Any thoughts?

    I’m using SSL wsse:Security in the Soap header in the eclipse wsdl test and the program.

    Michael

    #335035

    support-swapna
    Moderator

    Michael,

    Please take a look at these links which discuss similar issue :

    http://stackoverflow.com/questions/10258101/sslhandshakeexception-no-subject-alternative-names-present
    http://www.mkyong.com/webservices/jax-ws/java-security-cert-certificateexception-no-name-matching-localhost-found/

    I suggest you cross post to development related forums for better support as it is a development query.

    Hope it helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Web Services Browser in Eclipse works but java program fails

You must be logged in to post in the forum log in