Re: General security error (WSSecurityEngine: No password callback supplied)

2011-10-04 Thread Glen Mazza
I'm not sure exactly of your security needs but links #1, #2, and #4 under "security" on my blog might help you: http://www.jroller.com/gmazza/entry/blog_article_index Normally that error indicates some callback handler that provides passwords for either security keystores or usernames (in th

Re: General security error (WSSecurityEngine: No password callback supplied)

2011-10-04 Thread fachhoch
here the complete stack trace -- View this message in context: http://cxf.547215.n5.nabble.com/General-security-error-WSSecurityEngine-No-password-callback-supplied-tp4870500p4870507.html Sent from the cxf-user mailing list archive at Nabble.com.

General security error (WSSecurityEngine: No password callback supplied)

2011-10-04 Thread fachhoch
I am trying to write client using cxf 2.2.6 ,wss4j.jar 1.5.8 and spring,the webservice hosted by our partners is on https ssl, I am getting this error. Please advice me what could be the cause of this error. below are partial logs Alos I tried searching for similar error but found noth

Re: wsdl4j.jar...

2011-10-04 Thread Daniel Kulp
On Tuesday, October 04, 2011 11:08:44 AM STEVEN THEIN wrote: > Hi all, > Is there a similar jar file that I can swap with wsdl4j.jar. I am > trying to find an alternative jar because of wsdl4j.jar license type. Not that I'm aware of, no. The axis folks had a apache licensed one time "fork"

Re: How to control Jettison prefix mapping in Spring context?

2011-10-04 Thread Sergey Beryozkin
Try setting a namespace map: http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-ConfiguringJSONprovider or set "ignoreNamespaces" property if you do not need them Cheers, Sergey On 04/10/11 17:09, KARR, DAVID wrote: I'm finding that I need to control the prefix mapping us

How to control Jettison prefix mapping in Spring context?

2011-10-04 Thread KARR, DAVID
I'm finding that I need to control the prefix mapping used by Jettison. I started out using the default, which resulted in "ns1", but then I noticed that in integration tests it's coming out as "cns". I can't have it "changing its mind", because my client code isn't that flexible. I found the

RE: Problems with initializing context in integration test of CXF app

2011-10-04 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, September 02, 2011 3:34 PM > To: users@cxf.apache.org > Subject: Problems with initializing context in integration test of CXF > app > > I'm having trouble with an integration test (I hate calling them "unit > tests" if they really a

RE: Still having trouble with integration test using JAXRSServerFactoryBean and SpringJUnit4ClassRunner

2011-10-04 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Monday, September 12, 2011 12:10 PM > To: users@cxf.apache.org > Subject: Still having trouble with integration test using > JAXRSServerFactoryBean and SpringJUnit4ClassRunner > > I posted about this last Thursday, but I still need some help

wsdl4j.jar...

2011-10-04 Thread STEVEN THEIN
Hi all, Is there a similar jar file that I can swap with wsdl4j.jar. I am trying to find an alternative jar because of wsdl4j.jar license type. Thanks Steve

Best practice to pass service URL and parameter

2011-10-04 Thread Guy Pardon
Hi, I am looking for a simple way to let a JAX-WS service return a reference to itself, with some parameter values to include. Kind of REST-y but with SOAP. The idea is that the consumer can store the reference data Are there any best practices that are also WS-I (BP) compliant? Simplicity is

Re: CXF-DOSGI subproject ML?

2011-10-04 Thread Sergey Beryozkin
Thanks - I'll deal with asap Cheers, Sergey On 28/09/11 19:01, AndrĂ¡s Liter wrote: Hello Sergey, I think I have found the problem, considering the following code: http://svn.apache.org/repos/asf/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/ServiceInvocationHandler

AW: Interceptor implementation - how to find current location

2011-10-04 Thread Oliver Wulff
Jerry, the class org.apache.cxf.message.MessageUtils provides some helper methods to figure out other context information besides whether I'm the requestor. Thanks Oli Von: Gerald Preissler [gpreiss...@talend.com] Gesendet: Dienstag, 4. Oktober 2011 13:05

Re: WS-Policy alternatives

2011-10-04 Thread Marc Giger
On Tue, 04 Oct 2011 10:16:14 +0200 Alessio Soldano wrote: > You can configure the org.apache.cxf.ws.policy.AlternativeSelector [1] > to be used in the Bus, either through the spring configuration or with > something like: > > bus.getExtension(PolicyEngine.class).setAlternativeSelector(new > Maxi

Re: Interceptor implementation - how to find current location

2011-10-04 Thread Gerald Preissler
Willem, thanks for the hint - I've got it integrated and it works like described. Regards Jerry On 09/30/2011 12:20 PM, Willem Jiang wrote: You can use below code to tell if the messsage is from client. Boolean.TRUE.equals(message.get(Message.REQUESTOR_ROLE)) On Fri Sep 30 17:40:10 2011, G

Re: Marshalling REST Query Parameter directly into Integer Array

2011-10-04 Thread Sergey Beryozkin
See comments inline On 04/10/11 09:33, Kiren Pillay wrote: Thanks Sergei, I was on the wrong track, but thanks to your testcase I can see now that I should pass in array variables as: http://localhost:8080/testMyRest/time?index=1&index=2&index=3 and I was trying to achieve this kind of request

Re: JMS Message Correlation in CXF 2.3+

2011-10-04 Thread Jens
Hi Christian, unfortunately, no. I have never been able to correlate anything with WebSphere MQ without using the conduitIdSelectorPrefix. (That's what the option is for, I presume?) Regards, Jens Christian Schneider wrote: > > Hi Jens, > > thanks for the explanation. Now I understand your us

Re: Marshalling REST Query Parameter directly into Integer Array

2011-10-04 Thread Kiren Pillay
Thanks Sergei, I was on the wrong track, but thanks to your testcase I can see now that I should pass in array variables as: http://localhost:8080/testMyRest/time?index=1&index=2&index=3 and I was trying to achieve this kind of request (more human/tester friendly) http://localhost:8080/testMyRest/

Re: JMS Message Correlation in CXF 2.3+

2011-10-04 Thread Christian Schneider
Hi Jens, thanks for the explanation. Now I understand your use case. You need the separate replyToDestination to tell the server to send to its local queue. While I think this should be rather hidden from the client I can imagine that it is necessary. So I think you should be able to just lea

Re: WS-Policy alternatives

2011-10-04 Thread Alessio Soldano
You can configure the org.apache.cxf.ws.policy.AlternativeSelector [1] to be used in the Bus, either through the spring configuration or with something like: bus.getExtension(PolicyEngine.class).setAlternativeSelector(new MaximalAlternativeSelector()); The default selector is the MinimalAlternati

Re: JMS Message Correlation in CXF 2.3+

2011-10-04 Thread Jens
Hi Christian, they must be set to different names because the server is listening on a different queue at a different queue manager, and it doesn't know the local queue manager my application is talking to. My application sends its messages to a local queue that automatically forwards to the other