Re: How to implement the SOAP Fault for JMS Transport?

2009-06-17 Thread Daniel Kulp
On Tue June 16 2009 10:12:54 pm 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

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-17 Thread Willem Jiang
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

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-16 Thread liucong
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. 2. Program

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-10 Thread liucong
So, the JMS transport just copy JMS message properties to somewhere(For example, Message.PROTOCOL_HEADERS map). Then the SOAP binding add some extra interceptors (How to add these interceptors?) to deal with these properties (check the properties, throw some SOAP Faults, and so on). Does it

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-09 Thread Daniel Kulp
Ideally, to me, this type of fault mapping needs to be in the SOAP binding, not the JMS transport.The JMS transport needs to be somewhat independent of soap so that it's usable for things like XML over JMS and possibly even some resty things. Basically, the SOAP binding should examine

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-08 Thread liucong
Hi, Willem Jiang 写道: Hi, I think you mean how to throw the fault from the JMS transport. Basically , if you throw the fault from a CXF interceptor, CXF's interceptors chain will take care of it and build the fault message and throw it out. If you want to check the Content type , you could

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-08 Thread liucong
Hi, Willem Jiang Writes: Hi, I think you mean how to throw the fault from the JMS transport. Basically , if you throw the fault from a CXF interceptor, CXF's interceptors chain will take care of it and build the fault message and throw it out. If you want to check the Content type , you

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-08 Thread Willem Jiang
Hi , You can leverage the Features[1] to install the interceptors which you need for soap/jms, and you can find some basic CXF Architecture document [2] here. [1]http://cwiki.apache.org/confluence/display/CXF20DOC/Features [2]http://cwiki.apache.org/CXF20DOC/cxf-architecture.html Willem

Re: How to implement the SOAP Fault for JMS Transport?

2009-06-08 Thread Willem Jiang
I just want to find a way without any configuration, and soap jms transport can use it out of box. Willem liucong wrote: Hi, Willem Jiang 写道: Hi, I think you mean how to throw the fault from the JMS transport. Basically , if you throw the fault from a CXF interceptor, CXF's interceptors

How to implement the SOAP Fault for JMS Transport?

2009-06-07 Thread liucong
Hi all, When I implement the SOAP Over JMS Specification, I don’t know how to implement SOAP fault for it. I use the org.apache.cxf.interceptor.Fault to record the Fault information. For example, I create a Fault instance for SOAP fault subcode contentTypeMismatch