You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Todd Wilkinson <lp...@dealsqueal.com> on 2007/07/19 17:36:18 UTC
wrong URL in WSDL
Hello-
I'm having a problem with the autogenerated WSDL from axis2.
I have successfully deployed my service to an appserver. The wsdl url is
http://appserver:app_port/service?WSDL
However, in our infrastructure, all requests must be sent through a proxy
web server. We have set up all requests to http://webserver:web_port to
forward to the corresponding url on appserver.
so by going to http://webserver:web_port/service?WSDL, you are correctly
served the wsdl. However, the soap:address, soap12:address, and
http:address nodes of the wsdl:ports are coming up as
"http://appserver:web_port/service" when going through the proxy
That is, although the proxy is forwarding correctly, Axis2 is taking the
IP from the app server it is installed on, but using the port number from
the web server in front of it. I want it to use both the IP and port
number from the web server. Is this possible by Axis2 configuration?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: wrong URL in WSDL
Posted by Todd Wilkinson <lp...@dealsqueal.com>.
FYI-
I simply downloaded a nightly snapshot which fixed this.
(i was using released version 1.2 previously)
> Hello-
> I'm having a problem with the autogenerated WSDL from axis2.
> I have successfully deployed my service to an appserver. The wsdl url is
> http://appserver:app_port/service?WSDL
> However, in our infrastructure, all requests must be sent through a proxy
> web server. We have set up all requests to http://webserver:web_port to
> forward to the corresponding url on appserver.
> so by going to http://webserver:web_port/service?WSDL, you are correctly
> served the wsdl. However, the soap:address, soap12:address, and
> http:address nodes of the wsdl:ports are coming up as
> "http://appserver:web_port/service" when going through the proxy
>
> That is, although the proxy is forwarding correctly, Axis2 is taking the
> IP from the app server it is installed on, but using the port number from
> the web server in front of it. I want it to use both the IP and port
> number from the web server. Is this possible by Axis2 configuration?
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org