[Xml-compile] Proper way to insert arbitrary XML Node in SOAP call

Mark Overmeer mark at overmeer.net
Wed Mar 23 23:12:56 GMT 2016


Hi Kit,

* Kit Peters (Kit.Peters at broadbean.com) [160323 23:06]:
> I’m using XML::Compile::WSDL11 and a method I’m calling has a
> section of the parameter XML document (“TalentUser”) that is described
> by XML::Schema::WSDL11::explain as “probably a recursive complex”.

Maybe because it encountered that name before.

> $soap->call( ‘create’, parameters => { candidate => { ..., TalentUser => $talent_user_node } } );
> 
> And that of course doesn’t work. :)

That should work in most cases, but not for any Node, only for an
XML::LibXML::Element.

> WSDL is too big to attach or put on Pastebin; it’s available upon request.

Just send it, if above suggestion does not work.
-- 
Regards,
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list