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 the SecurityToken 
for security reasons).
The message I received is the text I copied from the log. I also added the 
logging I get at the moment.

Ralph





From:
Colm O hEigeartaigh <cohei...@apache.org>
To:
"users@cxf.apache.org" <users@cxf.apache.org>
Date:
01-08-2013 09:34
Subject:
Re: org.apache.cxf.ws.policy.PolicyException: These policy alternatives 
can not be satisfied:



Did you not see my previous response? We need to see the security policy 
of
the service, the request message + the response message to be able to help
you.

Colm.


On Thu, Aug 1, 2013 at 7:06 AM, 
<r.keegs...@pantheon-automatisering.nl>wrote:

> 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 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
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}InitiatorToken
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}RecipientToken
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
> {http://www.w3.org/2007/05/addressing/metadata}Anonymous
> {http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization
> }OptimizedMimeSerialization
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}SignedElements
> AnonymousResponses
>         at 
org.apache.cxf.ws.policy.AssertionInfoMap.checkEffectivePolicy(
> AssertionInfoMap.java:179)
>         at
> org.apache.cxf.ws.policy.PolicyVerificationInInterceptor.handle(
> PolicyVerificationInInterceptor.java:101)
>         at
> org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(
> AbstractPolicyInterceptor.java:44)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:271)
>         at org.apache.cxf.endpoint.ClientImpl.onMessage(
> ClientImpl.java:800)
>         at
>
> 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(
> HTTPConduit.java:1592)
>         at
>
> 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(
> HTTPConduit.java:1490)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
> HTTPConduit.java:1309)
>         at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(
> CacheAndWriteOutputStream.java:50)
>         at org.apache.cxf.io.CachedOutputStream.close(
> CachedOutputStream.java:223)
>         at org.apache.cxf.transport.AbstractConduit.close(
> AbstractConduit.java:56)
>         at org.apache.cxf.transport.http.HTTPConduit.close(
> HTTPConduit.java:622)
>         at
>
> 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(
> MessageSenderInterceptor.java:62)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:271)
>         at 
org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530
> )
>         at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
>         at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
>         at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
>         at org.apache.cxf.frontend.ClientProxy.invokeSync(
> ClientProxy.java:96)
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
> JaxWsClientProxy.java:133)
>         at com.sun.proxy.$Proxy34.aanleveren(Unknown Source)
>         at nl.pfm.wus.aanroep.WUSAanlever.leverAan(WUSAanlever.java:34)
>         at nl.pfm.wus.aanroep.WUSAanroep.main(WUSAanroep.java:9)
> Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: 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-open.org/ws-sx/ws-securitypolicy/200702
}InitiatorToken
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}RecipientToken
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
> {http://www.w3.org/2007/05/addressing/metadata}Anonymous
> {http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization
> }OptimizedMimeSerialization
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}SignedElements
> AnonymousResponses
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
> JaxWsClientProxy.java:155)
>         at com.sun.proxy.$Proxy34.aanleveren(Unknown Source)
>         at nl.pfm.wus.aanroep.WUSAanlever.leverAan(WUSAanlever.java:34)
>         at nl.pfm.wus.aanroep.WUSAanroep.main(WUSAanroep.java:9)
> Caused by: 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-open.org/ws-sx/ws-securitypolicy/200702
}InitiatorToken
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}RecipientToken
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
> {http://www.w3.org/2007/05/addressing/metadata}Anonymous
> {http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization
> }OptimizedMimeSerialization
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
> {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
}SignedElements
> AnonymousResponses
>         at 
org.apache.cxf.ws.policy.AssertionInfoMap.checkEffectivePolicy(
> AssertionInfoMap.java:179)
>         at
> org.apache.cxf.ws.policy.PolicyVerificationInInterceptor.handle(
> PolicyVerificationInInterceptor.java:101)
>         at
> org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(
> AbstractPolicyInterceptor.java:44)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:271)
>         at org.apache.cxf.endpoint.ClientImpl.onMessage(
> ClientImpl.java:800)
>         at
>
> 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(
> HTTPConduit.java:1592)
>         at
>
> 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(
> HTTPConduit.java:1490)
>         at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
> HTTPConduit.java:1309)
>         at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(
> CacheAndWriteOutputStream.java:50)
>         at org.apache.cxf.io.CachedOutputStream.close(
> CachedOutputStream.java:223)
>         at org.apache.cxf.transport.AbstractConduit.close(
> AbstractConduit.java:56)
>         at org.apache.cxf.transport.http.HTTPConduit.close(
> HTTPConduit.java:622)
>         at
>
> 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(
> MessageSenderInterceptor.java:62)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
> PhaseInterceptorChain.java:271)
>         at 
org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530
> )
>         at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
>         at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
>         at 
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
>         at org.apache.cxf.frontend.ClientProxy.invokeSync(
> ClientProxy.java:96)
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
> JaxWsClientProxy.java:133)
>         ... 3 more
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com


1-aug-2013 8:13:32 org.apache.cxf.service.factory.ReflectionServiceFactoryBean 
buildServiceFromWSDL
INFO: Creating Service 
{http://logius.nl/digipoort/wus/2.0/aanleverservice/1.2/}AanleverService_V1_2 
from WSDL: file:WSDL/Aanleveren/Aanleverservice_Digipoort_WUS 2.0 
Bedrijven_v1.2_preprod.wsdl
1-aug-2013 8:13:33 org.apache.cxf.ws.security.policy.model.AlgorithmSuite 
setAlgorithmSuite
WARNING: An Rsa15 AlgorithmSuite - Basic128Rsa15 - has been configured, which 
is not recommended. Please consider using Basic128 instead.
1-aug-2013 8:13:33 org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl 
handleNoRegisteredBuilder
WARNING: No assertion builder for type 
{http://www.w3.org/2007/05/addressing/metadata}Anonymous registered.
1-aug-2013 8:13:33 org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl 
handleNoRegisteredBuilder
WARNING: No assertion builder for type AnonymousResponses registered.
Invoking aanleveren...
1-aug-2013 8:13:34 
org.apache.cxf.services.AanleverService_V1_2.AanleverService_V1_2.AanleverService_V1_2
INFO: Outbound Message
---------------------------
ID: 1
Address: https://cs-bedrijven.procesinfrastructuur.nl/cpl/aanleverservice/1.2
Encoding: UTF-8
Http-Method: POST
Content-Type: text/xml
Headers: {Accept=[*/*], 
SOAPAction=["http://logius.nl/digipoort/wus/2.0/aanleverservice/1.2/AanleverService/aanleverenRequest"]}
Payload: <soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><Action 
xmlns="http://www.w3.org/2005/08/addressing"; 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
wsu:Id="id-2">http://logius.nl/digipoort/wus/2.0/aanleverservice/1.2/AanleverService/aanleverenRequest</Action><MessageID
 xmlns="http://www.w3.org/2005/08/addressing"; 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 wsu:Id="id-3">urn:uuid:ae4ab530-364f-4470-9361-e8b684271801</MessageID><To 
xmlns="http://www.w3.org/2005/08/addressing"; 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
wsu:Id="id-4">https://cs-bedrijven.procesinfrastructuur.nl/cpl/aanleverservice/1.2</To><ReplyTo
 xmlns="http://www.w3.org/2005/08/addressing"; 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
wsu:Id="id-5"><Address>http://www.w3.org/2005/08/addressing/anonymous</Address></ReplyTo><wsse:Security
 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 soap:mustUnderstand="1"><wsse:BinarySecurityToken 
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
 
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
 
wsu:Id="X509-8915FD63FD4038C45613753376139621">MIIGDzCCA/egAwIBAgIGEgABICWbMA0GCSqGSIb3DQEBCwUAMDsxCzAJBgNVBAYTAk5MMQ8wDQYDVQQKEwZMb2dpdXMxGzAZBgNVBAMTElRFU1QgQ1NQIExvZ2l1cyBDQTAeFw0xMjA3MTgwOTAyNTVaFw0yNzA3MTUwOTAyNTVaMHgxCzAJBgNVBAYTAk5MMSUwIwYDVQQKExxQYW50aGVvbiBBdXRvbWF0aXNlcmluZyBCLlYuMR0wGwYDVQQFExQwMDAwMDAwMzAxMDU1MTM1MDAwMDEjMCEGA1UEAxMac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CSqGSIb3DQEBCwUAA4ICAQBDrAOph4CXpXIgj0TKfx2tDuaPPgtPO0BPYrCcI6eN0Dp/hvpQTrDlrpF+15b+ZuItejgT814AVX+s9sjoYm4SdT5VdIvOUMv7w3/03a9Wu3CJooh4QqYhsYGcsMtclrOu4ZgejH4elfksRycLLUYEjeLhWve/SotGGrpoe+5+p8Vo6dyc89vg+zaySP8XgqRnZGQkUI1CuqeksvHFmNZaWNTSsf9TBoxQobRqXmHYi527bfB/gbGGN/TRP6dPPtlntr1maDPI9wi+69pmlCBGzj8V51sqAKGYnXtd3ktc1T8CTnXrPXMjDQpJcoSwKZJ6rG1+kpd08XmOQqKUC7XALAPdHjfc5BCAZsJcA0OjzKoTUoFYpC50/lcAYN0BiA4UBA4O2LD5WDJZSD5fGu7XBsdNQ5ncFQN9ZdRRAHSDub2f9YMWZBFmgidBLrBpCsV6zB00YqYaeJoNZPAyuEdu2DC3BoT6E5whaZFhiWSIraTiZaL+UaLVTEtxDQJOWeCKWuLXmVtgskvSwJh/kd3kXuf11Z2oNCWsWiNKta6bq60iWSvas6Ged8IT+YJD7q3UC7te45PYsQ3Hqq0JlzRcei7Mk6sjqA1JheSgy4WiBt2L/NnN24mfo1MIO5dVQdm9qvW5VOwEWPmIzzmvB8oh8WTOgedjWCbTZ0MuQzWmSw==</wsse:BinarySecurityToken><ds:Signature
 xmlns:ds="http://www.w3.org/2000/09/xmldsig#"; 
Id="SIG-7"><ds:SignedInfo><ds:CanonicalizationMethod 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; 
PrefixList="soap"/></ds:CanonicalizationMethod><ds:SignatureMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference 
URI="#id-2"><ds:Transforms><ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; 
PrefixList="soap"/></ds:Transform></ds:Transforms><ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>E1NEPgxq/BvIps4woK/mbyJG+cg=</ds:DigestValue></ds:Reference><ds:Reference
 URI="#id-3"><ds:Transforms><ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; 
PrefixList="soap"/></ds:Transform></ds:Transforms><ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>LzFWoPhDCIk6ZL9LcwnZNtr77Qw=</ds:DigestValue></ds:Reference><ds:Reference
 URI="#id-4"><ds:Transforms><ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; 
PrefixList="soap"/></ds:Transform></ds:Transforms><ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>PtGRJLr8fw0NhBUoZvw97dxZyj4=</ds:DigestValue></ds:Reference><ds:Reference
 URI="#id-5"><ds:Transforms><ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; 
PrefixList="soap"/></ds:Transform></ds:Transforms><ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>lsiwiMiLYTo5kMyozoDC2GdQ9VM=</ds:DigestValue></ds:Reference><ds:Reference
 URI="#id-6"><ds:Transforms><ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; 
PrefixList=""/></ds:Transform></ds:Transforms><ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>NzbvzErXVishmueoqZ89Rs6VuCo=</ds:DigestValue></ds:Reference><ds:Reference
 URI="#TS-1"><ds:Transforms><ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";><ec:InclusiveNamespaces 
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"; PrefixList="wsse 
soap"/></ds:Transform></ds:Transforms><ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>IDpe89p+mQa3tTL5yqEblw69Db0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>DFI1Ij7yPL9Wgpp+0qStITR1qT/9Lnxntbx1LWlkSujyjfcC4st77mrUys5VyO3yK01nN7ChV2ulWzuYhKpVsWh0lF1RZEszVZrzyUnNep3JNhkQgEFxBrPZMPds6gRErYZtcFdY1hoKVh7T1IxMMRaBjI52UMJZiWl4VwI0L4ENYw72P9nDDFs9sqwIPOfZkNvxFzDNgZfJGNlgBfh+GmTg/0Sncp7EKyygXV5sIhEsxnfLBCFCPD/gwlgH3oKYPq9JCQPH3xY1tSIrFK7uUDPhCjpabIMRFAce/9RkM9Dlc/OSIeXUu+IBqhAZZ8iQI8B83GMx1DMejmFkbFlDXw==</ds:SignatureValue><ds:KeyInfo
 Id="KI-8915FD63FD4038C45613753376139662"><wsse:SecurityTokenReference 
wsu:Id="STR-8915FD63FD4038C45613753376139683"><wsse:Reference 
URI="#X509-8915FD63FD4038C45613753376139621" 
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature><wsu:Timestamp
 
wsu:Id="TS-1"><wsu:Created>2013-08-01T06:13:33.948Z</wsu:Created><wsu:Expires>2013-08-01T06:18:33.948Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 wsu:Id="id-6"><aanleverRequest 
xmlns="http://logius.nl/digipoort/koppelvlakservices/1.2/";><berichtsoort>Omzetbelasting</berichtsoort><aanleverkenmerk>Happyflow</aanleverkenmerk><identiteitBelanghebbende><nummer>001000044B37</nummer><type>Fi</type></identiteitBelanghebbende><rolBelanghebbende>Verantwoordingsplichtige</rolBelanghebbende><berichtInhoud><mimeType>application/xml</mimeType><bestandsnaam>Omzetbelasting.xbrl</bestandsnaam><inhoud>V0VKU1RDQkpibk4wWVc1MGFXVT0=</inhoud></berichtInhoud><autorisatieAdres>http://geenausp.nl</autorisatieAdres></aanleverRequest></soap:Body></soap:Envelope>
--------------------------------------
1-aug-2013 8:13:34 
org.apache.cxf.services.AanleverService_V1_2.AanleverService_V1_2.AanleverService_V1_2
INFO: Inbound Message
----------------------------
ID: 1
Response-Code: 200
Encoding: UTF-8
Content-Type: text/xml; charset=UTF-8
Headers: {connection=[Keep-Alive], Content-Language=[en-US], 
content-type=[text/xml; charset=UTF-8], Date=[Thu, 01 Aug 2013 06:12:58 GMT], 
Server=[IBM_HTTP_Server], transfer-encoding=[chunked], 
X-Archived-Client-IP=[127.0.0.1,127.0.0.1,127.0.0.1,127.0.0.1,127.0.0.1,127.0.0.1],
 X-Backside-Transport=[OK OK,OK OK,OK OK,OK OK], 
X-Client-IP=[127.0.0.1,127.0.0.1,127.0.0.1,145.21.244.90]}
Payload: <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header><wsse:Security 
soapenv:mustUnderstand="1" 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";><wsu:Timestamp
 wsu:Id="wssecurity_signature_id_24547" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";><wsu:Created>2013-08-01T06:12:58.637Z</wsu:Created></wsu:Timestamp><wsse:BinarySecurityToken
 wsu:Id="SecurityToken-b901aa5b-befc-4bc4-8818-276f7f3d71ff" 
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
 
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>MIIGvjCCBKagAwIBAgIQUNBZGYv9K+b3qOydgavK2zANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJOTDEfMB0GA1UECgwWR2V0cm9uaWNzIE5lZGVybGFuZCBCVjEqMCgGA1UEAwwhR2V0cm9uaWNzIENTUCBPcmdhbmlzYXRpZSBDQSAtIEcyMB4XDTExMTIwMjAwMDAwMFoXDTE0MTIwMTIzNTk1OVowgYgxCzAJBgNVBAYTAk5MMQ8wDQYDVQQKDAZMb2dpdXMxGjAYBgNVBAsMEVNlcnZpY2VtYW5hZ2VtZW50MR0wGwYDVQQFExQwMDAwMDAwNDAwMzIxNDM0NTAwMTEtMCsGA1UEAwwkY3MtYmVkcmlqdmVuLnByb2Nlc2luZnJhc3RydWN0dXVyLm5sMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlFtuzmsZIIRdZg35S6ylGlQ8/neTK6jv6lCaWvYSd5c2ckIdtoznKca1w/99ruwdMS5rWu5HLRdi19FdvqU5o7gxQs9YhOZ3CJNn7D7hYydnW0ooj/3Czvn+iqiAgFrSAw01VT4Qm4hYySTJ5TevTqMLmnY8OZXrbtXH8G/cAQzhyzBSAmxKFcplDd/wTlz6IrdwfiArCSz+qN1NmcCVadjTF6eQoDkiMOPGBqY9jZl+YH1PAwgDWby2+iINd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IaW0ctKnaIiktMgDmYI4yLDL1vKqV/iNT983XDYs2KQZj04P8YJ32eseAcYO4J7CfiiLvbxmhAL/VZSbTkoX/o7hxJvJyyZa+sw04k2RV8q1kygdfwN6Lomj2T1mu8v7gkJ+AxLlxOO5YRsOhjLopPS8eXQ+jJgVPSeAjx82+PiuDGhGYkHF9qgh+DNJ9uWScfo9XLcUck33dj4wioLnxKVFXzyzlTjz2g/h1MbRSFRBuvBYecyjBdwWqBKHns8/0HrdZUTImR+//HwJ9nE5sggIOtVXXtdfJXDXczk9F0qwNubrI8NrJ5fNKgIQjyC78Ixthh0WeQgoWo/iotTo5ikWVkKem5gblFSh76yZ/p+Hqp7ECizjceNku5uavN1jmdkOR3jUQrYLKUrWTKjp03yJmOfwkmorFvec4nlnk2tWGMT+xha+zhwsVXJya3SDJcZjX/od6SVeR1UDojb4OykkSX/g/Wq9pnb+SRKVjxyWmKGdCj0n5dg0DjF50ii/JPrIfG5RUkJhbRB9c40T05cVKRq6jSs=</wsse:BinarySecurityToken><Signature
 xmlns="http://www.w3.org/2000/09/xmldsig#";>
<SignedInfo>
  <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
  <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
  <Reference URI="#wssecurity_signature_id_24547">
    <Transforms>
      <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <DigestValue>sW5puo4vtYl7iBpZ7TrNJqMsqBc=</DigestValue>
  </Reference>
  <Reference URI="#wssecurity_signature_id_24548">
    <Transforms>
      <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <DigestValue>6K2g0FjcCmIQcSf+/60QaBSxblo=</DigestValue>
  </Reference>
  <Reference URI="#wssecurity_signature_id_24552">
    <Transforms>
      <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <DigestValue>HhtHKYlsRsDtjsD1I5e4smQQTEY=</DigestValue>
  </Reference>
  <Reference URI="#wssecurity_signature_id_24551">
    <Transforms>
      <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <DigestValue>yGdXUDH7bFeV25cg5KQKWKFMSUE=</DigestValue>
  </Reference>
  <Reference URI="#wssecurity_signature_id_24549">
    <Transforms>
      <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <DigestValue>3zD5zySdNsvj+P09P76Ue0DQraE=</DigestValue>
  </Reference>
  <Reference URI="#wssecurity_signature_id_24550">
    <Transforms>
      <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <DigestValue>0n5GITTbOJqrnPZQqWAjps/BT64=</DigestValue>
  </Reference>
</SignedInfo>
    
<SignatureValue>SxycMLxv5OJpyoo8k8S/wgyyFKDi270q46RkZ7bN8M8mg4ylcfS5C/78+f8BeUVY+gLlP0ISqG/u7qbkJyItyJDRoMncTRrPtuw3yaLcKmSjKBG/zzAMMT5WfRgnFqRGCZ//Iczxuyx+nV83En1rMKzctZU08neOLdzH8xNQqMIZXFiOQJPRpEv+EX8x+GZfmKIa8hI1m1Rek7dr3jQFEjXAUJ8pcLwRh/VZMWauB08zOzP6880NxKGdp+kH7EsYV1fA44cAc3NsevxiyU+pxHgsbbFJ0l3DU3dLtklpSv/Vqh2EaVIobXg+7ZRUnVbvTJajxnnXBGjToikOH9oIfQ==</SignatureValue><KeyInfo><wsse:SecurityTokenReference
 xmlns=""><wsse:Reference 
URI="#SecurityToken-b901aa5b-befc-4bc4-8818-276f7f3d71ff" 
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/></wsse:SecurityTokenReference></KeyInfo></Signature></wsse:Security><wsa:To
 wsu:Id="wssecurity_signature_id_24548" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>http://www.w3.org/2005/08/addressing/anonymous</wsa:To><wsa:Action
 wsu:Id="wssecurity_signature_id_24552" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>http://logius.nl/digipoort/wus/2.0/aanleverservice/1.2/AanleverService/aanleverenResponse</wsa:Action><wsa:MessageID
 wsu:Id="wssecurity_signature_id_24551" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>urn:uuid:ae4ab530-364f-4470-9361-e8b684271801</wsa:MessageID><wsa:RelatesTo
 wsu:Id="wssecurity_signature_id_24549" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>urn:uuid:ae4ab530-364f-4470-9361-e8b684271801</wsa:RelatesTo></soapenv:Header><soapenv:Body
 wsu:Id="wssecurity_signature_id_24550" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";><p324:aanleverResponse
 
xmlns:p324="http://logius.nl/digipoort/koppelvlakservices/1.2/";><p324:kenmerk>67c2a59b-62dc-418b-ba67-ccb511cac705</p324:kenmerk><p324:berichtsoort>Omzetbelasting</p324:berichtsoort><p324:aanleverkenmerk>Happyflow</p324:aanleverkenmerk><p324:tijdstempelAangeleverd>2013-08-01T06:12:58.636Z</p324:tijdstempelAangeleverd><p324:identiteitBelanghebbende><p324:nummer>001000044B37</p324:nummer><p324:type>Fi</p324:type></p324:identiteitBelanghebbende><p324:rolBelanghebbende>Verantwoordingsplichtige</p324:rolBelanghebbende><p324:autorisatieAdres>http://geenausp.nl</p324:autorisatieAdres><p324:tijdstempelStatus>2013-08-01T06:12:58.636Z</p324:tijdstempelStatus></p324:aanleverResponse></soapenv:Body></soapenv:Envelope>
--------------------------------------
1-aug-2013 8:13:34 org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for 
{http://logius.nl/digipoort/wus/2.0/aanleverservice/1.2/}AanleverService_V1_2#{http://logius.nl/digipoort/wus/2.0/aanleverservice/1.2/}aanleveren
 has thrown exception, unwinding now
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-open.org/ws-sx/ws-securitypolicy/200702}InitiatorToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RecipientToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
{http://www.w3.org/2007/05/addressing/metadata}Anonymous
{http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization}OptimizedMimeSerialization
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedElements
AnonymousResponses
        at 
org.apache.cxf.ws.policy.AssertionInfoMap.checkEffectivePolicy(AssertionInfoMap.java:179)
        at 
org.apache.cxf.ws.policy.PolicyVerificationInInterceptor.handle(PolicyVerificationInInterceptor.java:101)
        at 
org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:44)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
        at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1592)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
        at 
org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:50)
        at 
org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:223)
        at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)
        at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
        at 
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
        at com.sun.proxy.$Proxy34.aanleveren(Unknown Source)
        at nl.pfm.wus.aanroep.WUSAanlever.leverAan(WUSAanlever.java:32)
        at nl.pfm.wus.aanroep.WUSAanroep.main(WUSAanroep.java:9)
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: 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-open.org/ws-sx/ws-securitypolicy/200702}InitiatorToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RecipientToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
{http://www.w3.org/2007/05/addressing/metadata}Anonymous
{http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization}OptimizedMimeSerialization
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedElements
AnonymousResponses
        at 
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:155)
        at com.sun.proxy.$Proxy34.aanleveren(Unknown Source)
        at nl.pfm.wus.aanroep.WUSAanlever.leverAan(WUSAanlever.java:32)
        at nl.pfm.wus.aanroep.WUSAanroep.main(WUSAanroep.java:9)
Caused by: 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-open.org/ws-sx/ws-securitypolicy/200702}InitiatorToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RecipientToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Layout
{http://www.w3.org/2007/05/addressing/metadata}Anonymous
{http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization}OptimizedMimeSerialization
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedElements
AnonymousResponses
        at 
org.apache.cxf.ws.policy.AssertionInfoMap.checkEffectivePolicy(AssertionInfoMap.java:179)
        at 
org.apache.cxf.ws.policy.PolicyVerificationInInterceptor.handle(PolicyVerificationInInterceptor.java:101)
        at 
org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:44)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
        at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1592)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)
        at 
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1309)
        at 
org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:50)
        at 
org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:223)
        at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:622)
        at 
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
        at 
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
        ... 3 more

Reply via email to