Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B597B108AC for ; Thu, 17 Apr 2014 06:36:14 +0000 (UTC) Received: (qmail 38579 invoked by uid 500); 17 Apr 2014 06:36:12 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 38533 invoked by uid 500); 17 Apr 2014 06:36:11 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 38525 invoked by uid 99); 17 Apr 2014 06:36:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 06:36:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of a.cappelli@gmail.com designates 74.125.83.49 as permitted sender) Received: from [74.125.83.49] (HELO mail-ee0-f49.google.com) (74.125.83.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 06:36:04 +0000 Received: by mail-ee0-f49.google.com with SMTP id c41so220125eek.36 for ; Wed, 16 Apr 2014 23:35:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=oTtWKQ+fI8RnhOjLEvRk7H/nlMMLDSGjyM/ynfrnvfc=; b=vXRFTCp1EgwHR3qzFzSNFpY7GI9U4FHWExemRmej0Eyw/2jwON1C23OZ9seey7SZ/Y uaRKov2h4cnyNlX72OlERvcWiyBGHJdI/nF8H6eoxb7cMS33dafm2hsOBTjgx3ADrjCB HIA4CxJkhhE5v+wHDFBxpF0mut0q3JUZ1VVa7btwWwZMbr6OBxDEV8Clim9KqfKK0Hne 8sVH7YILYWpqpUwxoRW1v2ZX2tmfWm3m3FyYfaRf+Y6XWjmGlpekgujg452PX7vAUiT1 yocDUu+fuM8U9551Imub2wycP2vXABAu5mAyBdi/90xXk/cXpiNP2Ea8MBNTv2H/cq9S aZJA== X-Received: by 10.15.49.65 with SMTP id i41mr442816eew.87.1397716542548; Wed, 16 Apr 2014 23:35:42 -0700 (PDT) Received: from [192.168.14.33] (adsl-ull-231-51.40-151.net24.it. [151.40.51.231]) by mx.google.com with ESMTPSA id s46sm64423501ees.3.2014.04.16.23.35.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 23:35:41 -0700 (PDT) Message-ID: <534F763B.30809@gmail.com> Date: Thu, 17 Apr 2014 08:35:39 +0200 From: Andrea Cappelli User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: java-user@axis.apache.org Subject: Dynamic wsdl Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 How can accomplish this? Thank you -- Andrea Cappelli --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org For additional commands, e-mail: java-user-help@axis.apache.org