Adwords MutateJobService stochastically returning soap fault XML_STREAM_EXC

32 views
Skip to first unread message

Erik Mellegård

unread,
Sep 1, 2014, 9:25:36 AM9/1/14
to adwor...@googlegroups.com
We just recently discovered that MutateJobService stochastically returns XML_STREAM_EXC when sending the exact same xml envelope.

The xml envelope we send looks like this, using the "get" method:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <p0:RequestHeader xmlns:p0="https://adwords.google.com/api/adwords/cm/v201402">
      <p0:clientCustomerId></p0:clientCustomerId>
      <p0:developerToken></p0:developerToken>
      <p0:userAgent></p0:userAgent>
    </p0:RequestHeader>
  </soap:Header>
  <soap:Body>
      <p0:selector xsi:type="p0:BulkMutateJobSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <p0:includeHistory>false</p0:includeHistory>
        <p0:includeStats>false</p0:includeStats>
        <p0:jobIds>-6078823978290103530</p0:jobIds>
      </p0:selector>
    </p0:get>
  </soap:Body>
</soap:Envelope>

With clientCustomerId, developerToken and userAgent appropriately set.

Most of the time, we get a correct response, saying that the bulk was completed:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <requestId>00050200966437580aec5c4792007d59</requestId>
      <serviceName>MutateJobService</serviceName>
      <methodName>get</methodName>
      <operations>0</operations>
      <responseTime>400</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
      <rval xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SimpleMutateJob">
        <Job.Type>SimpleMutateJob</Job.Type>
        <id>-6078823978290103530</id>
        <status>COMPLETED</status>
      </rval>
    </getResponse>
  </soap:Body>
</soap:Envelope>

But sometimes, maybe one out of ten requests, we get this response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Client</faultcode>
      <faultstring>XML_STREAM_EXC</faultstring>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

We get when we post this raw on a socket as well as using our client.

This example is using the "get" method and the MutateJobService, but we seem to be getting the same error for other methods and services as well.

We started seeing this error around 9 am UTC today and have never seen it before.

Erik Mellegård
Campanja AB

Josh Radcliff (AdWords API Team)

unread,
Sep 2, 2014, 11:42:26 AM9/2/14
to adwor...@googlegroups.com
Hi,

Please see our post regarding this issue.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages