Hi,

Forward this mail to the dev mail list.
liucong wrote:
> Hi,
>     I have added a simple interceptor in the SOAP binding. If the
> transport uri is http://www.w3.org/2008/07/soap/bindings/JMS/, the jms
> interceptor will be added. But I have some question for that:
>     1. I feel a little weird to add a transport-related interceptor here.
SOAP Binding deals with the SOAP relates business logical, and I don't
think it's a good idea to put soap-jms soap relates business logical
into the transport layer.
>     2. Program Problem. I have declared some constants in the
> jms-transport module. I need use some of these constants in the jms
> interceptor. I think it is a little weird to add project dependency to
> jms-transport for soap-binding module. Do I need to declare these
> constants again in the soap-binding module?
Maybe we can declare these constants in the cxf-api module, so
jms-transport and the soap-binding module can use them at the same time
without introducing the dependencies.

>     3. How to deal with soapjms:isFault property. If the soapjms:isFault
> is true, it indicates that the response is a SOAP fault. How to deal
> with this property.
We could do it in the soap-jms interceptor which the help of jms
transport layer. JMS transport layer just need to put the property into
an entry of the message map, and the interceptor can check the entry to
throw a soap:jms fault.
> 
> best regards,
> liu
> 

Willem

Reply via email to