Title: Message
Hello,
 
can sombody please tell me, how I can get a HeaderElement in my ServiceIml, which I
set in my ClientStub?
 
When I do :
 
Message rspmsg = mctx.getResponseMessage();
SOAPEnvelope env = rspmsg.getSOAPEnvelope();
SOAPHeaderElement header = env.getHeaderByName("http://t-systems.de/pdmwebConnector/clientid", "ClientID");
 
I get a null in my "header" !!!???
 
My SOAP-Header looks like this:
 
 <soapenv:Header>
      <ns1:ClientID soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="http://t-systems.de">PDMWebConnectorClient</ns1:ClientID>
      <ns2:sessionID soapenv:actor="
http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns2="http://xml.apache.org/axis/session">-7457323948477159990</ns2:sessionID>
   </soapenv:Header>
 
 
Thanks Tomi

Reply via email to