Hello,
I am developing a client webservice with xfire but i have problems when i
send the message.
I only need the client.
My code is the following:
1) Obtaing the client instance:
Client client = Client.getInstance(updateService);
client.addOutHandler(new OutHeaderHandler());
2) The class OutHeaderHandler:
public class OutHeaderHandler extends AbstractHandler {
public void invoke(MessageContext ctx) throws Exception {
Element headerE = ctx.getOutMessage().getOrCreateHeader();
SAMLDataHCC samlData = SAMLUtilsHCC.generateSAML2();
headerE.addContent(samlData.toString());
}
}
Is correctly?, the server always response. The header not contain a valid
header saml.
Any example how I create the header ?
Thanks in advance.
Regards
--
View this message in context:
http://www.nabble.com/help-adding-custom-header-with-xfire-only-the-client-part---SAML-tp25274750p25274750.html
Sent from the XFire - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email