Hi all,

I am trying to use CXF with ws-trust and I am trying to use it with simple java 
code without Spring.

I have the policy configuration with sp:SignedSupportingTokens and 
sp:UserNameToken but after settings property on the STSClient and putting in 
the Bus I have is a empty body 
(</wsa:Action></soap:Header><soap:Body/></soap:Envelope).

Output message has been logged with LoggingInterceptor.

The STS service I am sending it to is answering that RST is missing (<env:Text 
xml:lang="en">The required element wst:RequestSecurityToken is 
missing</env:Text>)

I configured the STSClient on the bus and I set it with its property 
(ws-security.sts.client) but how can I dig out why this STSClient does not get 
called ?

Is it possible to use CXF Ws-Trust support without Spring ? I can't understand 
what is missing

I am attaching URL of XValueSTS JunitTest.

https://github.com/Leonets/XValueSTS.git

GitHub project contains WSDL of the server, URI of the server is not available 
because it is on a private VPN.

Best Regards

Leonardo

--
Leonardo Battagli
IT Solution
Direzione PAC/Sanità
leonardo.batta...@eng.it<mailto:leonardo.batta...@eng.it>

Engineering Ingegneria Informatica SpA
Via Torre degli Agli, 48 - I- 50144 Firenze - ITALY
Tel. +39-055.4365454
Interno 5454
Mobile +39-
www.eng.it<http://www.eng.it>
[cid:image002.gif@01D06319.54B56290]
Rispetta l'ambiente. Non stampare questa e-mail se non necessario.
Respect the environment. Please don't print this e-mail unless you really need 
to.
Le informazioni trasmesse sono destinate esclusivamente alla persona o alla 
società in indirizzo e sono da intendersi confidenziali e riservate. Ogni 
trasmissione, inoltro, diffusione o altro uso di queste informazioni a persone 
o società differenti dal destinatario è proibita. Se ricevete questa 
comunicazione per errore, contattate il mittente e cancellate le informazioni 
da ogni computer.
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.

Reply via email to