You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Kartheek Hirode <ka...@centegy.com> on 2001/05/23 20:00:50 UTC

SOAP-Header problem (in Apache-SOAP)

Am having a very sticky problem....the SOAP-Headers (eg.: <DigitalCert> in
the Envelope shown below) are not showing up correctly on the
RPCRouterServlet even though the SOAP-Envelope in the pipe has the complete
Header info.

The call.toString() is attached below. This method is (obviously) invoked
after the call object has been extracted from the envelope (using
RPCRouter.extractCallFromEnvelope(serviceManager, callEnv, reqCtx);

Thanks very much for any leads,
--KH

This is the SOAP-Envelope in the pipe:
-------------------------------------
(Note: <SOAP-ENV:Header DigitalCert=#$FAaDAssd%#$ )

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">

<SOAP-ENV:Header
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <DigitalCert>#$FAaDAssd%#$</DigitalCert>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
  <ns1:PingTopic xmlns:ns1="PingTopic"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <PayloadString xsi:type="xsd:string">Trial payload</PayloadString>
  </ns1:PingTopic>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


This is the SOAP-Envelope in the RPCRouterServlet:
--------------------------------------------------
(Note: HeaderEntries DigitalCert=null)

callEnv.toString=[Attributes={ xmlns:SOAP-ENV="http://schemas.xmlsoa
p.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
SOAP
-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http:/
/www.w3.org/1999/XMLSchema"}]
Header=[Attributes={ xmlns:ns0="http://schemas.xm
lsoap.org/soap/envelope/"
ns0:encodingStyle="http://schemas.xmlsoap.org/soap/enc
oding/"}] [HeaderEntries={[[DigitalCert: null]]}]] [Bo
dy=[Attributes={}] [BodyEntries=
[(0)=[ns1:PingTopic: null]]
]] [EnvelopeEntries=]


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org