oh, GAHHHHH, came across ANOTHER problem w the XML / SOAP thing turns out that the framework / gem I'm using doesn't handle duplicated elements (I knew that already - can't put them into a Ruby hash bc Ruby hashes don't support duplicate keys) but there's a SECOND manner >>>
-
Show this thread
-
2/ the, umm, let me call it "recognizer" that parses an incoming SOAP document to see what rails controller action should get it blows up if your spec says "X contains 1 Y" and the actual doc contains 2 doesn't set a flag blows up BEFORE your handlers are run
1 reply 0 retweets 3 likesShow this thread -
3/ ...and there's no way in the spec (which you write to help the recognizer do its job) to specify "multiples" SOOOO I think the solution is to remove the repeated element from the spec entirely HOWEVER that means that the recognizer, which ALSO parses the incoming SOAP
1 reply 0 retweets 2 likesShow this thread -
4/ and uses it to populate the Rails framework 'params' variable, won't populate those element(s) into params ...which means that in my code, if I want to inspect them, I need to rederive them by looking at request.raw_post FML
2 replies 0 retweets 2 likesShow this thread -
ⓘ Dogs don't have thumbs Retweeted
ⓘ Dogs don't have thumbs added,
This Tweet is unavailable.2 replies 0 retweets 7 likesShow this thread -
6/ and .... update spent another 2+ hrs on this horror because even after I gave up on the washout gem and started parsing the XML manually ... Nokogiri gem uses a different delimeter for namespaces than XML does "<soap-env:Header>" is parsed with "soap-env|Header"
1 reply 0 retweets 6 likesShow this thread
ⓘ Dogs don't have thumbs Retweeted Not Bill Clinton (I Feel/Your Pain)
7/ astronaut 1: wait, SOAP is a lie? astronaut 2, with gun: always has beenhttps://twitter.com/notPotus42/status/1308162874137874434 …
ⓘ Dogs don't have thumbs added,
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.