Hi,

In that days i'm working on servicemix cxf-bc too.

In particular now i'm trying to use it as a replacement for old http component.

In particular i need this features

1) MTOM support both on cxf-bc-consumer and cxf-provider endpoint.
2) SSL ( HTTPS ) support both on cxf-bc-conusmer and cxf-bc-provider endpoint
3) WS-Addressing and WS  Security Feature

At the moment after a lot of time spent on debugging code, i've find the right configuration
to make the cxf-bc-consumer, working well with MTOM and HTTPS support...

At the moment i've not the case where i've mtom attachments as response.. but i'll try
to do after read you post :-)

If i found a way to make this working i'll answer you.

I've not try yet the cxf-provider yet, that imply to send and get mtom attachments.

On point 3 i've made no progress at the moment.

Andrea Zoppello


imorales ha scritto:
Hi all. I´m using servicemix 3.2.1 and I have a problem with the
servicemix-cxf-bc component, I need this component to expose a web service
that response xml + attahcments. I use mtom/xop to handle the attachments. I
have a servicemix-bean that generates the out message (jbi wrapper message)
and send the message to the bus with the attachment, but the
servicemix-cxf-bc it´s not handling correctly the attachment because in the
xml response it´s the href=cid.... that references the attachment but the
part with the attahcment it isn´t.

By the way I try to do this with the wsdl-first-cxf example, I modify the
wsdl and the cxf-se, cxf-bc endpoint to use mtom attahcments. I added a
parameter (mtom attahcment ) to the request element GetPerson, and I added
another parameter to the response element GetPersonResponse, the request
attachments it´s handled ok it´s but the response with the attachment it
isn´t because the attachment it is in the response but like byte array and
not like a mtom/xop attachment.

Well I would like to know it there is any problems with servicemix-cxf-bc
component to handle response attachments, why not the component don´t handle
properly the out attachments.

I can add some configuration files, and log info to the post if you need.
Thanks in advance.

Reply via email to