[Xml-compile] XML::Compile::WSDL11 troubles with MediaMind API

Mark Overmeer mark at overmeer.net
Thu Sep 10 12:36:06 GMT 2015


* Matthew Horsfall (alh) (wolfsage at gmail.com) [150910 12:27]:
> 
> Here's a sample response:
>   <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
>     <s:Body>
>       <GetAdvertisersResponse xmlns="http://api.eyeblaster.com/message">
>         <Advertisers
> xmlns:a="http://api.eyeblaster.com/V1/DataContracts"
> xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
>           <a:AdvertiserInfo>
>             <a:ID>134418</a:ID>

The Advertisers structure is well-defined 

> It looks like modifying the WSDL before loading to add the
> substituionGroups is the way to go, as horrible as that feels.

substitutionGroup's are on elements, but you showed a type.  xsi:types
are on elements which get a variant type.

> I'll see if I can get the vendor to update their WSDLs...

Try to get/find an example request message first.
-- 
greetz,
               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