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

Kit Peters Kit.Peters at broadbean.com
Thu Mar 24 16:00:35 GMT 2016


Fixed it. I was doing XML::LibXML::parse_balanced_chunk (this is a sketch) and it was generating a DocumentFragment, not an Element. Once I turned the DocumentFragment into an element, the problem went away.

KP

Kit Peters
Doer of Things, ATS Integrations
D: 8162000279   M: 8162000279







On 3/23/16, 18:06, "Kit Peters" <Kit.Peters at broadbean.com> wrote:

>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”. It isn’t, but that’s not important. What I’d like to know is how I can insert an arbitrary instance of XML::LibXML::Node in there to represent the “TalentUser” section.
>
>What I’m doing now is:
>
>$soap->call( ‘create’, parameters => { candidate => { ..., TalentUser => $talent_user_node } } );
>
>And that of course doesn’t work. :)
>
>WSDL is too big to attach or put on Pastebin; it’s available upon request.
>
>
>Kit Peters
>
>_______________________________________________
>Xml-compile mailing list
>Xml-compile at lists.scsys.co.uk
>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile


More information about the Xml-compile mailing list