Hi Aleksandar,

could you go into more detail what you needed to do. We are also running Tibco 
Business Works together with CXF and did not have to change content type.

We used bytes messages and made sure they always contain UTF-8 encoded data.

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: Freitag, 29. Oktober 2010 12:18
An: [email protected]
Betreff: Re: SOAP over JMS interceptor for adding JMS header properties

Hi Christian,

TibcoSoapActionInterceptor fixes only small part of SOAP JMS message
exchange with TIBCO BusinessWorks.

TIBCO BusinessWorks is not so compliant with SOAP over JMS standart and
headers (for SOAP action and content type) must be changed. I almost solved
the problem, but I need more tests.

On Thu, Oct 28, 2010 at 4:38 PM, Schneider Christian <
[email protected]> wrote:

> 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.
>

Reply via email to