cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Root element is missing

I started testing my integration for the Akamai stuff and can't seem to get anything to work. We have been integrated for years with no issue so I didn't expect there to be any real problems getting this to work...

 

Just to be sure I hadn't screwed up the XML I went to the API reference, clicked "Try It", copied the XML to my test app and sent it. Since I copied the XML directly from the the API reference I assume that the XML is valid. This leads me to believe that the post data is getting mangled somewhere between my computer and the server that is processing the request. Is there anyway kind of server side log to help me figure out what is going on?

Here is the XML I sent...minus my auth info.

<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
     <name>******</name>
     <transactionKey>*********</transactionKey>
    </merchantAuthentication>
   <profile>
     <merchantCustomerId>Merchant_Customer_ID</merchantCustomerId>
     <description>Profile description here</description>
     <email>customer-profile-email@here.com</email>
     <paymentProfiles>
       <customerType>individual</customerType>
          <payment>
             <creditCard>
                <cardNumber>4111111111111111</cardNumber>
                <expirationDate>2020-12</expirationDate>
              </creditCard>
           </payment>
      </paymentProfiles>
    </profile>
<validationMode>testMode</validationMode>
  </createCustomerProfileRequest>

 

Thanks,

 

Sean

rswsean
Member
Who Me Too'd this topic