Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-19 Thread Mark Overmeer
* Kit Peters (kit.pet...@broadbean.com) [161018 17:27]: > That generated what appears to be good MTOM. Thanks! Ah, glad it worked! > Now, the next question: is that going to be changed in the > XML::Compile::SOAP distro, or do I need to do some sort of jiggery pokery > on my end? It will be incl

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-18 Thread Kit Peters
I’m sorry – I read your response again and changed ‘type’ to ‘extends’ in the return hash in XML::Compile::SOAP (in _writer_xop_hook, for those of you playing along at home). That generated what appears to be good MTOM. Thanks! Now, the next question: is that going to be changed in the XML::Comp

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-18 Thread Christopher Taranto
ur @request_params look like there? Because I’m not seeing > anywhere that your request is being formatted as XOP/MTOM. > > > > KP > > > > -- > > Kit Peters > Doer of Things, ATS Integrations > D: +1 949 793 8208 M: +1 816 200 0279 > > > >

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-18 Thread Kit Peters
mpile@lists.scsys.co.uk" Subject: Re: [Xml-compile] XOP with XML::Compile::WSDL11 Hi Kit, You do not need to do any formatting - just add the data to the data structure.  XML::Compile will take care of the Base64 encoding. I created the data structure using explain method from the XML::Compi

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-18 Thread Kit Peters
Changing “type => ‘text/xml’” to “extends => ‘text/xml’” in my code did not change things. Or did you mean for me to change it somewhere else? Definition of nsm:StreamBody from https://msdn.microsoft.com/en-us/library/dd960971(v=office.12).aspx (note that the WSDL defines the “nsm” namespace t

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-18 Thread Kit Peters
Peters Cc: Mark Overmeer , "xml-compile@lists.scsys.co.uk" Subject: Re: [Xml-compile] XOP with XML::Compile::WSDL11 Hi Kip, @Hi Mark! I've been using XOP for a few years in Production with XML::Compile in two different scripts. It's been a while since I had to put this

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-18 Thread Mark Overmeer
Hi Kit, (Of course) I rarely look at the XOP code. * Kit Peters (kit.pet...@broadbean.com) [161017 23:27]: > > > > name="Document" nillable="true" type="nsm:StreamBody" > nsxmlmime:expectedContentTypes="application/octe

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-17 Thread Christopher Taranto
Hi Kip, @Hi Mark! I've been using XOP for a few years in Production with XML::Compile in two different scripts. It's been a while since I had to put this together so I don't remember the particulars. The below code is not the working code - as it is separated behind objects etc - but I think I

Re: [Xml-compile] XOP with XML::Compile::WSDL11

2016-10-17 Thread Kit Peters
I tried that, like so (not actual code): # $xml_content is …… my $xop = XML::Compile::XOP->new; my $content = $xop->bytes( $xml_content, type => ‘text/xml’ ); # Call to submitLargeDocument has been compiled already $wsdl->call( ‘submitLargeDocument’, parameters => { Document => $content } ); And