Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Custom SOAP Headers

Reply
Thread Tools

Custom SOAP Headers

 
 
plork
Guest
Posts: n/a
 
      04-20-2005
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");

}
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with wsgiref.headers.Headers Phil Python 4 01-17-2010 04:47 PM
Server cannot clear headers after HTTP headers have been sent Ian ASP .Net Security 2 03-20-2007 09:00 AM
Working with Soap Headers mmorrison93@yahoo.com ASP .Net 0 09-09-2005 09:27 PM
How to assign a custom principal with a custom soap extension Michael ASP .Net Web Services 3 05-12-2004 04:20 PM
Reading 'received' headers: Email Headers Parsing dont bother Python 0 03-03-2004 08:18 PM



Advertisments