Hi:
        First , forgive my long story. I cannot using a short words to
describe my question clearly;

   Recently I want to use CXF as client to connecting an exists system which
already support some web-service like service;

  Here "web-service like" means: the service only use soap protocol to
exchange  it's custom xml data. Although the service does supply WSDL, but
the  WSDL only describe operations, and there are nothing about what xml
schema is; 
   The exists system is implemented using Axis2. I hate it, and do not want
to use Axis2 in my program, because of XML performance. I must transform
standard xml to axiom(axis2's xml api), this is a big performance bottle)

        So I want to know how could I using CXF to implement the raw xml
client? That's to say it must full-fill following requirement:

        1) the raw xml client just use with xml data as input and output
        2) the program which call the raw-xml client can give body xml and
header xml as input, and wish the raw xml client to send the xml(body and
header) by soap-protocol;

        3) the raw xml client cannot determine MEP of operation by the xml's
schema, it can only determine if response soap xml received ,  or just a
http accept, or soap-fault  at run-time;

        In a word, the raw-xml client is somewhat  like just working on soap
protocol level;
        After checking the source code of CXF, I feel the 3) is most
difficult to implement, if I doesn't change the CXF's internal
implementations, and just using CXF's build-in extending mechanis( for
example: interceptors). 

        Does anyone has an suggestion about how could I extend CXF to
implement these requirement (especially requirement 3) ? 


Reply via email to