> Date: Thu, 17 Apr 2014 08:35:39 +0200
> From: a.cappe...@gmail.com
> To: java-user@axis.apache.org
> Subject: Dynamic wsdl
>
> Hi list,
> I'm newbie of Axis
>
> I started managing an old app using Axis2 1.5.3 that runs on jetty 9.1.3
> which listen http on a specific port furthermore; the app is proxied on
> port 443 by apache2.2 using a proxypass directive for "public" use and
> on port 80 on a local (private) address
>
> My problem is that I would have the wsdl dymamic generated (with correct
> endpoint) based on the "intermediate" source the request come from
> (direct from jetty, apache on 443, apache on 80)
>
> Let me explain with an example
>
> 1) I have a server with 2 interfaces, one public (IP 1.1.1.1) and one
> private (IP 192.168.1.1)
> 2) jetty runs on port 8090 on the private IP
> 3) apache runs port 443 on public interface (ServerName
> publicdomain.com) and 80 on private interface (with ServerName domain.local)
> 4) the app is called myapp and exposes a service myservice
> 5) In apache vhost I set ProxyPreserveHost and a ProxyPass like /myapp
> http://192.168.1.1:8090/myapp
> 6) apach
>
> What I want is that
> 1) when someone hit https://domain.com/myapp/services/myservice?wsdl the
> endpoint in wsdl contains https://domain.com:443/myapp/services/myservice
> 2) when someone hit http://domain.local/myapp/services/myservice?wsdl
> the endpoint in wsdl contains
> http://domain.local:80/myapp/services/myservice
> 3) when someone hit
> http://domain.local:8090/myapp/services/myservice?wsdl the endpoint in
> wsdl contains http://domain.local:8090/myapp/services/myservice
MG>Port Address translation or PAT is explained at
MG>http://www.dslreports.com/faq/13449
MG>Cisco has ASA-5500 ADSM Product which will configure NAT/PAT for IP access
outside of your DMZ
MG>http://www.cisco.com/c/en/us/td/docs/security/asa/asa83/asdm63/configuration_guide/config/public_servers.html
> How can accomplish this?
>
> Thank you
>
> --
> Andrea Cappelli
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>