If you build the header yourself, just use a plain http component (and
not a soap component).
Using the servicemix-http component on a soap endpoint, you should be
able to do the following when you create the NormalizedMessage

  Map headers = new HashMap();
  DocumentFragment h = ....
  headers.put(new QName("http://ws.apache.org/namespaces/axis2";,
"ServiceGroupId"), h);
  message.setProperty("org.apache.servicemix.soap.headers", headers);

Cheers,
Guillaume Nodet

On 5/3/06, dajevu <[EMAIL PROTECTED]> wrote:

I hate to beat this thing to death, but I remember now why I had wanted to
use SAAJ -- I needed to include the HTTP Header SOAP-Action. How do I add
HTTP Headers using the HTTP BC? I know you mentioned documentFragment, but I
didn't see in the docs or Javadocs how that might be done.

Thanks again for all of your help!!

jeff
--
View this message in context: 
http://www.nabble.com/soap-header-support-using-SAAJ-t1535663.html#a4204254
Sent from the ServiceMix - User forum at Nabble.com.


Reply via email to