I'm having similar problems, I think. Maybe we can pool our resources?

On Dec 14, 2004, at 2:24 PM, Alexander Sherkin wrote:
<myElement href="#id3"/>

<multiRef id="id3"
soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="xsd:short"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>33</ multiRef>

My multiRefs have the exact same structure, but in debugging my deserialization process, I notice that my deserializer does seem to be deserializing the multiRef properly. My problem is that when I try to call


        RPCElement rpcElem = (RPCElement) env.getFirstBody();
        RPCParam struct = rpcElem.getParam("myElement");

struct ends up being null.

As I can see, org.apache.axis.encoding.DeserializerImpl just replaces
multi-references with their definitions, i.e., it replaces "myElement"
with "multiRef". This is why I am getting "multiRef" instead of
"myElement".

Looking through DeserializerImpl, I don't see where this happens.

Is this behavior normal? If so, how can I get true localName (i.e.
"myElement") from my derserializer?

... I'm not sure about this...

--
Peter Molettiere
Senior Engineer
Truereq, Inc.
http://www.truereq.com/



Reply via email to