Hi. I'm trying to create a toy example to access a web service from OSGi+CXF based client. It's easy to do this on non-OSGi environment, but I cannot do it on OSGi + Spring DM.
What's the minimal set of bundles I need to run the following process? I want to do the following: 1. Generate client code from WSDL by Maven cxf plugin. 2. Create a bean from web service stub class 3. Inject it to my client code I thought this was simple, but even a "hello world" style toy web service client is very hard to implement due to the complicated dependency... I'm trying to use the following public services: http://www.ebi.ac.uk/intact/psicquic/webservices http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/eutils.wsdl Environment: RHEL 5 (2.6.18-92.1.13.el5) 64bit Java SE 6 64 bit build 1.6.0_11-b03 Dependency: <dependencies> <dependency> <groupId>org.apache.commons</groupId> <artifactId>com.springsource.org.apache.commons.logging</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>org.jdom</groupId> <artifactId>com.springsource.org.jdom</artifactId> <version>1.0.0</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-beans</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.aopalliance</groupId> <artifactId>com.springsource.org.aopalliance</artifactId> <version>1.0.0</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-io</artifactId> <version>${spring.osgi.version}</version> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-core</artifactId> <version>${spring.osgi.version}</version> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-extender</artifactId> <version>${spring.osgi.version}</version> </dependency> <dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-service</artifactId> <version>0.5.1</version> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.locator</artifactId> <version>${servicemix.specs.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.saaj-api-1.3</artifactId> <version>${servicemix.specs.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.stax-api-1.0</artifactId> <version>${servicemix.specs.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.jaxb-api-2.1</artifactId> <version>${servicemix.specs.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.specs</groupId> <artifactId>org.apache.servicemix.specs.jaxws-api-2.1</artifactId> <version>${servicemix.specs.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.xmlschema</artifactId> <version>${xmlschema.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.xmlresolver</artifactId> <version>${xmlresolver.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.neethi</artifactId> <version>${neethi.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.wsdl4j</artifactId> <version>${wsdl4j.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.xmlsec</artifactId> <version>${xmlsec.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.wss4j</artifactId> <version>${wss4j.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.jaxb-impl</artifactId> <version>${jaxbimpl.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.asm</artifactId> <version>${asm.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.woodstox</artifactId> <version>${woodstox.bundle.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-bundle</artifactId> <version>${cxf.version}</version> </dependency> </dependencies> <properties> <cxf.version>2.1.4</cxf.version> <felix.version>1.4.1</felix.version> <spring.version>2.5.6</spring.version> <spring.osgi.version>1.1.2</spring.osgi.version> <servicemix.specs.version>1.1.1</servicemix.specs.version> <jetty.version>6.1.9</jetty.version> <xmlschema.bundle.version>1.4.2_1</xmlschema.bundle.version> <xmlresolver.bundle.version>1.2_1</xmlresolver.bundle.version> <neethi.bundle.version>2.0.4_1</neethi.bundle.version> <wsdl4j.bundle.version>1.6.1_1</wsdl4j.bundle.version> <wss4j.bundle.version>1.5.4_1</wss4j.bundle.version> <xmlsec.bundle.version>1.3.0_1</xmlsec.bundle.version> <asm.bundle.version>2.2.3_1</asm.bundle.version> <woodstox.bundle.version>3.2.7_1</woodstox.bundle.version> <jaxbimpl.bundle.version>2.1.6_1</jaxbimpl.bundle.version> <felix.plugin.version>1.4.0</felix.plugin.version> </properties> Thanks. Kei -- Keiichiro Ono [email protected] Cytoscape Core Developer Team: http://www.cytoscape.org/ UCSD Bioengineering Ideker Lab: http://chianti.ucsd.edu/idekerlab/
