Thank you all for the help:
I did the next configuration in apache.conf to preflight request and all is ok.
<IfModule mod_axis2.c>
Axis2RepoPath /usr/lib/axis2
Axis2LogFile /var/log/axis2/axis2.log
Axis2LogLevel crit
Axis2ServiceURLPrefix services
<Location /axis>
SetHandler axis2_module
<Limit OPTIONS>
SetEnvIf Origin localhost|areyes|null ref
Header always set Access-Control-Allow-Methods POST,OPTIONS
Header always set Access-Control-Allow-Headers soapaction
Header always set Access-Control-Allow-Origin * env=ref
Header always set Content-Type application/xml
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule .* / [R=200,L]
</Limit>
</Location>
</IfModule>
I think it's important include it in the axis2c documentation.
Atanacio Reyes
________________________________
From: Damitha Kumarage <[email protected]>
To: Apache AXIS C User List <[email protected]>
Cc: Apache AXIS C User List <[email protected]>
Sent: Monday, November 21, 2011 3:21 AM
Subject: Re:
Axis2/C server can be configured to run with Apache2(recommended instead of
standalone Axis2/C server).
Since Apache2 can be configured for preflighted requests your requirement
should be possible.
Damitha
Atanacio Reyes wrote:
> Hi:
>
> can axis2c respond to preflight request?
>
> if a remote browser do a OPTIONS request and then a POST request how does
> axis2c can respond to that?
>
> it's possible?
-- __________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]