users@glassfish.java.net

Re: WSDL: schemaLocation references FQDN instead of IP adress

From: Vijay Ramachandran <Vijay.Ramachandran_at_Sun.COM>
Date: Tue, 06 Mar 2007 07:04:11 -0800

The host and port embedded is the same that is present in the incoming
WSDL request.

So if your WSDL request is :
http://1.2.3.4:99999/your_service/your_port?WSDL then the WSDL will be
published with host=1.2.3.4 and port 99999

Vijay

Tonton Dede wrote:
> Hi,
>
> I have a web service published in a Glassfish server. In the wsdl, I
> find the following
>
> <types>
> <xsd:schema>
> <xsd:import namespace="http://tempuri.org"
> schemaLocation="http://servername:8080/....schema1.xsd" .... />
> </xsd:schema>
> </types>
>
> My pears cannont resolve the "servername" (servername is the name of
> the server on which the Glassfish runs - it is not the same computer
> thant that on which the WS have been developed). How can I have the IP
> adress instead of the name ? Or is this actually a non issue ?
>
> Thanks in advance,
> TD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>