Re: Using CXF inside Apache Karaf

2014-11-20 Thread Joel Pearson
Ok, I finally figured out what was going on. I failed to mention that I was running karaf using the web demo, when it starts up the container on the inside a jetty container. I finally tried starting karaf the normal way and it worked properly, when I looked at the talend esb running in java visu

Re: Using CXF inside Apache Karaf

2014-11-20 Thread Joel Pearson
Hmm I can't figure out what the Talend ESB is doing differently to have CXF configured correctly. I tried karaf 2.3.8 and 2.3.9 and both failed the same as 3.0.2 I guess I'll have to use the Talend ESB for the time being, but it has so much more installed than I need, and I was hoping to keep a lo

Re: Using CXF inside Apache Karaf

2014-11-20 Thread Joel Pearson
So I downloaded the talend esb version 5.6.0 and it worked! So I guess it's either a problem with Karaf 3 or just that it needs more config, I will try karaf 2.3.9, because from what I can tell talend esb is karaf 2.3.8 -- View this message in context: http://cxf.547215.n5.nabble.com/Using-CXF

Re: Using CXF inside Apache Karaf

2014-11-20 Thread Joel Pearson
I decided to find out which jar was missing from the classpath, and it turns out it is the cxf-rt-frontend-jaxws-2.7.13.jar (I switched to 2.7.13 from 2.7.11, I also tried 3.0.2, but my project had compilation errors and I'd prefer not to upgrade to 3 just now). Do I need to do something special t

Re: Using CXF inside Apache Karaf

2014-11-20 Thread Joel Pearson
cschneider wrote > Try something this: > feature:repo-add cxf 3.0.2 > feature:install cxf cxf-rt-security That did install the cxf-rt-security feature, which was previously marked as not installed. However it didn't help. I tried all sorts of combinations in the Import package section, trying to

Re: Using CXF inside Apache Karaf

2014-11-18 Thread Joel Pearson
Ok I think I got to the bottom of my problem, I'm new to OSGi, so I think I haven't correctly setup the dependencies. I noticed this in the logs: 2014-11-19 15:46:49,715 | WARN | h for user karaf | EffectiveAlternativeSelector | - - | WSP0075: Policy assertion "{http://docs.oasis-open.org

Re: Using CXF inside Apache Karaf

2014-11-17 Thread Joel Pearson
splay/liquid/2011/12/22/Karaf+Tutorial+Part+4+-+CXF+Services+in+OSGi > > Christian > > On 18.11.2014 07:15, Joel Pearson wrote: > > > Hi, > > > > I'm trying to use CXF 2.7.11 inside Apache Karaf > > > > I am using Karaf 3.0.2

Using CXF inside Apache Karaf

2014-11-17 Thread Joel Pearson
Hi, I'm trying to use CXF 2.7.11 inside Apache Karaf I am using Karaf 3.0.2 (with Felix not the eclipse one) I installed CXF by running: feature:repo-add mvn:org.apache.cxf.karaf/apache-cxf/2.7.11/xml/features feature:install cxf I have been following Daniel's blog post from 3 years ago about

RE: This mailing list seems broken to send replies from Nabble now [SEC=UNCLASSIFIED]

2014-06-25 Thread Joel Pearson
, 26 June 2014 5:39 AM To: users@cxf.apache.org; Joel Pearson Subject: Re: This mailing list seems broken to send replies from Nabble now [SEC=UNCLASSIFIED] On Jun 25, 2014, at 12:52 AM, Joel Pearson mailto:joel.pear...@ipaustralia.gov.au>> wrote: This mailing list seems broken to send rep

This mailing list seems broken to send replies from Nabble now [SEC=UNCLASSIFIED]

2014-06-24 Thread Joel Pearson
This mailing list seems broken to send replies from Nabble now. Did some SPF checking get switched on in the last day or so? -- This message contains privileged and confidential information only for use by the intended recipient. If you are not the intended recipient of this message, you mus

Re: CXF "String" transport? [SEC=UNCLASSIFIED]

2014-06-24 Thread Joel Pearson
Willem.Jiang wrote You may consider to take a look at the log interceptor[1][2], you can intercept the request message do want to you want there. [1]https://cxf.apache.org/javadoc/latest/org/apache/cxf/interceptor/LoggingInInterceptor.html [2]https://cxf.apache.org/javadoc/latest/org/apache/cxf/i

Re: Possible to use arbitrary xml with a JAX-WS client and JAXB?

2014-04-30 Thread Joel Pearson
erviceUtils.class.getResourceAsStream("/seekBookResponse.xml")); > > > Object[] response = client.invoke(operationName, request); > > > > The first option is more flexible and generic, the second one is easy to > implement. > > > > Regards, > >

Re: Possible to use arbitrary xml with a JAX-WS client and JAXB?

2014-04-28 Thread Joel Pearson
Hi Andrei, I did forget to mention that I wanted to send an arbitrary xml as the body, but I still wanted ws policy to apply to the security header. So I presume if I create a service the usual way that includes the WSDL with the WS-Policy, createDispatch like you mentioned then I can just set al