RE: Example to program client signature properties

2013-10-29 Thread r . keegstra
Hi Andrei, Thanx for your answer. It is exactly what I meant, you did understand me correctly, so I won't go that way. Regards, Ralph From: Andrei Shakirin To: "users@cxf.apache.org" Cc: "r.keegs...@pantheon-automatisering.nl" Date: 29-10-2013 16:30 Subject: RE: Example to program client

Example to program client signature properties

2013-10-29 Thread r . keegstra
Hi, For the client I'm building with cxf 2.7.7 I would like an example to program the client signature properties. For now I'm user a properties file: bindingProvider = (BindingProvider) port; bindingProvider.getRequestContext().put(SecurityConstants.SIGNATURE_PROPERTIES, keystore.properties);

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-15 Thread r . keegstra
Hi Colm, It works!!! Thank you very much for you're effort! Adding wsam: works. I've send an e-mail to the maintainers of the WSDL with the remarks. But my client is working! Many thanks, Ralph From: Colm O hEigeartaigh To: "users@cxf.apache.org" Date: 15-08-2013 11:19 Subject: Re: org.apac

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-09 Thread r . keegstra
Hi Colm, To get my client working with the config I tried a lot of things, but I did’n succeed so far, the message didn’t get signed. But I have an other question. Is it possible to set these parameters in Java? I can’t find any example that sets this runtime. For our application these settings

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-02 Thread r . keegstra
OK thank you very much! I'm getting a little further, but I think I'm running against a problem I had/made before. But now I get the following error: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied: {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-02 Thread r . keegstra
Map inProps = new HashMap(); inProps.put(WSHandlerConstants.SIG_PROP_FILE, "server_sign.properties"); inProps.put(WSHandlerConstants.ACTION, WSHandlerConstants.TIMESTAMP + " " + WSHandlerConstants.SIGNATURE); bindingProvider.getResponseContext().put("password", "x"); inPro

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-02 Thread r . keegstra
Hi Colm, He doesn't reach the point you asked for. In 'org.apache.cxf.ws.policy.AssertionInfoMap.java' checkEffectivePolicy he doesn't find any validated policy, the ArrayList validated is empty, the ArrayList errors contains 50. He throws at line 179 an exception (cxf 2.7.6). This method is c

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-02 Thread r . keegstra
Hi, This comes from the WSDL as it is given to me. When generated with all three policies enabled, the first is used I believe. I just tried to generate with only one enabled. I tried three times (one time for Basic128Rsa15, one time for Basic256Ras15 and one time for TripleDesRsa15), all the

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Dear Colm, To develop this client I'm using Eclipse. I haven't successfully changed the loglevel from INFO to FINE of the java.util.logging. I tried log4j and got a bit more log, but I'm afraid it is not what your looking for. Next monday I'm going to try to get more logging with the default lo

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Hi, Because the formatting was crappy an attachement. From: Colm O hEigeartaigh To: "users@cxf.apache.org" Date: 01-08-2013 10:09 Subject: Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied: Hi, It looks like the service is processing the CXF re

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Hi and thanx so far! You probably wanted to see the next piece of the wsdl:

Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-08-01 Thread r . keegstra
Dear Colm, Sorry i didn't see your previous response. Because of my great e-mail client (Notus ;) ) I wasn't properly connected to the mailinglist, apologies for the inconvenience. I don't know how to get the security policy of the service. I added the message I send to the server. (I've removed

org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-07-31 Thread r . keegstra
Dear CXF Support, First, I am a newbie with CXF. I am writing a CXF client to interact with the government. I am able to send a message. But when I receive the response my client crashes. Below is the stacktrace. I'm using CXF 2.7.6. I am using Java 1.6.45. If you need more info, please let me

org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not be satisfied:

2013-07-31 Thread r . keegstra
Hi all, First, I am a newbie with CXF. I am writing a CXF client to interact with the government. I am able to send a message. But when I receive the response my client crashes. Below is the stacktrace. I'm using CXF 2.7.6. I am using Java 1.6.45. If you need more info, please let me know as I