Hi,

My comment inline
On 2010-3-17, at 下午9:27, Salgar, Mehmet (external) wrote:

Hi everybody,

I have a problem....

I am trying to configure a system in Servicemix that a http:consumer
endpoint would get a web service call then depending on some namespace
in the Soap Message it would redirect the received Message to
cxf:provider Endpoint which would call a real web service...

The main idea here, I am trying to build a system that present a single
endpoint for multiple versions of the web service...So incoming web
service calls namespace tells me the version of the web service, I
figure out which is the correct version and I call the real service...

Now first two parts of the system works perfectly, I received the web
service call at http:consumer and redirect it xpath based content router
and content router routes to cxf:provier but it route as StringSource
and cxf:provider expects it as DomSource and I get classcast exception..

Which smx version you are using? Could you please post the exception trace, I don't think cxf:provider now only expect DomSource.

Now what I want to ask, how can I convert a StringSource to DomSource
when the message goes to cxf:provider from ContentRouter....
I believe you can use servicemix-camel to do it.

Freeman


Any ideas....


T-Mobile Deutschland GmbH
Aufsichtsrat: Timotheus Hottges (Vorsitzender)
Geschaftsfuhrung: Niek Jan van Damme (Sprecher), Thomas Berlemann, Thomas Dannenfeldt, Albert Henn,
Dr. Christian P. Illek, Dr. Bruno Jacobfeuerborn, Dr. Dirk Rohweder
Handelsregister: Amtsgericht Bonn, HRB 59 19
Sitz der Gesellschaft: Bonn
WEEE-Reg.-Nr.: DE60800328


--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to