Do you have access to the logs on the service side to see why the request was rejected? I don't really see anything wrong with the CXF request. Could you attach the security policy that is being used?
Colm. On Sat, Feb 1, 2014 at 9:52 PM, Carlos Oliva <[email protected]> wrote: > How can I mimic the message in the attached file, message.xml, with a > stand-alone Apache CXF client? The file is a trace output from support at > the remote server. I need to replicate the message described in the file > without the added artifacts created be the tracer. > > > > I created a java client, attached file client.txt, by replicating the > Greeter example in the Apache CXF web site. I created the artifacts with > wsdl2java from the wsdl quoted in the attached file, (SecodnExchange.txt), > and coded the client. My client created the message listed in the file, > SecondExchange.txt, and get the response "An error occurred when verifying > security for the message". The support team for the service has told me > that they had added my public key to their configuration. > > > > I am stuck with this problem. It looks like the client is creating code > that is very similar to the one that succeeds. Thank you very much in > advance. > *PRIVILEGED AND CONFIDENTIAL: This document and the information contained > herein are confidential and protected from disclosure under Federal law. > This message is intended only for the use of the addressee(s) and may > contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the > intended recipient, you are hereby notified that the use, dissemination, or > copying of this information is strictly prohibited. If you received this > communication in error, please erase all copies of the message and its > attachments and notify the sender immediately.* > > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
