How to use and send SOAP messages in v3

punit ashra punitashra at gmail.com
Thu Aug 18 03:07:32 EDT 2016


Hi Dev Team,

I created the context

MessageContext<ArtifactResolve> contextout = new
MessageContext<ArtifactResolve>();
            contextout.setMessage(request); ---> artifactResolve
           InOutOperationContext<ArtifactResponse, ArtifactResolve> context
= new ProfileRequestContext<ArtifactResponse, ArtifactResolve>();
            context.setOutboundMessageContext(contextout);

then,

HttpSOAPClient soapClient = new HttpSOAPClient();
soapClient.setHttpClient(httpClient);
soapClient.send(endpointURI, context);

But, i am not able to send the soap messages, because context doesnt
contain the outbound soap envelope

We can create the envelope. by using

Envelope envelope = buildSOAP11Envelope(request); "request is the
artificatResolve", but how to use it.

Am i missing something here?

Thanks,
Punit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160818/a791eeeb/attachment.html>


More information about the dev mailing list