Forcing data type on elements
- I was wondering if anyone knows of a way to force a SOAP::Lite server to
deserialize an element as a specific type. I am running into the following
I have a SOAP::Lite server and need it to be able to work with both
SOAP::Lite and Microsoft Soap Toolkit 2.0 clients. Everything works fine
with SOAP::Lite clients, but Microsoft is not working. I am setting up MD5
authentication tickets and base64 types are giving me a problem. Soap
Toolkit does not put a type="SOAP-ENC:base64" on any of it's envelope
elements (it does not put a type on any element for that matter, not just
the base64) and SOAP::Lite is decoding as a string rather than base64.
SOAP::Lite sends the type across with the element so everything works fine.
Here's the XML that is failing:
While this works fine:
I cannot find a way to force Microsoft to send the type attribute and was
hoping that I could just force the SOAP::Lite server to always decode
signature as base64.
Thanks for your help,
Join the world�s largest e-mail service with MSN Hotmail.