Hi,
I'm running CXF 2.7.11 and tried to disable the policy engine as suggested
with:
and with
I added necessary namespace and xsd references and beans.xml validates
properly.
When I run the application I get a NullPointerException in:
org.apache.cxf.transport.http.HTTPConduit
As ws-policy engine is enabled by default in cxf-2.7.6, which is being used
by camel-2.12.0 & already you have some homegrown security & policy handling
mechanism in-place, the easies option is to disable policy feature on
cxf-camel endpoint.
How about specifying the feature
on CXF bus :
>
>
>
>
> bean="customUserValidator" />
>
>
> class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
>
>
>
----------------------
*/But i am getting the following exception from ws-security layer:/*
org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not
13 11:19
Subject:
Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
can not be satisfied:
I believe there are two problems with your WSDL policy:
1) There is no such policy "{http://www.w3.org/2007/05/addressing/metadata
}Anonymous" defined in the specification:
http://
OptimizedMimeSerialization
> AnonymousResponses
>
> I attached the log as txt.
>
> Is this a settings problem or is there something else?
>
> Ralph
>
>
> From: Colm O hEigeartaigh To: "users@cxf.apache.org"
> Date: 13-08-2013 16:46 Subject: Re:
> org.apache.c
quot;
> Date: 09-08-2013 17:33 Subject: Re:
> org.apache.cxf.ws.policy.PolicyException: These policy alternatives can not
> be satisfied:
> --
>
>
>
> Yes, you can set all of the parameters for WS-SecurityPolicy in Java. All
> of the configur
lm.
>
>
> On Fri, Aug 2, 2013 at 2:51 PM,
> wrote:
>
> > 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.cx
st 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/200702
> }AsymmetricBinding: Received Timestamp does not match
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/200702
> }AsymmetricBinding: Received Timestamp does not match the requirements
>
> Which doesn't suppris
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-secu
n.properties, I want to set that
> dynamic.
>
> Ralph
>
>
>
>
> From:
> Colm O hEigeartaigh
> To:
> "users@cxf.apache.org"
> Date:
> 02-08-2013 15:04
> Subject:
> Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
> can not
To:
"users@cxf.apache.org"
Date:
02-08-2013 15:04
Subject:
Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
can not be satisfied:
As a sanity check, can I see your CXF client configuration?
PolicyVerificationInInterceptor does run after
PolicyBasedWSS4JInInte
]}
>
> If you need to know something else, let me know!
>
> Ralph
>
>
>
> From:
> Colm O hEigeartaigh
> To:
> "users@cxf.apache.org"
> Date:
> 02-08-2013 12:57
> Subject:
> Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
> can not be satisfied:
>
&
icy/optimizedmimeserialization
}OptimizedMimeSerialization:false]}
If you need to know something else, let me know!
Ralph
From:
Colm O hEigeartaigh
To:
"users@cxf.apache.org"
Date:
02-08-2013 12:57
Subject:
Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
can not
yes how
> do I do that?
>
> Ralph
>
>
>
>
> From:
> Colm O hEigeartaigh
> To:
> "users@cxf.apache.org"
> Date:
> 02-08-2013 12:34
> Subject:
> Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
> can not be satisfied:
rtaigh
To:
"users@cxf.apache.org"
Date:
02-08-2013 12:34
Subject:
Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
can not be satisfied:
Hi,
I'm not sure if this is the cause of the problem, but the following policy
is not valid:
dn't contain a attachement. But in the mean time I
> managed to get a better log. I will attach it as .txt
>
>
>
> From: Colm O hEigeartaigh To: "users@cxf.apache.org"
> Date: 01-08-2013 10:48 Subject: Re:
> org.apache.cxf.ws.policy.PolicyException
ing with the default logger. But
attached the log so far with log4j (but it's missing a lot if you ask me).
From:
Colm O hEigeartaigh
To:
"users@cxf.apache.org"
Date:
01-08-2013 10:48
Subject:
Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives
can not be s
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 request corre
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 processi
0401-wss-wssecurity-utility-1.0.xsd'
and local-name()='Timestamp']
From:
Colm O hEigeartaigh
To:
"users@cxf.apache.org"
Date:
01-08-2013 10:09
Subject:
Re: org.apache.cxf.ws.policy.
eived is the text I copied from the log. I also added the
> logging I get at the moment.
>
> Ralph
>
>
>
>
> From: Colm O hEigeartaigh To: "users@cxf.apache.org"
> Date: 01-08-2013 09:34 Subject: Re:
> org.apache.cxf.ws.policy.PolicyException: These policy
re info, please let me know as I don't exactly know what info
> you need to help me.
> Please help me, I'm stuck.
>
> Ralph Keegstra
>
> org.apache.cxf.ws.policy.PolicyException: These policy alternatives can
> not be satisfied:
> {http://docs.oasis-open.org/
to help me.
> Please help me, I'm stuck.
>
> Ralph Keegstra
>
> org.apache.cxf.ws.policy.PolicyException: These policy alternatives can
> not be satisfied:
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
> }AsymmetricBinding
> {http://docs.oasis-open
et me know as I don't exactly know what info
you need to help me.
Please help me, I'm stuck.
Ralph Keegstra
org.apache.cxf.ws.policy.PolicyException: These policy alternatives can
not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}AsymmetricBinding
{ht
lp me.
> Please help me, I'm stuck.
>
> org.apache.cxf.ws.policy.PolicyException: These policy alternatives can
> not be satisfied:
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
> }AsymmetricBinding
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
> {http://docs.oasis
as I don't exactly know what info
you need to help me.
Please help me, I'm stuck.
org.apache.cxf.ws.policy.PolicyException: These policy alternatives can
not be satisfied:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}AsymmetricBinding
{http://docs.oasis-op
28 matches
Mail list logo