Can anyone tell me how to access the encodingStyle in a client from a
SoapExtension? In particular, I'd like to know the style in
SoapClientMessage in the SoapMessageStage.BeforeSerialize.
I'm trying to determine if the message encodingStyle is document/literal or
rpc/encoding (or document/encoding).
From the SoapClientMessage I can see in the debugger that there is a value
for message.protocol.EncodingNs and for message.Client.EncodingNs of
"http://schemas.xmlsoap.org/soap/encoding/", but i get errors that these
members are "inaccessible due to its protection level" if I try to access them
at compile time. Is there a way using reflection to access these, or some
other way?
Thanks,
Martha Borkan