Thanks for your prompt reply,
I have applied your suggested procedure for my wsdl, i have copied my system
generated wsdl into my /WEB-INF/classes folder and replaced the
"localhost:8080" with "myhost:80" and also specify
"<wsdlFile>mywsdlfile.wsdl</wsdlFile>" element under my service entry in
server-config.wsdd file, it generates correct host name but wrong port
"8080", while my default port is "80".
can you tell me the solution for this
Regards,
Muhammad Iqbal
cell :0092-300-9377801
From: jayachandra <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: How to change PORT for WSDL
Date: Wed, 14 Dec 2005 21:21:27 +0530
I know this is such an uncouth work around I'm suggesting, but still ;-)...
A quick work around that I'd suggest is, you can always configure inside
your server-config.wsdd a location from which the wsdl is served when axis
is queried for, instead of auto generating it always on the fly.
You could once get a system generated wsdl, fix the port info etc. and
place
it inside your context classpath i.e. WEB-INF/classes, lets say with the
name "correctWSDL.wsdl". Then inside your server-config.wsdd just add this
line under the corresponding service element
<wsdlFile>/correctWSDL.wsdl</wsdlFile>
And everytime when clients query your service with ?wsdl, they get this
correctWSDL.wsdl retured.
HTH,
Jaya
On 12/13/05, MUHAMMAD IQBAL <[EMAIL PROTECTED]> wrote:
>
> i have a wraper style web service developed in Apache Axis1.2.1, but
when
> i
> deploy it and try to access its wsdl, the URL for my service's WSDL has
> included port 8080 but my tomcat is running on port 80,
>
> can any one tell me that, how to change the port for my service's WSDL
> that
> auto generated by Axis?
>
> thnaks in advance.
>
> Regards,
>
> Muhammad Iqbal
>
>
>
--
-- Jaya