I'm trying to create a Creative sending a binary data via soap and I received the next message:
<<
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Tue, 04 Apr 2017 17:22:27 GMT
Expires: Tue, 04 Apr 2017 17:22:27 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="37,36,35"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close
<soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Couldn't find MIME boundary: --==lwRlKdF0FBp31P94i6Fxwh4MP7Uv3PGM02YpOi1rPSsofc2GT88JIAWYuI9z==</faultstring></soap:Fault></soap:Body></soap:Envelope>
>>
The post I had sent is:
<<
POST /apis/ads/publisher/v201702/CreativeService HTTP/1.1
User-Agent: gSOAP/2.8
Content-Type: multipart/related; charset=utf-8; boundary="==lwRlKdF0FBp31P94i6Fxwh4MP7Uv3PGM02YpOi1rPSsofc2GT88JIAWYuI9z=="; type="application/xop+xml"; start="35K6XYCC"; start-info="text/xml"
Content-Length: 4661
Connection: close
Authorization: ---
SOAPAction: "createCreatives"
--==lwRlKdF0FBp31P94i6Fxwh4MP7Uv3PGM02YpOi1rPSsofc2GT88JIAWYuI9z==
Content-Type: application/xop+xml; charset=utf-8; type="text/xml"
Content-Transfer-Encoding: binary
Content-ID: 35K6XYCC
<?xml version="1.0" encoding="UTF-8"?>
--==lwRlKdF0FBp31P94i6Fxwh4MP7Uv3PGM02YpOi1rPSsofc2GT88JIAWYuI9z==
Content-Type: image/png
Content-Transfer-Encoding: binary
Content-ID: <id9>
[BINARY DATA]
>>
I have been looking to resolve this, but now I have no more ideas. Coluld anyone help me?
Thanks in advance.
Pedro