Chris, 

What you ask is provided out of the box, the Header objects are serialized
the same way than the body.

So simply define a StartHeader complexType according to your need and call
service.setHeader(partName, Object).  You need to previously define your
operation to use that header using soap:header entry in the operation
binding.

You will need to apply the patch I have provided manually though...

Sylvain.


-----Original Message-----
From: Chris Haddad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 2:50 PM
To: [EMAIL PROTECTED]
Subject: RE: Client side soap:header support. 


Sylvain -

Do you have any thoughts on how we could easily extend the code to
support a hierarchical namespace?

I'd like to be able to add the following as soap headers:

<StartHeader><conversationId>some value</conversationId></StartHeader>


/Chris




This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to