AdWords API Re: missing parameter description error
I changed the date format and added a few more params and it still
faults out.
<?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Header>
<email>xxxxxxxxxxxxxxxxxxx</email>
<clientEmail>xxxxxxxxxxxxxxxxxx<clientEmail>
<password>xxxxxxxxxxxx</password>
<useragent>xxxxxxxxxxxxxxxxx</useragent>
<token>xxxxxxxxxxxxxxxxxxxxx</token>
</soap:Header>
- <soap:Body>
- <m:addCampaign
xmlns:m="https://adwords.google.com/api/adwords/v2/CampaignService">
<dailyBudget>2000000</dailyBudget>
<name>1724</name>
<status>Active</status>
<endDate>2011-01-01T23:59:59</endDate>
</m:addCampaign>
</soap:Body>
</soap:Envelope>
returned XML:
<?xml version="1.0" ?>
- <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soapenv:Body>
- <soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXException: operation description is
missing parameter description!</faultstring>
- <detail>
<ns1:stackTrace
xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException:
operation description is missing parameter description! at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:202) at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1025)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1138)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:199)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:342) at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:146)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285) at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
com.google.gse.HttpConnection.runServlet(HttpConnection.java:433) at
com.google.gse.HttpConnection.run(HttpConnection.java:373) at
com.google.gse.DispatchQueue$WorkerThread.run(DispatchQueue.java:256)</ns1:stackTrace>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
0 Comments:
Yorum Gönder
<< Home