This is probably related to issue AXIS2-4465. There is some additional
information here:

http://axis.apache.org/axis2/java/core/docs/servlet-transport.html

Note that this applies to Axis2 >= 1.5.3.

Andreas

On Thu, Jan 20, 2011 at 09:28,  <[email protected]> wrote:
> Hi,
>
> We have axis2 running with tomcat6. Tomcat is running on the port 8080
> and is connected to an apache server via mod_jk.
> So our axis2 web service is accessable via http on port 80.
>
> The autodetected url in the automatically generated wsdl is almost
> always correct, http://myserver:80/axis2...
>
>
> But sometimes after tomcat restart, the wsdl contains the location like
> http://myserver:8080/axis2...
>
> Even then, the web service is still available via the port 80. But the
> wsdl is not correct.
>
> Why?
> How does axis2 autodetect the url to be used as the location?
> When does it happen? Immediately after the deployment?
> Is it possible, that sometimes, the ajp13 conncetion is not yet
> available, when the wsdl is generated?
> Is wsdl cached?
> How long?
>
> I try to find the way to avoid the wrong port number in the wsdl -
> I could provide some static wsdl in the aar-package, but there are other
> problems caused by this.
>
> So I want to work with the autogenerated wsdl file, but also I want to
> be sure, the autodetected url is always correct.
>
> Thanks!
>
> Best regards,
> Fadila
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to