I'd also like to be able to consume this 'ere webservice from a .Net environment, as it will be a public API.
I'd like to be able to return a simple xml document. But at present, the only way I can see how to do this is to return a stringified version of the XML document, which seems absurd.
I've failed in my quest to find examples returning XML to be consumed, yet I can find plenty of consumers (grr!)
Does anyone have, or know of, some good examples that would fall into this category?
Edit: added below: I've got:
Now; this returns a single XML element. Hopefully it's obvious from the foreach that I'm trying to create something of the form:$retval = SOAP::Data->name('events'); foreach my $thisevt (keys %evtdbase) { $retval->value( SOAP::Data->name('event')->value( SOAP::Data->type +(string => $evtdbase{$thisevt} ) ) ); }
But instead, I'm getting just:<events> <event xsi:type="xsd:string">foo</event> <event xsi:type="xsd:string">bar</event> : : </events>
<event xsi:type="xsd:string">foo</event>
--
RatArsed
In reply to Returning complex results from SOAP::Lite by RatArsed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |