Good point Freeman. I assume that Mario uses RPC/Literal ;)
@Mario, RPC/Literal or RPC/Encoded ?
Regards
JB
On 09/29/2011 10:11 AM, Freeman Fang wrote:
Yeah CXF support RPC/Literal but not RPC/Encoded, so if you're using
RPC/Literal you can still stay with servicemix-cxf-bc.
Freeman
On 2011-9-29, at 下午3:46, Jean-Baptiste Onofré wrote:
Hi Mario,
the http endpoint uses Jetty and Http Client, it's not linked to CXF
at all. So it's not possible to use CXF interceptors on the HTTP
endpoint.
The only thing that you can do is to define your own marshaller.
However, I don't understand why you said that you can use CXF because
it's RPC. CXF supports both RPC/Literal and Document/Literal. So it
should work with RPC.
What's your issue around that ?
Regards
JB
On 09/29/2011 09:39 AM, sparktronics wrote:
Hi there,
I'm trying to include an http:enpoint interceptor for the service mix
http
endpoint. I'm unable to use cxf because the webservice that I'm
consuming is
rpc.
The code for declaring the http:endpoint is as follows:
<http:endpoint service="jira:JiraSoapServiceService"
endpoint="JiraSoapService"
role="provider"
locationURI="http://localhost:9009/jira/rpc/soap/jirasoapservice-v2"
soap="true">
</http:endpoint>
Is there a way to include an http interceptor to record the messages
in/out
and write it to a log? I was looking for something similar to:
http://cxf.apache.org/docs/interceptors.html
Thanks very much,
Mario
--
View this message in context:
http://servicemix.396122.n5.nabble.com/How-to-include-an-http-endpoint-interceptor-tp4852099p4852099.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com