cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward W. Rouse" <ero...@comsquared.com>
Subject axis 1.4 client to cxf 2.0 service
Date Mon, 06 May 2013 16:55:36 GMT
I have old web service that was generated/written using axis 1.4. There are
many end user written clients that use this web service. There was a
complete rewrite recently done by another group that completely changed the
interfaces and was generated/written using cxf 2.x. I have been tasked with
writing a conversion program that will accept the old axis 1.4 calls,
convert them and make corresponding calls to the cxf services, accept the
responses and convert them into the expected axis 1.4 responses and send
them back to the client.

The current roadblock is an "org.apache.cxf.interceptor.Fault: Unexpected
wrapper element <connect> found.  Expected <connect>." exception.

This is thrown when trying to connect using an original client. My
assumption is that, even though the wsdl file used is the same, the soap
headers are different. Any idea how to set the incoming calls/responses to
use axis while the outgoing calls/responses use cxf?

In order to try and be less ambiguous, here is a (poor) diagram.

Request
client(axis1.4) --> proxy service(axis1.4) --> proxy service(cxf2.x) --> new
service(cxf2.x)

Response
client(axis1.4) <-- proxy service(axis1.4) <-- proxy service(cxf2.x) <-- new
service(cxf2.x)

Edward W. Rouse


Mime
View raw message