How to add chain of certificate in spring ws client request
Posted
by
hudi
on Stack Overflow
See other posts from Stack Overflow
or by hudi
Published on 2013-11-08T08:33:30Z
Indexed on
2013/11/08
9:54 UTC
Read the original article
Hit count: 223
I have simply spring ws client which sending request to some url:
@SuppressWarnings("unchecked")
private JAXBElement<O> sendSyncSoapRequest(final JAXBElement<I> req, final String iszrUrl) {
if (iszrUrl != null) {
return (JAXBElement<O>) this.wsTemplate.marshalSendAndReceive(iszrUrl, req);
} else {
return (JAXBElement<O>) this.wsTemplate.marshalSendAndReceive(req);
}
}
Now I need attach chain of certificate to the soap request. How should I do this ? Please help
© Stack Overflow or respective owner