P
plork
Hello
Can anyone point me to some sample code of how to write custom headers
using apache axis
i want to create a custom header and pass a value to it
something like this, but haven't got very far
public boolean addSOAPHeader(MessageContext context) throws
Exception
{
context = MessageContext.getCurrentContext();
Message message = context.getRequestMessage();
SOAPEnvelope envelope = message.getSOAPEnvelope();
SOAPEnvelope envelope = message.getSOAPEnvelope();
SOAPHeaderElement element = envelope.addHeader("myHeaderNAme");
}
Can anyone point me to some sample code of how to write custom headers
using apache axis
i want to create a custom header and pass a value to it
something like this, but haven't got very far
public boolean addSOAPHeader(MessageContext context) throws
Exception
{
context = MessageContext.getCurrentContext();
Message message = context.getRequestMessage();
SOAPEnvelope envelope = message.getSOAPEnvelope();
SOAPEnvelope envelope = message.getSOAPEnvelope();
SOAPHeaderElement element = envelope.addHeader("myHeaderNAme");
}