Sorry, I explain: 1.- Start Tomcat. 2.- In folder "identidad-paxaseMock" run: mvn install. It generate a war file. 3.- Deploy war file in Tomcat. 4.- In folder "identidad-cliente_xunta": - src/main/resources/spring/spring-client_paxase: it has the property "checkFaults". - Test to run (TestNG): - es.depontevedra.soap.interoperabilidad.identidad.paxase.ClientPaxase.consultarIdentidad_prueba (OK) - es.depontevedra.soap.interoperabilidad.identidad.paxase.ClientPaxase.consultarIdentidad_excepcion. (SoapFault, but test must OK) 5.- Change property "checkFault" and run again the tests.
thanks JMPrieto 2014/1/15 José Manuel Prieto <joseman...@prietopalacios.net> > Hi coheigea, > I left a project in Google Drive: > > > https://drive.google.com/file/d/0B9NfBsCykkXqNWhielRla0ZiY00/edit?usp=sharing > > thanks > JMPrieto > > > 2014/1/15 Colm O hEigeartaigh <cohei...@apache.org> > >> Could you create a test-case that shows the problem? >> >> Colm. >> >> >> On Wed, Jan 15, 2014 at 9:23 AM, José Manuel Prieto < >> joseman...@prietopalacios.net> wrote: >> >> > Unsolved >> > >> > I followed this steps: >> > 0.- Create diferent calls in spring file to >> DefaultCryptoCoverageChecker, >> > ref, bean, property --> no changes >> > 1.- I create a custom Interceptor --> no changes >> > public class CustomDefaultCryptoCoverageChecker extends >> > DefaultCryptoCoverageChecker { >> > >> > public CustomDefaultCryptoCoverageChecker(){ >> > setCheckFaults(false); >> > } >> > } >> > >> > 2.- Change jaxb library version: form jaxb-impl:2.2.5-2 to >> > jaxb-impl:2.1.13. --> no changes >> > 3.- Change spring library version form spring:3.0.5.RELEASE to >> > spring:3.2.6.RELEASE --> no changes >> > 4.- Continuing the trace, I get to: >> > DocLiteralInInterceptor.handleMessage(Message message){ >> > ... >> > o = dr.read(p, xmlReader); call to --> >> > DataReaderImpl.read(MessagePartInfo part, T reader) >> > ... >> > } >> > >> > DataReaderImpl.read(MessagePartInfo part, T reader){ >> > return JAXBEncoderDecoder.unmarshall(createUnmarshaller(), reader, >> part, >> > unwrapJAXBElement); >> > } >> > >> > Who instance JAXB? spring?. >> > Why only one parameter change my wolrd? >> > >> > thanks for readme >> > JMPrieto >> > >> > >> > >> > 2014/1/14 José Manuel Prieto <joseman...@prietopalacios.net> >> > >> > > Hello, >> > > >> > > If I put property checkFaults="false" (in sringframework application >> > > context file), only SoapFault Messages runs as expected. >> > > My service return a Response object. The service response is 200 (OK), >> > > send me a Response (I see it, in the server-log), my client obtain a >> > > Response object but, all atributes to null. >> > > >> > > I trace until to SoapHeaderInterceptor.handleMessage(Message m). This >> > > methods contains: >> > > public void handleMessage(Message m) throws Fault { >> > > SoapMessage message = (SoapMessage) m; >> > > SoapVersion soapVersion = message.getVersion(); >> > > Exchange exchange = message.getExchange(); >> > > >> > > MessageContentsList parameters = >> > > MessageContentsList.getContentsList(message); >> > > .... >> > > >> > > When checkFaults="true", the var parameters(MessageContentsList) has a >> > > List [size=1] with Response object and atributes with some values. >> > > When checkFaults="false", the var parameters(MessageContentsList) has >> a >> > > List [size=1] with Response object and atributes to NULL. >> > > >> > > I thought it was a problem with springframework, but now i don´t now. >> > > can anybody help me? >> > > >> > > Thanks in advance >> > > JMPrieto >> > > >> > > >> > > >> > > >> > > >> > >> >> >> >> -- >> Colm O hEigeartaigh >> >> Talend Community Coder >> http://coders.talend.com >> > >