Wiring up Bus without Spring

2014-09-09 Thread Matt Pavlovich
I’m trying to wire up a Bus without Spring, and include a couple extensions. Scanning through unit tests in the source gets me part of the way there. I see the Bus register via JMX, but the deployed service and CounterRepository doesn’t wire up to JMX correctly. Is there some order of operati

RE: Cont: upgrading cxf client to 3.0.1

2014-09-09 Thread Ed Bras
Thanks @Colm > However WS-SecurityPolicy "SignedParts" should meet your requirements How can I indicate that a certain signed part (like the RelatesTo field) is optional? I thought this isn't possible and this was the reason of David's solution: http://davidvaleri.wordpress.com/2010/09/15/signin

Re: Cont: upgrading cxf client to 3.0.1

2014-09-09 Thread Colm O hEigeartaigh
OPTIONAL_SIGNATURE_PARTS only works with the older approach of specifying "actions" for security - it doesn't work with WS-SecurityPolicy. However WS-SecurityPolicy "SignedParts" should meet your requirements. With regards to your other question, I think you need to create a testcase that reproduce

RE: Parsing SAML Assertion from XML

2014-09-09 Thread Stephen.CTR.Chappell
That looks perfect. Thanx, Colm! Stephen W. Chappell -Original Message- From: Colm O hEigeartaigh [mailto:cohei...@apache.org] Sent: Tuesday, September 09, 2014 11:35 AM To: users@cxf.apache.org Subject: Re: Parsing SAML Assertion from XML Hi Stephen, I would convert the XML String t

Cont: upgrading cxf client to 3.0.1

2014-09-09 Thread Ed Bras
Please some advice on the following cxf client config: After upgrading to 3.0.1. The security isn't included as it should. To solve this I currently try to use WS-SecurityPolicy auto config such that it's automatically included. Before I did this manual as I have optional filled fields that need

Re: Parsing SAML Assertion from XML

2014-09-09 Thread Colm O hEigeartaigh
Hi Stephen, I would convert the XML String to a DOM Element + use the WSS4J AssertionWrapper, e.g.: DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); InputStream in = new ByteArrayInputStream(assertionString.getBytes()); Document newDoc = dbf.newDocu

Parsing SAML Assertion from XML

2014-09-09 Thread Stephen.CTR.Chappell
I've inherited some legacy code that I need to update to handle SAML 2.0 assertions. Currently it handles SAML 1.1 assertions, which I still need it to do. The legacy code uses various flavors of CXF 2.3, WSS4J 1.5, and OpenSAML 1, so to do what I need to do I have to migrate to (at least) CXF 2

Re: Problem faced while deploying Apache CXF restful webservices in weblogic 12c.

2014-09-09 Thread Sergey Beryozkin
I've no idea really what can be done next, please continue experimenting, Sergey On 09/09/14 11:37, Puneet Gupta wrote: Hi Sergey, Thanks for your prompt response. When I have made changes as per the suggested URL, and below is my weblogic.xml: true true javax.ws.rs.* But when I go on f

Re: Problem faced while deploying Apache CXF restful webservices in weblogic 12c.

2014-09-09 Thread Puneet Gupta
Hi Sergey, Thanks for your prompt response. When I have made changes as per the suggested URL, and below is my weblogic.xml: true true javax.ws.rs.* But when I go on for deploying my EAR then I am getting below mentioned exception: Neither nor can be specified when is turned on in webl

Re: Problem faced while deploying Apache CXF restful webservices in weblogic 12c.

2014-09-09 Thread Sergey Beryozkin
Hi May be the following can help: http://cxf.apache.org/docs/jax-rs-deployment.html#JAX-RSDeployment-CXFRuntimeDelegate Cheers, Sergey On 09/09/14 10:48, Puneet Gupta wrote: Hi All, I am trying deploying my apache restful webservice in Weblogic12c application server and I am facing below issue

Problem faced while deploying Apache CXF restful webservices in weblogic 12c.

2014-09-09 Thread Puneet Gupta
Hi All, I am trying deploying my apache restful webservice in Weblogic12c application server and I am facing below issue: *

Re: forwardslash being escaped from json response

2014-09-09 Thread Sergey Beryozkin
The forward slashes are now not escaped by default on the trunk/branches, unless a " Cheers, Sergey On 19/08/14 17:33, Sergey Beryozkin wrote: Hi, On 19/08/14 14:33, franck wrote: Thanks Sergey Beryozkin. Will you create a new JIRA ticket for this purpose or is it already covered by an existin