You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by New2013 <he...@gmail.com> on 2013/04/24 14:44:56 UTC
Cfx web service and adobe crossdomain.xml
Hello I'm new to cfx. Please sorry for my awfull english.
I create ws using JAXWSServerFactoryBean. My web service is ok. But i have
trouble with accesses using Flex UI. I need to place crossdomain.xml file to
root folder of server. My web service is running at
http://localhost:8888/myservice. And i need access to file from url
http://localhost:8888/crossdomain.xml .
In tomcat for example i can simply add file to ROOT folder.
How can i add xml file to my server? Is it possible?
--
View this message in context: http://cxf.547215.n5.nabble.com/Cfx-web-service-and-adobe-crossdomain-xml-tp5726706.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Cfx web service and adobe crossdomain.xml
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 24/04/13 13:44, New2013 wrote:
> Hello I'm new to cfx. Please sorry for my awfull english.
> I create ws using JAXWSServerFactoryBean. My web service is ok. But i have
> trouble with accesses using Flex UI. I need to place crossdomain.xml file to
> root folder of server. My web service is running at
> http://localhost:8888/myservice. And i need access to file from url
> http://localhost:8888/crossdomain.xml .
> In tomcat for example i can simply add file to ROOT folder.
> How can i add xml file to my server? Is it possible?
>
See http://cxf.apache.org/docs/servlet-transport.html,
"Redirecting requests and serving the static content"
You should be able to configure CXFServlet to serve this crossdomain.xml
directly, using a "static-resources-list" parameter,
or redirect to the default servlet to do it, please follow the link at
the example (from that section) and give it a try
Cheers, Sergey
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Cfx-web-service-and-adobe-crossdomain-xml-tp5726706.html
> Sent from the cxf-user mailing list archive at Nabble.com.