Sending SOAP messages in OpenSAML v3
Brent Putman
putmanb at georgetown.edu
Tue Apr 26 16:12:22 EDT 2016
On 4/26/16 3:12 PM, Stefan Rasmusson wrote:
> Hi, how are you supposed to send SOAP messages in v3. i have tried to
> use the HTTPSOAP11Encoder, but it just encodes the envelope onto the
> httpservlet response.
Yeah, that's for the server side (inbound SOAP message), so not what you
want.
For the client side, there is a completely different set of components,
in opensaml-soap-api and opensaml-soap-impl. See under package
org.opensaml.soap.client.http.
The old one is HttpSOAPClient. It's not formally deprecated yet
(eventually probably will be though) and probably works for simple
cases, but we've not really used it much, if at all.
The new one with the modern supported approach is represented by
AbstractPipelineHttpSOAPClient and PipelineFactoryHttpSOAPClient and the
required client side encoder and decoder impls in
org.opensaml.soap.client.soap11.decoder.http.impl and
org.opensaml.soap.client.soap11.encoder.http.impl.
There is unfortunately no documentation or examples on those really at
the moment. I'm actually right now in the middle of working on our
usage of them for server-side inbound artifact resolution and
backchannel logout for 3.3.0 later this year. If you want to experiment
with them, feel free. I can answer questions, but I don't have any more
concrete examples, etc at the moment published.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160426/990aa3f3/attachment.html>
More information about the dev
mailing list