Thanks for your replies,
However, after reading, no simple solution appears to me ...
Here is my dream :
replace this bean :
<jaxws:client id="compteAccesClient"
serviceClass="fr.sfr.psg.compteacces.CompteAccesPortType"
address="${compteacces.ws.endpoint.url}"/>
by something like this :
<jaxws:mockclient id="compteAccesClient"
serviceClass="fr.sfr.psg.compteacces.CompteAccesPortType"/>
features of this proxy "mockclient" :
. implements CompteAccesPortType
. for each WS and a key (choosen among WS input params), create an xml file
in conformance with JAXB annotation of WS output params
. unmarshall this XML with JAXB to build output WS
This proxy would construct xml files with randomish data. These files would
be editable by anyone without compile/restart.
Regards,
--
View this message in context:
http://cxf.547215.n5.nabble.com/how-to-generate-a-client-mock-tp2802258p2804951.html
Sent from the cxf-user mailing list archive at Nabble.com.