[Xml-compile] xsi:type in WSDL

Mark Overmeer mark at overmeer.net
Tue Jun 8 13:15:00 GMT 2010


* Knut Arne Bjørndal (knut.arne.bjorndal at easyconnect.no) [100608 12:49]:
> Their schema uses xsi:type in several places, one of them is in faults.

> This example dies with error: element
> `{https://adwords.google.com/api/adwords/cm/v201003}reason' not
> processed at
> {https://adwords.google.com/api/adwords/cm/v201003}ApiExceptionFault/errors

When you add
   $wsdl->prefix(api => 'https://adwords.google.com/api/adwords/cm/v201003');

it simplifies the table to
   xsi_type => { 'api:ApiError' =>
       [ 'api:OperationAccessDenied', 'api:AuthenticationError' ] }

Readilabity is a first step.

I'll try to have a look later today. Currently at the German
Perl Workshop.
-- 
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