axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: transportReceiver and AxisServlet
Date Wed, 28 Mar 2012 20:18:07 GMT
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


Mime
View raw message