Hi there I have deployed CXF in Websphere successfully. I've tested it with WS-Security and SAML 2.0 also and it works.
But you have to add the following dependency to your pom: <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.saaj-impl</artifactId> <version>1.3.9_2</version> </dependency> Ensure, that the saaj API is not deployed. You can deploy the CXF libraries either in WEB-INF\lib or "shared library". HTH Oli ----- Oliver Wulff http://owulff.blogspot.com Solution Architect Talend Application Integration Division http://www.talend.com ________________________________________ Von: Freeman Fang [[email protected]] Gesendet: Montag, 16. Januar 2012 07:37 Bis: [email protected] Betreff: Re: Unexpected EOF in prolog problem using CXF 2.5.1 with WebSphere 7.0 Hi, I think this article[1] should be helpful for you, which is from IBM and explain how to deploy cxf in WAS7 [1]http://www.ibm.com/developerworks/websphere/library/techarticles/1001_thaker/1001_thaker.html Freeman On 2012-1-15, at 下午4:27, jayaprakash wrote: > Hi Mark, > > Thanks for your reply, > > We have done the following settings before posting the message and > it is > giving the same error. > > The below *Bold * are the answers for your queries, > 1) Are the CXF jars you need in the WEB-INF/lib of the WAR? > *Yes, we have placed all the CXF jars in the WEB-INF/lib of the WAR.* > 2) Make sure classloader policy is PARENT LAST and classloader *per > application*. > > *Yes, we have made above setting also* > 3) Are you using only the CXF JAR files you need? > *Yes, We are using only required CXF jar only.* > > Thanks, > Jayaprakash. > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Unexpected-EOF-in-prolog-problem-using-CXF-2-5-1-with-WebSphere-7-0-tp5145284p5146107.html > Sent from the cxf-user mailing list archive at Nabble.com. --------------------------------------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com
