Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A4B9995D for ; Wed, 28 Mar 2012 21:33:26 +0000 (UTC) Received: (qmail 28104 invoked by uid 500); 28 Mar 2012 21:33:25 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 27990 invoked by uid 500); 28 Mar 2012 21:33:25 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 27981 invoked by uid 99); 28 Mar 2012 21:33:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 21:33:25 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of amra@us.ibm.com designates 32.97.110.159 as permitted sender) Received: from [32.97.110.159] (HELO e38.co.us.ibm.com) (32.97.110.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2012 21:33:13 +0000 Received: from /spool/local by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 28 Mar 2012 15:32:51 -0600 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 28 Mar 2012 15:32:50 -0600 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 2901D19D804A for ; Wed, 28 Mar 2012 15:32:42 -0600 (MDT) Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q2SLWbmw084576 for ; Wed, 28 Mar 2012 15:32:40 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q2SLWZsd002425 for ; Wed, 28 Mar 2012 15:32:35 -0600 Received: from d27ml101.rchland.ibm.com (d27ml101.rchland.ibm.com [9.10.229.40]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q2SLWUnn001913 for ; Wed, 28 Mar 2012 15:32:30 -0600 In-Reply-To: References: <1562181587.19000.1332790589521.JavaMail.tomcat@hel.zones.apache.org> To: java-dev@axis.apache.org MIME-Version: 1.0 Subject: Re: transportReceiver and AxisServlet X-KeepSent: 26F6AADE:FF530F6C-862579CF:007603EA; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.1FP5 SHF29 November 12, 2010 Message-ID: From: Nadir Amra Date: Wed, 28 Mar 2012 16:32:28 -0500 X-MIMETrack: Serialize by Router on d27ml101/27/M/IBM(Release 8.5.3|September 15, 2011) at 03/28/2012 04:32:30 PM, Serialize complete at 03/28/2012 04:32:30 PM Content-Type: multipart/alternative; boundary="=_alternative 00765C08862579CF_=" X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12032821-5518-0000-0000-00000348A1B2 --=_alternative 00765C08862579CF_= Content-Type: text/plain; charset="US-ASCII" Andreas, Can one specify httpFrontendHostUrl multiple times (i.e. one for http and one for https)? And what exactly should one specify for this parameter? Up to the context? (If this is documented somewhere please let me know.) Thanks Nadir Amra Internet: amra@us.ibm.com Andreas Veithen wrote on 03/28/2012 03:18:07 PM: > From: Andreas Veithen > To: java-dev@axis.apache.org > Date: 03/28/2012 03:31 PM > Subject: Re: transportReceiver and AxisServlet > > In that scenario, you should declare an http transport in axis2.xml > and use the httpFrontendHostUrl parameter to configure the URLs > exposed in the WSDL. > > Andreas > > On Wed, Mar 28, 2012 at 21:59, Nadir Amra wrote: > > I have an HTTP server as a front-end to an application server contains > > Axis2. In the Axis2.XML file I have defined a transportReceiver for https. > > There is no transport receiver for http. > > > > I want to be able to by-pass the HTTP server and send requests to Axis2 over > > http. Currently, if I attempt to do this I get the following exception: > > > > AxisServlet: javax.servlet.ServletException: http is forbidden. > > > > I do not want to define a transport receiver for http because I do not want > > http exposed in the WSDL files. > > > > Is there a way to do this? And if not, do you think I should open a JIRA > > requesting this support? I would probably work on it to get it supported - > > probably by simply adding a configuration variable in axis2.xml that > > indicates that requests that do not have transport receivers should be > > allowed - i.e. no exception should be thrown. > > > > Comments? > > > > > > Nadir Amra > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org > For additional commands, e-mail: java-dev-help@axis.apache.org > --=_alternative 00765C08862579CF_= Content-Type: text/html; charset="US-ASCII" Andreas,

Can one specify httpFrontendHostUrl multiple times (i.e. one for http and one for https)?

And what exactly should one specify for this parameter? Up to the context? (If this is documented somewhere please let me know.)

Thanks

Nadir Amra
Internet: amra@us.ibm.com


Andreas Veithen <andreas.veithen@gmail.com> wrote on 03/28/2012 03:18:07 PM:

> From: Andreas Veithen <andreas.veithen@gmail.com>

> To: java-dev@axis.apache.org
> Date: 03/28/2012 03:31 PM
> Subject: Re: transportReceiver and AxisServlet
>
> In that scenario, you should declare an http transport in axis2.xml
> and use the httpFrontendHostUrl parameter to configure the URLs
> exposed in the WSDL.
>
> Andreas
>
> On Wed, Mar 28, 2012 at 21:59, Nadir Amra <amra@us.ibm.com> wrote:
> > I have an HTTP server as a front-end to an application server contains
> > Axis2.   In the Axis2.XML file I have defined a transportReceiver for https.
> >  There is no transport receiver for http.
> >
> > I want to be able to by-pass the HTTP server and send requests to Axis2 over
> > http.  Currently, if I attempt to do this I get the following exception:
> >
> > AxisServlet: javax.servlet.ServletException: http is forbidden.
> >
> > I do not want to define a transport receiver for http because I do not want
> > http exposed in the WSDL files.
> >
> > Is there a way to do this?  And if not, do you think I should open a JIRA
> > requesting this support?  I would probably work on it to get it supported -
> > probably by simply adding a configuration variable in axis2.xml that
> > indicates that requests that do not have transport receivers should be
> > allowed - i.e. no exception should be thrown.
> >
> > Comments?
> >
> >
> > Nadir Amra
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
--=_alternative 00765C08862579CF_=--