Hi ! We managed to make it run using only cfhttp requests.
We noted that sending SOAPAction in the header is necessary and should not be left blank. I noted as I read before in the header useragent="Axis/1.1" which is in my opinion a good clue for where to find the origin of this issue I'm gonna go that way as I really need to go forward now, ut if anything new I would be really interrested ! Here is the unfinished code that worked out <cfscript> api = structnew(); api.developer_email = "DEVELOPER_EMAIL_GOOGLE_SENT_ME"; api.developer_password = "DEVELOPER_PASSWORD_GOOGLE_SENT_ME"; api.developer_url = "DEVELOPER_URL_GOOGLE_SENT_ME"; api.username = "[email protected]"; // Found that value on the web api.user_id = "ca-pub-1744271982572164"; // Found that value on the web api.campaignService = "https://sandbox.google.com/api/adsense/v3/AccountService"; </cfscript> <cfsavecontent variable="soapBody"> <cfoutput> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Header> <developer_email xsi:type="xsd:string" SOAP-ENC:root="1">#api.developer_email#</developer_email> <display_locale xsi:type="xsd:string" SOAP-ENC:root="1">fr</display_locale> <developer_password xsi:type="xsd:string" SOAP-ENC:root="1">#api.developer_password#</developer_password> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:associateAccount xmlns:ns1="http://www.google.com/api/adsense/v3" SOAP-ENC:root="1"> <loginEmail>#api.username#</loginEmail> <postalCode></postalCode> <phone xsi:nil="1"/></phone> <developerUrl>#api.developer_url#</developerUrl> </ns1:associateAccount> </SOAP-ENV:Body> </SOAP-ENV:Envelope> </cfoutput> </cfsavecontent> <cfhttp url="https://sandbox.google.com/api/adsense/v3/AccountService?wsdl" method="post" result="httpResponse" resolveurl="NO" useragent="Axis/1.1" > <cfhttpparam type="header" name="SOAPAction" value="https://sandbox.google.com/api/adsense/v3/AccountService" /> <cfhttpparam type="header" name="accept-encoding" value="no-compression" /> <cfhttpparam type="XML" name="body" value="#trim(soapBody)#" /> </cfhttp> <cfdump var="#XMLParse(httpResponse.fileContent)#"> -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon official manual: http://www.openbluedragon.org/manual/ Ready2Run CFML http://www.openbluedragon.org/openbdjam/ mailing list - http://groups.google.com/group/openbd?hl=en
