users@jax-rpc.java.net

Re: jaxrpc with https

From: kathy walsh <Kathleen.Walsh_at_Sun.COM>
Date: Tue, 12 Oct 2004 11:08:49 -0400

Brian-
Can you send me a sample service
and client that reproduces this problem-
ie, something I can drop into J2EE 1.4, deploy and run?
I will try to reproduce the problem and see if I can find
out the problem you are having-
Kathy

Potter, Brian L wrote:

> i've written a J2EE 1.4 JAXRPC web service that works great using http
> and port 8080. but when i try to call it using https and port 1043, i
> get:
>
> Client exception: modeler error: failed to parse document at
> "https://localhost:1043/procnetService/procnetService?WSDL": java.io.IOException:
> HTTPS host name wrong: should be <localhost>
>
> looks like the client cert's hostname is incorrect, but the sample
> (security/mutualauth and security/mutualauthclient) works fine using
> the same keystore and truststore. i'm using the ones delivered in
> C:/Sun/AppServer/domains/domain1/config.
>
> Brian L. Potter
> Software Scientist
> Solutions Group
> Intergraph Corporation (NASDAQ:INGR)
> 170 Graphics Drive, Madison, AL 35758
> P 1.256.730.8219 F 1.256.730.7514
> brian.potter_at_intergraph.com <mailto:brian.potter_at_intergraph.com>,
> www.intergraph.com
>
>