I’m trying to make a request to a SOAP::Lite server and the vendor wants me to send a request where MessageSource comes before MessageContent, but when I pass my hash to SOAP::Lite it always makes it the other way around.
I’ve tried using Tie::IxHash to no avail.
I’m thinking about just hand-writing the XML with SOAP::Data->type('xml' => $xml_content), but it really feels like a workaround that will get really annoying to support.
I have personally found that I prefer to use
SOAP::Data::Builderfor building the SOAP::Data and then passing it to SOAP::Lite.this generates the following SOAP
Note: I realize that adding another dependency may not be in the cards… unfortunately I have never really figured out how else to get my data right.