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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to