On 11/12/14 20:58, criedluv wrote:
criedluv wrote
thanks in advance. Any ideas on how to diagnose this appreciated.
I'm getting an exception I can't decode. I added log4j tags to enable more
cxf and rs debugging, but nothing.
I'm past the original issue which was caused by misconfiguration of my
jaxrs model.
I have another issue. I can't decipher this error output. any help
appreciated.
* ERROR 2014-12-11 13:45:58,317
(pache.cxf.jaxrs.client.JAXRSClientFactoryBean) [main][]:
java.lang.ArrayIndexOutOfBoundsException : 3*
What is the stack trace ? Can you provide a test case to investigate ?
Sergey
this comes from the .createFromModel call:
List providers = new ArrayList();
providers.add(provider);
providers.add(new ResponseExceptionMapper<IllegalValueException>() {
@Override
public IllegalValueException fromResponse(Response r) {
return new IllegalValueException();
}
});
providers.add(new ResponseExceptionMapper<ThreatSourceException>() {
@Override
public ThreatSourceException fromResponse(Response r) {
return new ThreatSourceException();
}
});
IndicationWarning iwService = JAXRSClientFactory
.createFromModel("http://localhost:" + port +
"/iw/IndicationWarningService/rest", IndicationWarning.class,
"classpath:/springContext/IndicationWarningService-jaxrs.xml", providers,
null);
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-JAXRS-JAXWS-War-throws-javax-ws-rs-WebApplicationException-tp5752176p5752259.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com