1 Reply Latest reply on Jun 6, 2008 10:29 AM by asoldano

    Retrieve SOAP header

    sancheski

      Hi,

      Does anyone know how to retrieve the SOAP header from a SOAP request in jboss jaxws?

      Thanks in advance!

        • 1. Re: Retrieve SOAP header
          asoldano

          In an handler you can get the SOAPMessage from the MessageContext and then use the SOAPMessage's getSOAPHeader() method.
          Otherwise create your endpoint as webservice provider (see org.jboss.test.ws.jaxws.samples.provider.ProviderBeanMessage for example) implementing Provider.