Hello Viatcheslav
I am including the GlassFish users alias so that someone from the
webservices team can help you.
Cheers
Shreedhar :)
Viatcheslav Mikhalev wrote:
>
> Dear Mr. Ganapathy,
>
>
>
> I developed rich client application which uses WebService installed on
> GlassFish. With direct application server access all worked perfect,
> but my customer want to use WebService with Server-Side (Proxy)
> Redirect and in this situation I have got an issue. GlassFish reads
> request URL and writes it in WSDL.
>
> I found description of this issue in Internet:
> (http://forums.java.net/jive/message.jspa?messageID=177405)
>
>
>
> In GF-v1, there is no way to customize the published URL. However, in
>
> GFv2, this has been changed. WSDL will be published at the localhost, port
>
> at which the ?WSDL is accessed.
>
> So if GF-v2 is running on x.y.com and the URI is foo/barService, then :
>
> 1. accessing the WSDL from localhost with
>
> http://localhost:port/foo/barService?WSDL will publish the WSDL @
>
> http://localhost:port/foo/barService
>
> 2. accessing the WSDL from some other host with
>
> http://x.y.com:port/foo/barService?WSDL will publish the WSDL @
>
> http://x.y.com:port/foo/barService
>
>
>
> ,but could not find any solution.
>
> If I access WSDL through "Apache Server-Side (Proxy) Redirect" with
> URL: http://companyname/PersistenceAPIService/PersistenceAPIBean?WSDL
> I get:
>
>
>
> <service name="*PersistenceAPIService*">
>
> <port name="*PersistenceAPIPort*"
> binding="*tns:PersistenceAPIPortBinding*">
>
> <soap:address
> location="*http://127.0.0.1:9090/PersistenceAPIService/PersistenceAPIBean*"
> />
>
> </port>
>
> </service>
>
>
>
> and without "Apache Server-Side (Proxy) Redirect" with URL
> http://companyname:9090/PersistenceAPIService/PersistenceAPIBean?WSDL:
>
> <service name="*PersistenceAPIService*">
>
> <port name="*PersistenceAPIPort*"
> binding="*tns:PersistenceAPIPortBinding*">
>
> <soap:address
> location="*http://companyname:9090/PersistenceAPIService/PersistenceAPIBean*"
> />
>
> </port>
>
> </service>
>
>
>
>
>
> On my home PC all works perfect with "Sun Java System Application
> Server Platform Edition 9.0_01(build b02-p01)" This version newer
> dynamically change anything in WSDL.
>
>
>
> How can I disable this GlassFish V2 new property?
>
>
>
> I am looking forward to hearing from you.
>
>
>
> Yours sincerely
>
>
>
> Viatcheslav Mikhalev
>