Hi Aleksandar, You should take a look at the issue Interceptor to work around SoapAction bug in Tibco Business Works: https://issues.apache.org/jira/browse/CXF-2612
http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/TibcoSoapActionInterceptor.java?view=markup&pathrev=897567 In this issue I added an interceptor that allows to convert the SOAPAction property into a SoapAction property that Tibco likes. So this could be an ideal template for the interceptor you want to create. Best Regards Christian Christian Schneider Informationsverarbeitung Business Solutions Handel und Dispatching Tel : +49-(0)721-63-15482 EnBW Systeme Infrastruktur Support GmbH Sitz der Gesellschaft: Karlsruhe Handelsregister: Amtsgericht Mannheim HRB 108550 Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck Geschäftsführer: Jochen Adenau, Hans-Günther Meier -----Ursprüngliche Nachricht----- Von: Aleksandar Valchev [mailto:[email protected]] Gesendet: Donnerstag, 28. Oktober 2010 14:47 An: [email protected] Betreff: SOAP over JMS interceptor for adding JMS header properties Hi, I'm trying to use CXF client with TIBCO BW service (SOAP over JMS with attachments). The problem is that against the SOAP over JMS specification, TIBCO accepts the following JMS message properties: Content_Type SoapAction I need to have interceptor for outgoing and incoming messages that. 1. In case of outgoing message (CXF is consumer and TIBCO is provider, Request) After CXF finishes with creating the JMS message, to add new header "Content_Type" copy the value of "SOAPJMS_contentType" header to "Content_Type". 2. In case of incoming message (CXF is consumer and TIBCO is provedier, Response) Before CXF do anything with the JMS message, to add new header "SOAPJMS_contentType" and copy the contents of "Content_Type". What I want to do is something like JMS properties tranlation in both directions. I think that this could be achived with Interceptors, but I don't know in which phase and after which interceptor I have to put them. Thanks.
