[Xml-compile] my ($res, $trace) = $service->call('...') returning undef for $res
Matthew Horsfall (alh)
wolfsage at gmail.com
Thu Sep 17 14:11:40 GMT 2015
I have a case where an API call is succeeding, $trace->printResponse()
shows me what looks like a good response, but $res is undef and
there's no warnings/errors even with Log::Report mode => 'Debug'.
The WSDL in question:
https://platform.mediamind.com/Eyeblaster.MediaMind.API/CreativeAssetService.svc?wsdl
The request:
my ($res, $trace) = $service->call('CreateCreativeAsset',
UserSecurityToken => (masked),
AssetName => '2015091366_4566666312',
FileByteArray => $data, # Binary data from a file handle read
FileName => '2015091366_4566666612.swf',
FolderID => $folder_id, # An int
);
The output of $trace->printResponse(pretty_print => 1); is attached.
What might be going on here?
Thanks,
-- Matthew Horsfall (alh)nano
-------------- next part --------------
Connection: keep-alive
Date: Thu, 17 Sep 2015 14:03:34 GMT
Server: Microsoft-IIS/7.5
Content-Length: 1686
Content-Type: text/xml; charset=utf-8
Access-Control-Allow-Origin: *
Client-Date: Thu, 17 Sep 2015 14:03:34 GMT
Client-Peer: 23.33.88.123:443
Client-Response-Num: 2
Client-SSL-Cert-Issuer: (masked)
Client-SSL-Cert-Subject: (masked)
Client-SSL-Cipher: (masked)
Client-SSL-Socket-Class: IO::Socket::SSL
Client-SSL-Warning: Peer certificate not verified
P3P: CP= "NOI DEVa OUR BUS UNI"
X-Powered-By: ASP.NET
X-UA-Compatible: IE=EmulateIE8
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<CreateCreativeAssetResponse xmlns="http://api.eyeblaster.com/message">
<CreativeAsset xmlns:a="http://api.eyeblaster.com/V1/DataContracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="a:FlashAssetInfo">
<a:ID>136662856</a:ID>
<a:Archived>false</a:Archived>
<a:AssetFileURL>http://ds.serving-sys.com/BurstingRes//Site-107775/Type-2/e9ae55c1-9775-42ee-bc28-22e88fc48fe3.swf</a:AssetFileURL>
<a:AssetName>2015091366_4566666312</a:AssetName>
<a:AssetType>Flash</a:AssetType>
<a:CreativeTags>
<a:ID>0</a:ID>
<a:Tag1/>
<a:Tag2/>
<a:Tag3/>
<a:Tag4/>
<a:Tag5/>
</a:CreativeTags>
<a:FileByteArray i:nil="true"/>
<a:FileHeight>90</a:FileHeight>
<a:FileName>e9ae55c1-9775-42ee-bc28-22e88fc48fe3.swf</a:FileName>
<a:FileSize>28031</a:FileSize>
<a:FileWidth>728</a:FileWidth>
<a:FolderID>4012999</a:FolderID>
<a:Notes/>
<a:PreviewURL>http://platform.mediamind.com/Eyeblaster.Preview.Web/Default.aspx?previewParams=QmeAXQn4OTigf%2F7gTceCXsq9JmP%2FDnf05HVElKAXHz1MuO%2BYvmjmTrsJhGcMQvX7XeloZdmAaRw6DdctCiycdjnYO8WGwq9tMnYoBEK9sqtV3t3kCSOqEA%3D%3D&lang=en-US</a:PreviewURL>
<a:ThumbnailURL>https://secure-ds.serving-sys.com/BurstingRes/Site-0/Thumbnails/Asset.gif</a:ThumbnailURL>
<a:Version>8</a:Version>
<a:ActionScriptVersion>2</a:ActionScriptVersion>
<a:BackgroundColor>#ff00ff00</a:BackgroundColor>
<a:FrameCount>269</a:FrameCount>
<a:FrameRate>18</a:FrameRate>
<a:IncludeCreativeState>false</a:IncludeCreativeState>
<a:IncludeDataCapture>false</a:IncludeDataCapture>
<a:IncludePolling>false</a:IncludePolling>
<a:IncludeSmartVersioning>false</a:IncludeSmartVersioning>
</CreativeAsset>
</CreateCreativeAssetResponse>
</s:Body>
</s:Envelope>
More information about the Xml-compile
mailing list