[Resin-interest] cxf / soap with 4.0.8
Hello With 4.0.8 the sample given http://wiki.caucho.com/CXF works. I can now create a soap service and call it. I can also generate wsdl with /adlsoap?wsdl request and could generate java classes from wsdl with cxf's wsdl2java. These 2 steps could be added to the wiki :) Now there are some details: - I still need to unzip package 3.1.9 to find the resin-support.jar which is needed, I suppose this could be added also in 4.0.8 package ? - I would like to put cxf libraries in a subfolder of lib, so I added this to web-app conf : class-loader library-loader path=WEB-INF/lib/soap/ /class-loader but it did not work. Thanks -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 Membre du réseau http://www.reflexe-conseil-centre.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cxf / soap with 4.0.8
Ooops ... it actually works all right with lib/soap/ subdirectory, I just modified the wrong file... :) By the way I noticed a very interesting file in the CXF lib directory : WHICH_JARS !! Could make my program work with only 12 libs/6Mb: commons-logging-1.1.1.jar cxf-2.2.9.jar geronimo-activation_1.1_spec-1.0.2.jar geronimo-annotation_1.0_spec-1.1.1.jar geronimo-javamail_1.4_spec-1.6.jar geronimo-stax-api_1.0_spec-1.0.1.jar jaxb-api-2.1.jar jaxb-impl-2.1.13.jar neethi-2.0.4.jar wsdl4j-1.6.2.jar wstx-asl-3.2.9.jar XmlSchema-1.4.5.jar It begins to be reasonable ! Riccardo Cohen wrote: Hello With 4.0.8 the sample given http://wiki.caucho.com/CXF works. I can now create a soap service and call it. I can also generate wsdl with /adlsoap?wsdl request and could generate java classes from wsdl with cxf's wsdl2java. These 2 steps could be added to the wiki :) Now there are some details: - I still need to unzip package 3.1.9 to find the resin-support.jar which is needed, I suppose this could be added also in 4.0.8 package ? - I would like to put cxf libraries in a subfolder of lib, so I added this to web-app conf : class-loader library-loader path=WEB-INF/lib/soap/ /class-loader but it did not work. Thanks -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 Membre du réseau http://www.reflexe-conseil-centre.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cxf / soap with 4.0.8
That's about what I had. However geronimo-javamail_1.4_spec-1.6.jar seemed unnecessary, plus I added spring.jar (3 MB) to config the services, but maybe Resin CanDI works just as well? /Mattias Riccardo Cohen wrote (2010-07-22 11:14): Ooops ... it actually works all right with lib/soap/ subdirectory, I just modified the wrong file... :) By the way I noticed a very interesting file in the CXF lib directory : WHICH_JARS !! Could make my program work with only 12 libs/6Mb: commons-logging-1.1.1.jar cxf-2.2.9.jar geronimo-activation_1.1_spec-1.0.2.jar geronimo-annotation_1.0_spec-1.1.1.jar geronimo-javamail_1.4_spec-1.6.jar geronimo-stax-api_1.0_spec-1.0.1.jar jaxb-api-2.1.jar jaxb-impl-2.1.13.jar neethi-2.0.4.jar wsdl4j-1.6.2.jar wstx-asl-3.2.9.jar XmlSchema-1.4.5.jar It begins to be reasonable ! Riccardo Cohen wrote: Hello With 4.0.8 the sample given http://wiki.caucho.com/CXF works. I can now create a soap service and call it. I can also generate wsdl with /adlsoap?wsdl request and could generate java classes from wsdl with cxf's wsdl2java. These 2 steps could be added to the wiki :) Now there are some details: - I still need to unzip package 3.1.9 to find the resin-support.jar which is needed, I suppose this could be added also in 4.0.8 package ? - I would like to put cxf libraries in a subfolder of lib, so I added this to web-app conf : class-loader library-loader path=WEB-INF/lib/soap/ /class-loader but it did not work. Thanks ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cxf / soap with 4.0.8
it seems so , for a simple web service with only one function . And it avoids spring loading which is rather good I beleive. Mattias Jiderhamn wrote: That's about what I had. However geronimo-javamail_1.4_spec-1.6.jar seemed unnecessary, plus I added spring.jar (3 MB) to config the services, but maybe Resin CanDI works just as well? /Mattias Riccardo Cohen wrote (2010-07-22 11:14): Ooops ... it actually works all right with lib/soap/ subdirectory, I just modified the wrong file... :) By the way I noticed a very interesting file in the CXF lib directory : WHICH_JARS !! Could make my program work with only 12 libs/6Mb: commons-logging-1.1.1.jar cxf-2.2.9.jar geronimo-activation_1.1_spec-1.0.2.jar geronimo-annotation_1.0_spec-1.1.1.jar geronimo-javamail_1.4_spec-1.6.jar geronimo-stax-api_1.0_spec-1.0.1.jar jaxb-api-2.1.jar jaxb-impl-2.1.13.jar neethi-2.0.4.jar wsdl4j-1.6.2.jar wstx-asl-3.2.9.jar XmlSchema-1.4.5.jar It begins to be reasonable ! Riccardo Cohen wrote: Hello With 4.0.8 the sample given http://wiki.caucho.com/CXF works. I can now create a soap service and call it. I can also generate wsdl with /adlsoap?wsdl request and could generate java classes from wsdl with cxf's wsdl2java. These 2 steps could be added to the wiki :) Now there are some details: - I still need to unzip package 3.1.9 to find the resin-support.jar which is needed, I suppose this could be added also in 4.0.8 package ? - I would like to put cxf libraries in a subfolder of lib, so I added this to web-app conf : class-loader library-loader path=WEB-INF/lib/soap/ /class-loader but it did not work. Thanks ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 Membre du réseau http://www.reflexe-conseil-centre.org ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cxf / soap with 4.0.8
Riccardo Cohen wrote: Hello With 4.0.8 the sample given http://wiki.caucho.com/CXF works. I can now create a soap service and call it. I can also generate wsdl with /adlsoap?wsdl request and could generate java classes from wsdl with cxf's wsdl2java. These 2 steps could be added to the wiki :) Now there are some details: - I still need to unzip package 3.1.9 to find the resin-support.jar which is needed, I suppose this could be added also in 4.0.8 package ? I've added a bug report at http://bugs.caucho.com/view.php?id=4134. There is extra work for 4.0.x because the remoting hasn't been updated to CDI yet. - I would like to put cxf libraries in a subfolder of lib, so I added this to web-app conf : class-loader library-loader path=WEB-INF/lib/soap/ /class-loader but it did not work. Can you try wrapping it with a prologue like: prologue class-loader library-loader path=WEB-INF/lib/soap/ /class-loader /prologue The *.xml files are evaluated in order, so it's possible that your class-loader is being evaluated after its needed for loading. The prologue should evaluate the class-loader earlier. If that doesn't work, you could change the library-loader path=WEB-INF/lib/ in the app-default.xml to a tree-loader. -- Scott Thanks ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest