a.vezain_at_hermes.asso.fr wrote:
>Hello,
>
>I've develop a service with jwsdp 1.5 that works well.
>The WSDL is accessible to the address
>"https://xxx.xxx.xxx.xxx/MyService?WSDL", where xxx.xxx.xxx.xxx is my
>server IP Address.
>When I read this WSDL file I can find at the end the xml tag :
><soap:address location="https://xxx.xxx.xxx.xxx:443/MyService"/>
>which is exactly what I want.
>
>Recently, I decided to make this web service accessible more easily by
>turning the old address "https://xxx.xxx.xxx.xxx/MyService?WSDL" into
>something like "https://my.domain.name/MyService?WSDL". It worked, and
>my WSDL file was accessible from
>"https://my.domain.name/MyService?WSDL"
>
>The problem is that, when I read this new WSDL file, the soap:address tag is :
><soap:address location="http://my.domain.name:80/MyService"/>
>but it should be :
><soap:address location="https://my.domain.name:443/MyService"/>
>
>
We use the following to generate the address where request is
HttpServletRequest
request.getScheme()
+ "://"
+ request.getServerName()
+ ":"
+ request.getServerPort()
+ request.getRequestURI()
What's your container ? Seems like your servlet container is not
configured properly. If you are using Tomcat, check the SSL connector
configuration in server.xml
Can you use JAX-RPC mailing list(users_at_jax-rpc.dev.java.net) for jaxrpc
questions.
Thanks,
Jitu
>The https info is lost, and I don't know why.
>You must know that I use exactly the same webapp file (ie. jar) for
>this two servers.
>Any Ideas ?
>
>Regards,
>Arnaud.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
>For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>
>